分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
, D1 e9 r" [" c: k& {5 f$ T( w% q5 E& t/ `1 R( b4 L9 `
  1. [PHP]
    , z  I) f' O4 ?! F

  2. $ q1 x* s. P8 x$ e1 f
  3. ;;;;;;;;;;;;;;;;;;;
    / U6 i9 K5 L" X' z
  4. ; About php.ini   ;, ?, Q7 V6 J+ P- r+ ~" l
  5. ;;;;;;;;;;;;;;;;;;;0 ]. j7 j" N% m, _
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; l/ Z3 A" w* W3 X
  7. ; configuring many of the aspects of PHP's behavior.
    # y  I9 X/ e% @8 b1 F
  8. / K. \+ r  j, j/ ^9 r5 ^
  9. ; PHP attempts to find and load this configuration from a number of locations.2 I; v% g7 T: z. d
  10. ; The following is a summary of its search order:) l+ G" t! Z  r6 I/ H
  11. ; 1. SAPI module specific location.0 N1 L# U, b& n3 w, M- K' U
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    6 s2 L7 f* [0 `6 y9 y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)6 H# g: h8 Q% n5 U+ r, ^, G
  14. ; 4. Current working directory (except CLI)+ z* s( t* x7 f+ f
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 i. `9 j8 W$ p1 g9 {
  16. ; (otherwise in Windows)
    1 \8 G7 E# g: O& v$ [8 Q# S% t# S
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # H& v2 A- {" F( d
  18. ; Windows directory (C:\windows or C:\winnt)$ h" H. y. b( L/ O3 C( P
  19. ; See the PHP docs for more specific information.
    " u' O% N  P- [9 E7 r! y7 a; G6 u
  20. ; http://php.net/configuration.file9 h& }) z' U9 K, }5 o8 b" C, h
  21. ( N9 D! B: J9 _; h
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 Z$ f6 p6 y/ l" w0 D+ ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " x( w* c" `; @+ W1 n- O7 @
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 J  U9 L. B3 U
  25. ; they might mean something in the future.
    * q: s; U9 m3 L$ d, Y

  26. - q* n8 A* S$ L& J, m+ F
  27. ; Directives following the section heading [PATH=/www/mysite] only. j# `9 O0 g0 @# a7 J
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # i1 |( O' c" p* A5 a0 {4 y
  29. ; following the section heading [HOST=www.example.com] only apply to
    . g9 C- y2 x$ L& R6 W7 M, f
  30. ; PHP files served from www.example.com.  Directives set in these
    7 h5 a) G; ]6 L  i! b$ ^
  31. ; special sections cannot be overridden by user-defined INI files or
    3 }+ }; N6 E- |2 n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under5 T- Q& T) M# O% E: @; Q
  33. ; CGI/FastCGI.. N& T5 ]# D! H! g6 e
  34. ; http://php.net/ini.sections6 ]" x" @% H) m/ T* N. F7 c

  35. " x) @9 {5 B6 Y
  36. ; Directives are specified using the following syntax:
    % h0 d6 ]2 I' D
  37. ; directive = value
    7 d; e% n1 Q+ l' K% O1 G
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    2 L5 l* G3 H+ s
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # x% M+ W9 F8 F1 A- T; ^( |
  40. ; There is no name validation.  If PHP can't find an expected4 F7 F( D( W$ a* a: y+ Y
  41. ; directive because it is not set or is mistyped, a default value will be used." J; E7 }& S# O/ a* s
  42. / E- l, v6 j7 ]
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    . q; X0 j# J- Y7 c  C7 g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    $ n$ {# L7 C6 f: i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 r. Y" @& r9 p! R" U1 Q' b
  46. ; previously set variable or directive (e.g. ${foo})- F3 B! B4 t$ i/ o8 `
  47. 1 g/ S, s" I. v7 [; M6 ?) s1 {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 E4 {: z0 x% Z, Y& |" B/ ^
  49. ; |  bitwise OR. ^6 n7 w- a5 }! b5 s3 W5 }# d
  50. ; ^  bitwise XOR- o3 O* M8 o6 U8 m1 V. G* M8 N, d
  51. ; &  bitwise AND& L, x) T9 H. e! h4 ]
  52. ; ~  bitwise NOT- u. Y% U5 i* G% m- ~. {2 L) G. E
  53. ; !  boolean NOT9 V0 G3 U7 z: l. W7 Q3 f

  54. ( h4 @0 \! f9 E9 w" j( i; w% q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    $ w6 ^* U, n6 H& t
  56. ; They can be turned off using the values 0, Off, False or No.
    ' \7 d) p9 D4 r0 ]# B$ X" i4 Z
  57. ; O. s. D4 d0 A6 D2 R
  58. ; An empty string can be denoted by simply not writing anything after the equal/ k' u7 h# J$ t; W* r
  59. ; sign, or by using the None keyword:
    2 q: H+ R3 L3 k  Y

  60. $ y" C. f+ b1 p% L: A% f- Z( E
  61. ;  foo =         ; sets foo to an empty string7 ?) y1 U- r/ w4 ^
  62. ;  foo = None    ; sets foo to an empty string, o! y" ]5 V' ^0 Y6 B+ f+ \. y
  63. ;  foo = "None"  ; sets foo to the string 'None'
    : m- Z5 Y* M0 D( }) r8 L/ r- k- y

  64. - C( E8 }8 }5 |5 U2 [8 S/ f
  65. ; If you use constants in your value, and these constants belong to a! w+ R) u7 r7 R* N7 \. e$ i3 F% g
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 N+ b. F$ ]- d0 \# N
  67. ; you may only use these constants *after* the line that loads the extension.2 I) l: x/ D: H) A  s" j  D
  68. 0 C" |% X* r& G* n
  69. ;;;;;;;;;;;;;;;;;;;
    5 B0 [! r% F$ S# F4 t, Y" d
  70. ; About this file ;
    + T' P  G4 `3 L! s8 u
  71. ;;;;;;;;;;;;;;;;;;;
    ! g5 S1 A9 ~# m7 ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 H. T! [/ b: s: F8 O
  73. ; in production environments and one that is recommended to be used in! l  y* _, F3 n) s
  74. ; development environments.
    , Y8 B6 v+ b" T$ S9 w" R' z
  75. 6 u. ~% }. U' z/ M% S, O5 L
  76. ; php.ini-production contains settings which hold security, performance and
    7 `8 P, p0 f- E4 e3 T0 O/ Y
  77. ; best practices at its core. But please be aware, these settings may break. g9 r) L. l* S
  78. ; compatibility with older or less security conscience applications. We
    ) ]& F( Z  h" ?
  79. ; recommending using the production ini in production and testing environments.+ E, w( u, f6 K' ]

  80. ( M7 b! B% _8 q5 P. c& l. ~" ^
  81. ; php.ini-development is very similar to its production variant, except it is
    ' E& `+ u; C# \
  82. ; much more verbose when it comes to errors. We recommend using the7 s# h. |9 N: i7 z
  83. ; development version only in development environments, as errors shown to% s, ~& ^5 K8 g( T. @+ ^
  84. ; application users can inadvertently leak otherwise secure information.5 ?3 K6 r8 x, c; C6 {2 }
  85. ; D  e+ i4 K, h4 K
  86. ; This is php.ini-production INI file.
    # K* H2 `. b0 ^3 H) q/ N+ G

  87. . z+ l+ L. C: M- V# ~
  88. ;;;;;;;;;;;;;;;;;;;4 B; {% @$ _$ r
  89. ; Quick Reference ;5 B8 t& D/ w% \/ {' S) X
  90. ;;;;;;;;;;;;;;;;;;;
    2 Z+ j- {( _4 [9 B3 P* U0 b) v
  91. ; The following are all the settings which are different in either the production
    4 j/ F0 j. ?! ~& q3 ^+ r: ?
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / J  n  S7 J! ^7 ]4 `' Z7 ~
  93. ; Please see the actual settings later in the document for more details as to why6 q5 T* U) B$ s3 U2 S  W1 O
  94. ; we recommend these changes in PHP's behavior.
    " E' l3 h$ ]0 I& o" R1 a- q

  95. + ?7 b) g! O1 S
  96. ; display_errors
    0 q5 R1 s. P) |' F' [' v7 _
  97. ;   Default Value: On
    / R$ ~* I+ U* r7 j) T$ a
  98. ;   Development Value: On2 R& d, Y, B1 v! f7 ]- M5 _5 R, z
  99. ;   Production Value: Off+ _  F6 Q0 w! p# e. Q) |
  100. 8 O; r1 w) s# Y8 r
  101. ; display_startup_errors
    " V+ ?8 z3 v0 k/ _
  102. ;   Default Value: Off
    / |. k( V: b' Y8 ?2 n# N+ R
  103. ;   Development Value: On, ?% C; v1 ?# A8 H2 n$ ]" q! \- t
  104. ;   Production Value: Off6 v# k% t  ]$ ?6 O1 g. `! @

  105.   g2 }" Z. s/ C2 u$ ?
  106. ; error_reporting
    4 C& D2 \1 y8 w
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / i! ^3 A+ x! o: j+ c* m! Y5 r' F
  108. ;   Development Value: E_ALL6 p3 w2 ?; n7 N% ]- {# p2 I1 }
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% B0 S, u1 i9 D; N% q" y! {

  110. 3 d: B) [2 [6 Z& ~, l9 m* T
  111. ; html_errors+ ]+ X. s! Y: q9 U8 ^
  112. ;   Default Value: On
    0 ?. k3 e" A! w: Q" R+ L# X8 ?
  113. ;   Development Value: On
    8 H$ R6 x) D. g( K1 M. b; W  n
  114. ;   Production value: On
    ( T5 @/ g/ D: r9 c/ B' w9 ^, Z7 a; @
  115. / m& y3 \' a/ j- P$ a  G4 s
  116. ; log_errors
    8 \0 @# i: r8 @
  117. ;   Default Value: Off
    ) T6 v* |" u: F5 Q3 c2 w
  118. ;   Development Value: On
    * b( f" [" G9 k# d' b, K
  119. ;   Production Value: On6 r8 D5 u+ Z' E& e8 [) w
  120. 2 S: _" l# K4 s% m1 [" n: J. Z
  121. ; max_input_time- L5 n8 {. {3 R: z
  122. ;   Default Value: -1 (Unlimited)7 V1 D4 E  `. |- d+ V
  123. ;   Development Value: 60 (60 seconds)2 Z: z' [: g$ r2 Z0 |. I
  124. ;   Production Value: 60 (60 seconds)
    % c7 E) _' X# \" i( M

  125. & N* s% B0 S# ]7 e1 {8 n' o; c7 k) k
  126. ; output_buffering5 Y* _) g+ ~! `
  127. ;   Default Value: Off3 k: v% K( q& L
  128. ;   Development Value: 4096( y4 R5 \, _1 E, ?7 G. B
  129. ;   Production Value: 4096
    ! F0 E: S. p/ {/ |! l9 ~9 }

  130. - x8 {7 v% H( ~$ j
  131. ; register_argc_argv2 T$ ^* K8 D/ _! S
  132. ;   Default Value: On
    1 e8 E# q5 H0 `- K9 D
  133. ;   Development Value: Off0 _3 @; T4 ^9 b& c
  134. ;   Production Value: Off0 _" d* d1 s+ D5 D* ]3 H: U3 p# }  r

  135. : z* H5 y! H' o- j7 i% N/ t4 V- u
  136. ; request_order6 ]: J2 F0 S( [6 H+ d* H, b" L* K  p
  137. ;   Default Value: None
    % L8 `# O( I4 r# |6 w
  138. ;   Development Value: "GP"% e; u( D: B' ^+ Q
  139. ;   Production Value: "GP"$ b" t& L3 h, i, V
  140. 6 P1 }( W  d2 |
  141. ; session.gc_divisor
    : S; s; W7 d6 s) N
  142. ;   Default Value: 100" f: Y" M8 U& t  G
  143. ;   Development Value: 1000
    & G* t; I, j9 q5 ?9 o
  144. ;   Production Value: 10005 Q5 K' o1 t. \1 Q% D' M) C0 J

  145. ) ~  r, p0 x8 l7 U
  146. ; session.hash_bits_per_character
    ; L, a7 q# V. a
  147. ;   Default Value: 4
    ' t+ G* w% E8 B6 y/ b# H
  148. ;   Development Value: 53 P7 v. u7 R3 d
  149. ;   Production Value: 5: F# i' b$ g6 G4 o+ f
  150. 8 i2 b% [7 W" e2 f% K. Z
  151. ; short_open_tag
    ; u: k3 |) ?+ ?" |3 P6 `/ ?
  152. ;   Default Value: On8 `: C4 E( k  d$ P
  153. ;   Development Value: Off( q) }! V' R" L' u; S0 L9 t1 X
  154. ;   Production Value: Off2 @3 n( V# n; B% K7 ^" D7 [& B
  155. + Z2 }  ?; j# P* x" n/ w
  156. ; track_errors; ^. P: `0 H  N& ]
  157. ;   Default Value: Off
    $ ^- E* P5 E+ H8 B9 W7 ~2 @
  158. ;   Development Value: On; a* L2 v1 J7 m! m
  159. ;   Production Value: Off% P9 ]( l' W; M- h5 y, `! e" Y4 M
  160. ! r  \* `% ?6 h( V) \( {* R
  161. ; url_rewriter.tags) _* _; B' t4 A' [3 D8 y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="' q, O- ]$ k3 f( e8 {- ^7 \0 s7 B
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 R4 @: L! \5 X# r+ ^6 W3 F
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : Y6 \. n# r8 z# n& H# {
  165. - z+ y( ]% d: ]' ^: G4 }
  166. ; variables_order) @& M1 I5 f1 c# T8 J
  167. ;   Default Value: "EGPCS"
    1 e3 a5 O. t: q7 r
  168. ;   Development Value: "GPCS"0 z/ q( w) M$ N6 q, G/ f  d4 r! |
  169. ;   Production Value: "GPCS"" O, x2 {  ]% r' d
  170. ; I* B/ B8 I7 G+ V. o9 ^
  171. ;;;;;;;;;;;;;;;;;;;;
    9 Z+ D& {, \9 w, ]: J, w) B
  172. ; php.ini Options  ;
    ( o" E( F! E5 D8 a! Y
  173. ;;;;;;;;;;;;;;;;;;;;
    ( \0 v- c5 T& V, t7 J; L1 j8 X
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - r7 }" y* _/ A$ e+ T
  175. ;user_ini.filename = ".user.ini") o! l' c0 |0 G% o0 j; S

  176. * \" T. L9 X0 D9 u
  177. ; To disable this feature set this option to empty value
    ! i* u" g4 M+ L6 P
  178. ;user_ini.filename =
    ; T1 ~7 X; e% e4 d7 Q' @2 x& C- A, S

  179. # L  e. S% s, a( ]7 K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes): n! }9 E* E# o
  181. ;user_ini.cache_ttl = 300
    : e2 K) \# N, E" u/ A

  182. 2 B! _! \: x& j, ?& u9 q
  183. ;;;;;;;;;;;;;;;;;;;;
    ; ^. s/ Y+ o) c; w. x/ @
  184. ; Language Options ;
    . d( u2 H8 H4 [% o' W) z. O/ h6 C
  185. ;;;;;;;;;;;;;;;;;;;;
    3 e. f  D$ b7 y$ q# A, p

  186. , C' r3 {6 Z! E7 ^
  187. ; Enable the PHP scripting language engine under Apache.
    8 ]! E6 B( e2 i' U, G  ^' g1 K
  188. ; http://php.net/engine
    - L( f7 i6 ?9 ?0 Y
  189. engine = On! o! q- q+ }: e) K& `
  190. + Q4 ^  O: G6 B  T/ B
  191. ; This directive determines whether or not PHP will recognize code between3 y/ [5 b3 u' G' G
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 T7 Q1 C6 k& ?. P; E
  193. ; generally recommended that <?php and ?> should be used and that this feature1 V$ g& t; S9 S% }3 M6 N" U7 h
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # u2 T- d- G5 n
  195. ; documents, however this remains supported for backward compatibility reasons.: ^1 G2 A+ S1 l, ^4 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be; P- X9 t# `" v7 c# v- `; ^: Q
  197. ; used regardless of this directive.! }) b; `' ]% L2 e" p
  198. ; Default Value: On
    . ~, B2 B8 m# V/ N) [# \9 M' W
  199. ; Development Value: Off7 Y' `0 Z6 X: [; K! Q- a
  200. ; Production Value: Off% v% }7 e' a# C- z" `
  201. ; http://php.net/short-open-tag  W" o: K: e7 o; E2 Y$ ]& d
  202. short_open_tag = On+ ?4 p3 g- U- V' J7 ]7 x
  203. . }* l+ O) O* ^
  204. ; The number of significant digits displayed in floating point numbers.# S: c5 k* U& M* f4 N
  205. ; http://php.net/precision
    ! Y' ~/ N4 W% L4 @/ y) N" ?# v: k* w
  206. precision = 14% z3 @. B: p% ^3 t1 j( _+ d( S
  207. + ?7 Q; A1 O$ y* k; M
  208. ; Output buffering is a mechanism for controlling how much output data
    9 T8 Y8 z4 i; Y7 m
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 Y0 g3 M8 [' d4 @$ Y+ e2 M' w
  210. ; data to the client. If your application's output exceeds this setting, PHP. e2 \7 Q3 s6 C1 q6 ]7 ?
  211. ; will send that data in chunks of roughly the size you specify.* S* a0 P: {1 q3 ]8 O/ N
  212. ; Turning on this setting and managing its maximum buffer size can yield some6 J7 X( U; ?) Z- ^7 X
  213. ; interesting side-effects depending on your application and web server.8 i( w( c! M/ E0 D/ s- h0 K
  214. ; You may be able to send headers and cookies after you've already sent output
    5 M) D' y& R8 C( P7 _0 }
  215. ; through print or echo. You also may see performance benefits if your server is
    . I8 h: t& f& x, q9 ^* n! D! r+ h: J
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ; |; r3 p/ v: c  P
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- c  ?9 k9 j. O1 K7 s* C+ b5 n
  218. ; reasons.
    6 c  ?9 |+ t5 e% b9 D
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    6 ]7 b: I  d6 k+ \7 V( r" L
  220. ;   functions.
    / o" c8 C  O9 r& H1 d! z  C2 e. y
  221. ; Possible Values:' i/ l& S; z6 {
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    0 e  H/ j4 O$ A7 v
  223. ;   Off = Disabled: F- V6 [( ?1 d$ p2 `/ R) w+ q
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.$ K/ g' G) i2 \1 ]
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & T7 F# c3 q& m) ]* h9 ~8 d5 A
  226. ; Default Value: Off
    . C2 ~" E* j) D# {. h
  227. ; Development Value: 4096
    ) V% V/ n$ n0 N. O( O% t5 Z
  228. ; Production Value: 4096" }) N0 W. M0 s) d
  229. ; http://php.net/output-buffering
    " B* V  T3 @6 A0 D, v- i
  230. output_buffering = 4096  u7 e. n5 t: A. V2 K: u
  231. ; l' w( y' o! E: ?
  232. ; You can redirect all of the output of your scripts to a function.  For
    2 `% o  a: |0 x% B: w4 q2 m
  233. ; example, if you set output_handler to "mb_output_handler", character
    2 q' A6 R! {4 m& _# F
  234. ; encoding will be transparently converted to the specified encoding.  u# }5 _' a) l, A4 K/ w
  235. ; Setting any output handler automatically turns on output buffering.
    - y( O( ]4 v& |
  236. ; Note: People who wrote portable scripts should not depend on this ini  }" e, K! z' d" Q* b3 u$ u
  237. ;   directive. Instead, explicitly set the output handler using ob_start().  W0 ^, V5 A, s5 X; v
  238. ;   Using this ini directive may cause problems unless you know what script
    . [) ]# `3 e4 F" _' Z; {
  239. ;   is doing.
    # w& H/ C1 g5 T6 k. @* O' U8 H0 n
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"1 D+ o$ F# P- r  E9 `7 R
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' ~& q  P! n  N9 g1 |& b" F% V6 `+ ]
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) ~7 k, n! d* s9 P6 g* o
  243. ;   Instead you must use zlib.output_handler.  q8 F8 y- {% s+ y4 x
  244. ; http://php.net/output-handler
    : p5 R, g, e0 ~$ W0 S
  245. ;output_handler =4 J1 m$ |' y2 Z+ ?1 z8 v: w

  246. 9 ^( p; |5 K/ j% \# I8 d  r7 a
  247. ; Transparent output compression using the zlib library
    * u& o! B- v1 X* H
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size$ H- @$ r! k6 {) B3 h. w) K" ^5 H
  249. ; to be used for compression (default is 4KB), |5 e! l, i( \( Q/ u
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    4 q% T# Y" j6 Y9 v
  251. ;   outputs chunks that are few hundreds bytes each as a result of7 U' x6 o4 w$ i( B1 ]/ w4 z
  252. ;   compression. If you prefer a larger chunk size for better
    4 E7 v% R+ L; |1 Q5 j# B- _
  253. ;   performance, enable output_buffering in addition.
    5 x+ G$ h$ U  m4 h/ s" Z6 f, v
  254. ; Note: You need to use zlib.output_handler instead of the standard
    $ a9 x7 v' _, h$ e8 V
  255. ;   output_handler, or otherwise the output will be corrupted.& I0 V: c+ F1 h- y5 Y+ y
  256. ; http://php.net/zlib.output-compression
    ) }, `+ U; e  b0 v# p# U
  257. zlib.output_compression = Off
    # q- m* U* {9 J2 Y0 _
  258. " H" j" u8 Q: a7 C! u0 Y9 t. h; J* \
  259. ; http://php.net/zlib.output-compression-level
    5 _7 n1 W% U/ M1 S5 o& Q4 }
  260. ;zlib.output_compression_level = -1
    1 l# h! x+ N7 p: f2 g- D
  261. 2 ~) l3 I9 c+ c4 S
  262. ; You cannot specify additional output handlers if zlib.output_compression
    / z$ @  @, A7 p  |7 S
  263. ; is activated here. This setting does the same as output_handler but in
    ' X! J: i  W8 B6 K
  264. ; a different order.
    ' I9 k' @* t; W* N+ O4 u
  265. ; http://php.net/zlib.output-handler
    / s) Q( ^1 g$ y$ j' ]- _
  266. ;zlib.output_handler =6 Q, o% T& T1 G9 g  A
  267. 8 l! U0 v$ z3 T: Z5 m$ V
  268. ; Implicit flush tells PHP to tell the output layer to flush itself2 U8 s3 S: _7 v) [# @) i9 z
  269. ; automatically after every output block.  This is equivalent to calling the7 R( i; G( Z/ c; ~) V
  270. ; PHP function flush() after each and every call to print() or echo() and each8 Z9 Y! }0 ?2 Q, B
  271. ; and every HTML block.  Turning this option on has serious performance" Y8 {, B5 i, j3 c/ @1 D; v
  272. ; implications and is generally recommended for debugging purposes only.
    2 F/ |6 v/ W: x2 S& R
  273. ; http://php.net/implicit-flush
    ; W9 I( U$ Z. M) a" O5 r! g% O
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    8 I* P5 R' m: Y, w  U. g- G/ a7 P
  275. implicit_flush = Off
    8 g/ w) E0 U2 ?# C8 u

  276. . b% m/ z. w- D# U6 y
  277. ; The unserialize callback function will be called (with the undefined class'0 F. I' B9 T* Q  f
  278. ; name as parameter), if the unserializer finds an undefined class
    : m  X& _6 T4 n5 @) w# @# c, {
  279. ; which should be instantiated. A warning appears if the specified function is# G' ]- o; |9 c9 l, _
  280. ; not defined, or if the function doesn't include/implement the missing class.
    : H* c4 S* w4 P) {3 x
  281. ; So only set this entry, if you really want to implement such a1 z  i0 D* G5 i6 R; U. F
  282. ; callback-function.' {4 G8 O1 p+ V
  283. unserialize_callback_func =# q3 [; Q( f% {/ X* Y5 y$ H

  284. 5 u+ R3 {# |" Z, w5 d
  285. ; When floats & doubles are serialized store serialize_precision significant$ |9 P+ Y: h3 G1 `% P8 \
  286. ; digits after the floating point. The default value ensures that when floats
    0 L( T) U1 v+ L/ }* k1 S2 u9 F
  287. ; are decoded with unserialize, the data will remain the same.8 X) k; B0 P! T4 k
  288. serialize_precision = 17
    + y9 D3 f: ^# l6 E) i

  289. + j0 p. K2 C" w: o
  290. ; open_basedir, if set, limits all file operations to the defined directory
    - L4 v% t' P- D$ P
  291. ; and below.  This directive makes most sense if used in a per-directory
    ' x' o# v/ }4 t2 g
  292. ; or per-virtualhost web server configuration file.* Q# S+ o6 R2 G$ E5 K; b
  293. ; http://php.net/open-basedir
    7 i2 i. k" ~4 p
  294. ;open_basedir =
    # n0 E$ I, r0 W. R) \, O

  295. ( [% {. W+ `2 y6 D+ k$ I
  296. ; This directive allows you to disable certain functions for security reasons.  i* L6 o6 C! _6 _4 _
  297. ; It receives a comma-delimited list of function names.
    + c: E$ C0 `" T" u% N6 v( j
  298. ; http://php.net/disable-functions" @" ~! O. k& e0 P& \: r/ \
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' ^  b* n$ z) J9 |; J" x) l+ _* N
  300. " m: O! v$ g8 R
  301. ; This directive allows you to disable certain classes for security reasons.
    . c; M) R* N5 B
  302. ; It receives a comma-delimited list of class names.) w3 M6 o9 j$ V6 M# p
  303. ; http://php.net/disable-classes* |1 K4 K' }. C+ R! x# [
  304. disable_classes =
    4 ?! Z6 l4 P# \( K, o7 g3 L$ p
  305. + f; W4 l: J& d1 ^3 r# Z
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in# K7 w: `( `! ]; @( R
  307. ; <span style="color: ???????"> would work.
    9 B1 ?7 Q7 P0 g6 v6 S: i3 `. k
  308. ; http://php.net/syntax-highlighting
    + G# N2 {6 b$ V4 ?0 t' O7 \3 }% E
  309. ;highlight.string  = #DD0000; A/ L. z% n- ]& F3 ]
  310. ;highlight.comment = #FF9900( |: |) C2 d6 D. W, H
  311. ;highlight.keyword = #007700
    $ n+ t: f: h# n/ ]# y
  312. ;highlight.default = #0000BB
    ; L! G" `6 ^9 h9 S
  313. ;highlight.html    = #000000
    : g8 q6 p1 N: }, c3 T, @: t4 g8 c
  314. + d  M; j# D) H7 X6 U- H: T
  315. ; If enabled, the request will be allowed to complete even if the user aborts5 q5 @& N$ z  z, q9 o9 @
  316. ; the request. Consider enabling it if executing long requests, which may end up9 U+ l& w/ l" S
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior+ I0 A) k7 o( \
  318. ; is to disable this feature.
    ; H" }" }0 f/ n
  319. ; http://php.net/ignore-user-abort
    + ?$ f5 X$ s9 H' Z7 X, Y' T7 `. s5 m
  320. ;ignore_user_abort = On# q" x( p/ l$ M; w1 e4 V

  321. ! n  n) d) q; E  }- n0 ]$ O
  322. ; Determines the size of the realpath cache to be used by PHP. This value should3 U: Z6 X2 w4 D* Z
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; L2 {% L# O: |5 m/ V9 z
  324. ; the file operations performed.
    $ e  t3 N- F; |( T( }
  325. ; http://php.net/realpath-cache-size
    ' ~1 G! c3 v1 u. u4 _2 K# n  o
  326. ;realpath_cache_size = 4096k
    : ?) @, P. L" }
  327. 7 k9 ?9 h1 e* C' T
  328. ; Duration of time, in seconds for which to cache realpath information for a given7 t7 j) H, x. F- L  z: o, J
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    9 D2 C! M. P: V8 f2 y- x, N# H
  330. ; value.# w- b4 ]- E3 v7 s8 P+ D
  331. ; http://php.net/realpath-cache-ttl
    ( U+ Q6 f3 `, E) e( L
  332. ;realpath_cache_ttl = 120/ W. ], M4 e, C$ p, ?
  333. % e  f$ K( r, k; ]# T; R* Z
  334. ; Enables or disables the circular reference collector.- r7 F& W# G3 a+ V& E
  335. ; http://php.net/zend.enable-gc1 V  C! }% y0 L! D
  336. zend.enable_gc = On$ h( P$ ?3 ^0 V* p* V! P1 V  e: X+ B

  337. # H0 l3 B8 O7 p/ G
  338. ; If enabled, scripts may be written in encodings that are incompatible with/ z# C, L# q# `, j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& Q' n" w. E3 M' r. Y
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    " U2 `% _/ I: F$ ]
  341. ; Default: Off
    . o) y$ |/ A0 v! Q5 B: O
  342. ;zend.multibyte = Off
    : D2 A) ?- v+ T. @; c0 D- f

  343. 0 v- f4 c; N) D' Q( I
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    $ b2 v* E2 ~- M* u) ^4 \
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.; A- g" i7 d6 b2 a
  346. ; Only affects if zend.multibyte is set.
    ; h7 L) ?0 i' p3 X
  347. ; Default: ""
    0 T8 m- r* U8 H2 G; o/ S* d
  348. ;zend.script_encoding =
    / q; D8 q; U  P$ D: \# k( r% ^

  349. + ^5 ?' U: V1 Q# V7 j( r9 K
  350. ;;;;;;;;;;;;;;;;;
    . T: I9 b- y/ I/ f9 {) w/ |
  351. ; Miscellaneous ;
    ) o2 u, ?2 |# J2 Q4 }$ g+ i. E
  352. ;;;;;;;;;;;;;;;;;
    , K1 G/ N5 Z+ ]5 f0 S3 H$ ^

  353. ' W1 o: w1 t2 {6 c8 J
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    1 j6 S4 o% ], u& K3 N
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    6 A: b6 {( _4 r6 x7 z' m; W7 @
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    % Z- Y1 g: e3 c/ t1 [# W
  357. ; on your server or not.# A7 F3 R) p& S+ ]
  358. ; http://php.net/expose-php- B7 N* \( @. T! U2 U6 V
  359. expose_php = On) J% b% g8 ?, A! [9 V6 t) g
  360. / d" d8 }' l+ g3 b
  361. ;;;;;;;;;;;;;;;;;;;
    0 k' u5 N7 x" K; g# N8 G
  362. ; Resource Limits ;) y. v4 W3 {4 c8 @
  363. ;;;;;;;;;;;;;;;;;;;& S. _, N. }0 v, a/ w9 o

  364. 3 c9 u  ^5 b4 S. l
  365. ; Maximum execution time of each script, in seconds* c$ e( b3 _7 C! }( v& w
  366. ; http://php.net/max-execution-time# ?/ g% K! y( j5 [: D/ Q
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI0 w) H  N( r) W7 z- M! h
  368. max_execution_time = 300
    ; a' M% A" D9 O/ f$ w2 Q2 b
  369. # q* h( S: D6 F; f; a
  370. ; Maximum amount of time each script may spend parsing request data. It's a good' \8 _0 L7 T3 }2 [! M. G
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 j% D2 t6 k) X7 Q% u  \
  372. ; long running scripts.
    % J, C6 Q2 F0 n$ n' ?
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    / C0 J9 w, n1 B  }0 S3 M; p) b% F
  374. ; Default Value: -1 (Unlimited)# _' y! H( i/ L
  375. ; Development Value: 60 (60 seconds)
    0 n2 N/ Z9 s  L  {, a- u
  376. ; Production Value: 60 (60 seconds). X, G2 ?+ u9 f2 p$ C% ~
  377. ; http://php.net/max-input-time
    5 I! l) A) G) c+ A- x: f
  378. max_input_time = 60# A0 K% G: M6 d  X3 k: [& H

  379. ( i8 p3 f% T7 Q1 \# K, k' O9 z
  380. ; Maximum input variable nesting level
    ! r' _6 a( e! A; {- s2 h2 S4 ^
  381. ; http://php.net/max-input-nesting-level
    * D0 u4 R+ R' T
  382. ;max_input_nesting_level = 64* ^- n& y  |  U; H
  383. % B8 k" K/ q$ z* ]/ Y. [6 E
  384. ; How many GET/POST/COOKIE input variables may be accepted
    4 u% o4 A. g/ n- C2 i* a
  385. ; max_input_vars = 1000/ [/ a( N$ N3 z

  386. . Z/ |: e) B- G) S4 N% M
  387. ; Maximum amount of memory a script may consume (128MB)1 ~! M6 a" p9 U$ G- u' V7 ~
  388. ; http://php.net/memory-limit
    6 o* A% J, C& c; l
  389. memory_limit = 128M$ T+ x/ ?3 R. `; W0 N
  390. 1 ?" c- t* N1 W0 c, O6 n
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : Z8 |2 Z1 O) o% r' L3 a& u0 x% |, E
  392. ; Error handling and logging ;
    ) e. D& b9 ?3 ~6 a5 i. ]
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! h, _: `7 {  `# _4 G, i" X

  394. . c6 z+ J: |( Z6 V  \  C, V
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    4 h6 q+ ^4 B( ]
  396. ; it to take action for. The recommended way of setting values for this! O* F: t: K7 r5 e6 t' ]& M
  397. ; directive is through the use of the error level constants and bitwise9 y6 _1 _0 Q8 a3 f) h, l
  398. ; operators. The error level constants are below here for convenience as well as
    # r) K& U, T- l' `6 e/ P- T
  399. ; some common settings and their meanings.# C% q3 h" z# @( F9 V4 @% T
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* m  K: N* `0 s  f: q: p
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    8 q3 A7 l( G! c; W$ {
  402. ; recommended coding standards in PHP. For performance reasons, this is the) [0 t4 f# a) X( n5 P( ]) k
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    % \! s1 U) h" w7 M
  404. ; resources complaining about best practices and coding standards. That's what) @6 f& P0 D3 }, n( c" B: Y. T) N8 H
  405. ; development servers and development settings are for.1 ?8 C2 A5 @7 R$ {$ c/ U) Y0 W! @
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    $ m/ t2 g/ T( V
  407. ; means it pretty much reports everything which is exactly what you want during$ o* A2 ~& e7 W! d. W
  408. ; development and early testing.
    6 j. a0 Y1 U0 g! d$ i; v$ _
  409. ;9 f; T( w$ N) }( f: P1 c9 p
  410. ; Error Level Constants:7 U/ B2 \( g5 ?
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
      H! o- \& U& b6 G1 U
  412. ; E_ERROR           - fatal run-time errors1 Q+ O2 x& f; K* i
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 D' J) f4 Z9 \' E# z* @2 T) k
  414. ; E_WARNING         - run-time warnings (non-fatal errors)% ?2 G. ]$ c! v2 r
  415. ; E_PARSE           - compile-time parse errors1 g5 I1 i( a* k; U; z# }* o
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    % z) r% E  C& H, B8 I) G
  417. ;                     from a bug in your code, but it's possible that it was
    / l6 R" e% d4 R: p5 a9 N, p5 A
  418. ;                     intentional (e.g., using an uninitialized variable and4 s3 r3 l; k4 h- J9 w
  419. ;                     relying on the fact it is automatically initialized to an
    ) M( w, D0 Z+ m* p
  420. ;                     empty string)
    ' U# l+ |) Q  v! X, ^8 C
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" ?# {. v' F7 J" K) h% l8 \
  422. ;                     to your code which will ensure the best interoperability
    & f( T; g5 ^' T7 C0 N& N$ M: J# W
  423. ;                     and forward compatibility of your code
    3 d% ]$ i/ Q# ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' R$ |8 [! L  Y( O' r6 N% ~6 X
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's& Q+ F9 ], Q- e% I
  426. ;                     initial startup
    $ |% D: J% t# N6 T$ z% n, ~, f
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , B' J) b8 o- n: f& m" u! E
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 M2 S* }. M& S+ E- s; A' X, F
  429. ; E_USER_ERROR      - user-generated error message! G! M8 l3 ^. }0 k; M* ~: w
  430. ; E_USER_WARNING    - user-generated warning message
    " A" w/ {# c/ n; t) T- V: {
  431. ; E_USER_NOTICE     - user-generated notice message
    . m; L3 {3 Z8 m
  432. ; E_DEPRECATED      - warn about code that will not work in future versions! b* E, I  G+ K4 Z7 k8 p! l
  433. ;                     of PHP  |- u" t: r2 d
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings: j6 p, w) U# U( P5 O9 @" R. v4 X
  435. ;) U" l+ M# o1 M/ R
  436. ; Common Values:
    : {' C# W$ h2 j/ ^
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! Y4 s, ]% c+ x8 h
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)/ a, J( ~9 w! B! w  s
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)- A: m0 r7 H8 C) u" a7 |
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)" V' A% ^% G& x* X; k
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED' F7 C) R/ Q- r; J
  442. ; Development Value: E_ALL* a. G; ^1 A6 B: T3 |& K- ]
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& l! V4 |4 ?+ e1 @& P
  444. ; http://php.net/error-reporting8 P/ y1 {2 W: i! X
  445. error_reporting = E_ALL & ~E_NOTICE- k1 N" c! W0 a8 ~: l% ]& }0 g2 W
  446. . o+ Q8 {" H7 g8 N
  447. ; This directive controls whether or not and where PHP will output errors,; q+ Q; K; G6 D, l! k6 ~# r) F9 U6 F5 ]
  448. ; notices and warnings too. Error output is very useful during development, but
    & b. w! l: V( y0 M* m* i
  449. ; it could be very dangerous in production environments. Depending on the code; ^& t5 K/ j4 p) R- W! h% O5 ^9 Q
  450. ; which is triggering the error, sensitive information could potentially leak
    1 d% I  s# O3 G! I2 H2 x
  451. ; out of your application such as database usernames and passwords or worse.
    - A& s1 Y9 v* I' B9 y$ _+ m
  452. ; For production environments, we recommend logging errors rather than
    : x: w& [9 k! |( {% H8 B
  453. ; sending them to STDOUT.
    % v+ \) B0 V5 r1 r( m
  454. ; Possible Values:& \' J1 s4 [; f. o5 W- \- U3 T
  455. ;   Off = Do not display any errors% s9 c) P5 o% T. n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    5 K7 n# p( p/ T6 d
  457. ;   On or stdout = Display errors to STDOUT
    ) Q; O/ h# H& I% n6 q4 ~
  458. ; Default Value: On
    ) \! `7 o8 ^$ S. l
  459. ; Development Value: On
    ' j+ C; g' N/ E5 ?4 a/ _* P" b, j
  460. ; Production Value: Off
    . \; N0 c1 j% S, O5 {5 D
  461. ; http://php.net/display-errors, d' a2 A4 n' y3 Z
  462. display_errors = On
    $ z1 p+ w, W9 z3 Q0 ?' L

  463. ! p6 ]. Q! h* u) U
  464. ; The display of errors which occur during PHP's startup sequence are handled
    , A- m8 F! p+ p" Z* C1 \! T
  465. ; separately from display_errors. PHP's default behavior is to suppress those  f, T; U) B) T, i0 B8 S
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ' s5 n" e" W6 y" M1 ?
  467. ; debugging configuration problems. We strongly recommend you8 J3 d+ N. ^6 B" ~% n4 J+ P
  468. ; set this to 'off' for production servers.8 K; S( U; W: E8 Z" m* [- E
  469. ; Default Value: Off: |, }' y0 Z( x2 ^0 D/ s( I
  470. ; Development Value: On
    1 P! h; n$ h+ C  ]7 l: ~) z& M
  471. ; Production Value: Off
    ) n  ~/ U9 r- }/ b: R
  472. ; http://php.net/display-startup-errors% M* r) P7 ]" q3 |! r' |; f
  473. display_startup_errors = Off& z5 q1 \& y5 d: k! a: L0 |9 [4 Y3 x6 E
  474. 3 c1 {6 X0 Z% P9 ^) x! }# a
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 Z! V4 U5 h3 t5 I6 U' T
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ! |/ A) ~, r( F5 l0 R
  477. ; directive found below. While errors should not be displayed on productions
    9 B5 q5 n6 ^& O: C9 Z
  478. ; servers they should still be monitored and logging is a great way to do that.% @" `$ L+ `# O& W" d
  479. ; Default Value: Off. L8 f. X/ {) a( s
  480. ; Development Value: On
    0 E4 I7 k7 t1 O+ ~1 \) n
  481. ; Production Value: On
    7 d! m  ]# E; o4 P2 t7 g2 ?
  482. ; http://php.net/log-errors6 A' @1 Q9 F7 @5 ]! j. `
  483. log_errors = On
    - g3 L! Y- h% k. y0 [
  484. - n" d# K" g- E* Y( R* h( c1 j
  485. ; Set maximum length of log_errors. In error_log information about the source is
      ~3 c" e- J7 V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 Y9 X+ _) M$ i8 D' v" a
  487. ; http://php.net/log-errors-max-len& m$ U8 U( K+ B
  488. log_errors_max_len = 1024. Y9 y( m4 J9 s  Q- v6 k

  489. # B+ X8 V2 T) |, R  `" K7 Z8 Z
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; |) g/ s9 |, d( m- L! }6 B4 D
  491. ; line unless ignore_repeated_source is set true.
    2 C, N9 J& q" a4 w5 B2 o
  492. ; http://php.net/ignore-repeated-errors9 Q3 d% G6 r2 [: a; U( |" f
  493. ignore_repeated_errors = Off- Z. p" X/ s2 M) M* W- P) u

  494. 2 X# _  |* w  r* A( z$ Y$ K
  495. ; Ignore source of message when ignoring repeated messages. When this setting- d- J% ^+ ^2 P3 @
  496. ; is On you will not log errors with repeated messages from different files or- d, p+ j$ m% v
  497. ; source lines.
    4 k+ }+ o' ]  D: h  ]
  498. ; http://php.net/ignore-repeated-source
    1 c+ @+ a# D/ |# \$ u/ i3 `
  499. ignore_repeated_source = Off( R6 r; \( ~7 o) n

  500. 2 a$ U* r" y; {& E, |% J  z
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on5 y+ ]) f+ \. W+ c( V& j& v8 w
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    " q7 G* y: w5 B
  503. ; error reporting includes E_WARNING in the allowed list
    6 P; \6 [6 K  Y& c; _$ m
  504. ; http://php.net/report-memleaks: R! I5 r1 ]( ^! Z( S; o
  505. report_memleaks = On0 o! h. H; K3 Z' D  D+ b

  506. 1 {7 @( t7 Y" g6 x) M
  507. ; This setting is on by default.& L' C4 u) i( e. e+ e
  508. ;report_zend_debug = 0
    , Q8 b& d' p# L* J
  509. ( d( Z7 R+ b/ D, w
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  w. D4 |9 U! ?+ M% k  d9 h
  511. ; to On can assist in debugging and is appropriate for development servers. It should3 f* {$ q; S# w; x/ a$ k3 A2 ?" Q
  512. ; however be disabled on production servers.
    8 D2 W4 D1 S+ l+ ?5 K+ y
  513. ; Default Value: Off/ e  o' g4 X( h# i
  514. ; Development Value: On, u: u1 Q  c% ?# u; _9 x7 h
  515. ; Production Value: Off
    6 A+ h8 I7 A- j5 ^" }) z  m4 T
  516. ; http://php.net/track-errors1 J$ ]+ ^3 \0 h0 `
  517. track_errors = Off- Q: O$ e5 }$ H) B  k( n
  518. * ?$ d0 A6 `* a  b, m
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    . U' t' \1 Y6 v7 X9 K9 H
  520. ; http://php.net/xmlrpc-errors/ J8 Z% t9 d8 D$ \% t
  521. ;xmlrpc_errors = 0/ t7 k3 D4 a3 U$ k: h& S
  522. # G0 i  E4 ]0 X  X/ P" E
  523. ; An XML-RPC faultCode
    8 O3 M! t# P) m& t. I. G/ l2 P) {4 k
  524. ;xmlrpc_error_number = 0! v' H. l5 I: a
  525. ! |, H* n+ z! r8 m! n( A
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    9 Z, v5 e/ F% }* k0 z
  527. ; error message as HTML for easier reading. This directive controls whether2 T% @: c/ ~+ B9 a
  528. ; the error message is formatted as HTML or not.
    ; Z, R- E' g: u$ _/ e$ |
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI6 o; C4 R6 j) Y6 ]0 \4 J* g8 C
  530. ; Default Value: On
    & ]1 c1 {3 J3 Z5 v) i
  531. ; Development Value: On* W2 J: J3 i7 m4 O! I
  532. ; Production value: On
    - y: }4 r7 z# {; h7 X
  533. ; http://php.net/html-errors6 m- }5 t3 q% o) {4 {0 X; C
  534. html_errors = On
    / \7 T& h3 o% L9 A

  535. " ~! }8 d- h+ R- I7 R7 z9 [& x' r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % _% h3 k+ W) z5 b, z& h
  537. ; produces clickable error messages that direct to a page describing the error+ c2 C9 O8 A7 M2 \. r; S2 |
  538. ; or function causing the error in detail.
    ( |3 e, h$ U$ M% `; g3 c8 X
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    3 ~. g1 ]3 S0 k1 q) w8 o
  540. ; and change docref_root to the base URL of your local copy including the1 V% O! I6 |7 D* w3 D, D
  541. ; leading '/'. You must also specify the file extension being used including. V: q* c) z, U
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    / L# x5 b  M& u8 F& `& D7 b1 F1 p
  543. ; case no links to documentation are generated.
    ; c+ a  F$ `# Y3 m7 G  }
  544. ; Note: Never use this feature for production boxes.2 R, [$ z( S( l0 y$ f
  545. ; http://php.net/docref-root
    8 u* W% x6 ^3 g6 @( I1 x( Y
  546. ; Examples
    ' d; {8 W3 r( u2 O0 J2 ^5 j
  547. ;docref_root = "/phpmanual/"
    ; D9 {+ B) n" s$ [& w) L/ k0 f  H
  548. $ a' ]8 R) a- I" r6 B* |. c1 T( r
  549. ; http://php.net/docref-ext: f6 u% S, l2 Q
  550. ;docref_ext = .html
    + J, q" [( R- x! I- Z3 Z5 g
  551. & U2 d! v0 ?" q& |7 a$ ~
  552. ; String to output before an error message. PHP's default behavior is to leave" T( X4 \! X+ J4 X
  553. ; this setting blank.+ @/ S" A0 q5 M" n% L
  554. ; http://php.net/error-prepend-string2 X6 J8 r, p8 F8 p9 p
  555. ; Example:
    ) e; k; ?  s$ c8 c& |5 ?) [) o" c- A
  556. ;error_prepend_string = "<span style='color: #ff0000'>") k0 j! y+ L& j7 k

  557. # Q) t- `# Q* G" ~
  558. ; String to output after an error message. PHP's default behavior is to leave, l9 Y: N. m' S8 |7 i" k
  559. ; this setting blank.
    7 h. f% F4 `6 J! m0 o
  560. ; http://php.net/error-append-string
    4 i1 {0 i# _0 D  w
  561. ; Example:& Z; W( U1 Q$ I5 A
  562. ;error_append_string = "</span>"; I' l' B. E7 j2 }0 T

  563. % ?6 X9 Z3 p7 F- ~2 x- {
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    - E) |- x% z: [
  565. ; empty.
    . G8 Q- w5 r9 |9 @2 P+ Y* w' }- D
  566. ; http://php.net/error-log) @& b6 ^, A. u- G+ s- K, W
  567. ; Example:
    7 w9 w6 C' Z9 p. \) g
  568. ;error_log = php_errors.log
    " G: F: H# t  r
  569. ; Log errors to syslog (Event Log on Windows).$ U- B" w  Q* x
  570. ;error_log = syslog) B- c8 b: p# r( F/ q5 d" c

  571. " K* L( ~" ]: l1 [
  572. ;windows.show_crt_warning! U0 i! [  Z' H
  573. ; Default value: 0$ s4 l: \; k' v, l
  574. ; Development value: 0
    , I- g" ~2 Z' c# s
  575. ; Production value: 02 H) M- J3 {# I

  576. ! j+ b0 O* D2 i9 [! t6 M
  577. ;;;;;;;;;;;;;;;;;
    2 U- M5 G1 l# P8 b6 {$ {2 w$ A
  578. ; Data Handling ;. m2 B% Q7 J0 t. }) a5 M* o
  579. ;;;;;;;;;;;;;;;;;
    0 q3 U- ~' Y- g' y6 c- b
  580. ; U6 O- {, L, S5 ~
  581. ; The separator used in PHP generated URLs to separate arguments.% d+ Z$ w8 J6 t/ X7 {3 {/ C) @
  582. ; PHP's default setting is "&".
    ' ]/ a, Q& k& B  I2 Z
  583. ; http://php.net/arg-separator.output$ a- B/ ^9 S( t9 E" y
  584. ; Example:7 d1 @% ]6 E$ {; z3 \* ]. K% E& p
  585. ;arg_separator.output = "&"" e9 C2 E' E, A+ @$ q$ [( L

  586. ( c2 ?0 K7 @. i+ R" a2 m
  587. ; List of separator(s) used by PHP to parse input URLs into variables.; o, Z7 G7 A# R' B* w6 `, J; O  d- B3 ?
  588. ; PHP's default setting is "&".) W. e; S- P* p  C$ }1 ~
  589. ; NOTE: Every character in this directive is considered as separator!
    ' Z, O- U8 s' b
  590. ; http://php.net/arg-separator.input
    - {; ]2 C+ p# g+ j0 ^
  591. ; Example:
    $ p" ~% i3 x+ d( n6 a/ C& k- h1 Y
  592. ;arg_separator.input = ";&"
    3 k2 k, u6 W7 ]! ]) l- o

  593. ( y3 x% b' A3 ~& U; F# ]" I6 l
  594. ; This directive determines which super global arrays are registered when PHP8 y' p, |2 u2 ]
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super* {0 e$ ~- H/ ~% a  q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty) `9 f' s9 e( a
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    4 f% @9 e  L( s" ^" L" {  f1 |* U
  598. ; used as the others, ENV is not recommended on productions servers. You5 Z+ ^, R) U! ~
  599. ; can still get access to the environment variables through getenv() should you
    4 z( l9 N8 l) I+ a( j) s( n+ h
  600. ; need to.
    3 [# _7 R" o, W$ d
  601. ; Default Value: "EGPCS": l( X( t; S0 [8 }9 V
  602. ; Development Value: "GPCS"
      w1 m4 p- e1 v7 |9 u, P
  603. ; Production Value: "GPCS";
    ; c$ \4 l4 G( p* w" F
  604. ; http://php.net/variables-order
    : I' d- N$ [0 R
  605. variables_order = "GPCS"# |, [% d6 h( Q1 u4 K7 U4 t" l3 B

  606. & V3 l, h5 `& p2 f" I4 i' D
  607. ; This directive determines which super global data (G,P & C) should be
    ( X$ h6 I+ J+ y$ V" f
  608. ; registered into the super global array REQUEST. If so, it also determines
      z2 D; o& Z# S+ l' R# L# |, E
  609. ; the order in which that data is registered. The values for this directive
    ' q. O( _3 x6 Y  o$ |& ]* L$ C
  610. ; are specified in the same manner as the variables_order directive,5 L* ]: T  `- C! W
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set- n/ h& x7 T2 V. O" m) `) ~. E1 ?
  612. ; in the variables_order directive. It does not mean it will leave the super3 D7 S; Z& D1 E. l+ {  a' O6 p
  613. ; globals array REQUEST empty.
    6 x- v6 M' H8 o  O  Y. g
  614. ; Default Value: None3 r. f$ f/ G. S5 R7 G
  615. ; Development Value: "GP"2 R+ `* K- p9 J; f% H1 F+ Z
  616. ; Production Value: "GP"  M* r& J% Q3 A: n
  617. ; http://php.net/request-order' R, u! P( x4 B5 V6 d
  618. request_order = "GP"
    4 O- y+ P1 U4 J( N

  619. - d" I6 M8 H* W
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ' h2 l9 T, L( ^" r  A4 A
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
      a) y* u6 ^; p- X: ]" W
  622. ; is invoked. $argc contains an integer representing the number of arguments
    7 L4 Q* \3 K6 f* b8 C0 h) g. u+ U
  623. ; that were passed when the script was invoked. These arrays are extremely
    ' [1 ~; |, p4 q4 b+ q1 z; A
  624. ; useful when running scripts from the command line. When this directive is
    # N6 e4 |, R7 S
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 |9 m' f1 ]0 J
  626. ; a script is executed. For performance reasons, this feature should be disabled
    1 l) w, \- u& v
  627. ; on production servers.7 A: l+ P1 Y3 L
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( Z7 T) s( F1 [, d& {- G- |
  629. ; Default Value: On
    ; |9 V% \! n: k" c1 i
  630. ; Development Value: Off
    1 r3 E: a. N1 M
  631. ; Production Value: Off
    ! F: ^! l8 L( k9 ~5 U( H
  632. ; http://php.net/register-argc-argv1 q% H* Z0 W+ C1 v
  633. register_argc_argv = Off) H! d" v9 L3 ^) A, I2 v1 v
  634. % u9 G' K$ y! ^* M
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* w0 i/ D* t8 @5 i- ~
  636. ; first used (Just In Time) instead of when the script starts. If these
    ( z. ?5 Z8 `5 E# T, o9 }
  637. ; variables are not used within a script, having this directive on will result) f& F& [; t( q+ o
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 ~- d  @6 l0 d4 N) b* R8 G
  639. ; for this directive to have any affect.! K' j9 C8 R. A* x
  640. ; http://php.net/auto-globals-jit' L/ |, i4 h3 o& e& Q" W
  641. auto_globals_jit = On
    ) w; c$ W& {+ L- o( K$ C  {

  642. 2 O- u% v# d7 }0 \5 O
  643. ; Whether PHP will read the POST data.
    / c) i7 @& s9 @, I
  644. ; This option is enabled by default.9 i: J( s: N% Q* T8 O4 r' Q
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST' Q/ a4 R% L9 Y- i. ~
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      E4 \. [2 R" g6 Z: q+ ~+ @3 v, H
  647. ; POST data will be through the php://input stream wrapper. This can be useful0 P7 j0 I' l+ r
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.# X$ Y( p  H$ L; ^. t; N
  649. ; http://php.net/enable-post-data-reading4 o0 ]* ^& p% e# U4 d7 s, @
  650. ;enable_post_data_reading = Off: v8 J6 B1 S* v! @4 [8 [2 x

  651. + p" O. z! e' }' ~9 t
  652. ; Maximum size of POST data that PHP will accept.( U* T1 c0 [7 ]8 S% d( d
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ v; v. v: z' |3 n9 T
  654. ; is disabled through enable_post_data_reading.1 l7 X% l3 C% A( G
  655. ; http://php.net/post-max-size. o8 k5 }3 U* z0 Y
  656. post_max_size = 50M
    2 ]! X8 Q1 ?& y

  657. ' S0 j; o! @/ ~' x( T( i
  658. ; Automatically add files before PHP document.
    ) y$ Z( d4 t* l3 Z
  659. ; http://php.net/auto-prepend-file. k% a3 X% X3 }* u4 J9 x" I
  660. auto_prepend_file =
      a- p- M% j' `# f- X- Y
  661. 5 O- D; R+ k4 S7 f
  662. ; Automatically add files after PHP document.( v' H$ g: o; J2 k' X
  663. ; http://php.net/auto-append-file, }% p- C; q( g* \& f
  664. auto_append_file =
    , {2 Y/ a. m& k* l
  665. & x! ^- Y8 L1 `# r+ q& _2 {
  666. ; By default, PHP will output a media type using the Content-Type header. To
    - e( N+ b  E; Z4 T2 _' M
  667. ; disable this, simply set it to be empty.
    + k  b3 O! c. p" ]1 o* ^
  668. ;( |' P" K! T0 U( i/ ?: Y
  669. ; PHP's built-in default media type is set to text/html.: [. Z6 c1 l/ c0 y' ~
  670. ; http://php.net/default-mimetype8 |$ ^: k3 I" w9 _" V
  671. default_mimetype = "text/html"6 _; g* O  ]. ~* A8 h# J* s

  672. 9 R8 J* Y- f; d
  673. ; PHP's default character set is set to UTF-8.
    ! I( {* _% N: d2 l7 X4 K- u$ `
  674. ; http://php.net/default-charset% v( W! n& a$ @" Q6 o
  675. default_charset = "UTF-8"
    3 {% {4 I4 T/ |9 H: ^9 ^5 j1 k  }/ {/ d

  676. ) z$ f6 _. g+ q" i
  677. ; PHP internal character encoding is set to empty.: Y9 G1 }& z! ?
  678. ; If empty, default_charset is used.
    1 Y, `0 O' x. O7 v) L2 F7 E- `
  679. ; http://php.net/internal-encoding- C2 _1 f7 x5 g- j! n7 }
  680. ;internal_encoding =8 X, i5 _* l/ W" W% \/ k

  681. , T* X* s, i( _. T6 F
  682. ; PHP input character encoding is set to empty.
    ! ]; G7 N% t, Q& d+ [1 G
  683. ; If empty, default_charset is used.
    ; _; \, _* H% X7 U$ p
  684. ; http://php.net/input-encoding4 r9 U, X/ U( m
  685. ;input_encoding =0 s7 B+ F7 K/ s5 M0 E7 j9 m! e. q
  686. + {3 [/ `: b- |# B; P
  687. ; PHP output character encoding is set to empty.2 T  q; @9 c! R/ ~$ E8 |7 O
  688. ; If empty, default_charset is used.
    9 q& z9 g$ c3 v% U0 @
  689. ; See also output_buffer.! U8 e: W8 H/ f) h' }! z8 M- Y. y
  690. ; http://php.net/output-encoding
    7 {/ q# F6 q+ ~. a; f( u' @( V5 _
  691. ;output_encoding =
    0 Q2 y2 R5 |$ A: J9 c/ d
  692. ( |: ?0 W& E9 x: P2 H0 O8 q
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;' o! @0 t. c3 M3 P2 y
  694. ; Paths and Directories ;& A8 [5 q. M* p: H! X7 r6 G
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , w$ ]5 U7 e7 i& Q# c
  696. 8 s: I& {; Q5 |
  697. ; UNIX: "/path1:/path2"
    9 v# V( }: w5 y8 a$ z1 \
  698. ;include_path = ".:/php/includes"3 S3 N/ u/ H2 h) x
  699. ;
    " r. x* _- A+ z- `: w
  700. ; Windows: "\path1;\path2"
    + g) q* Z* Z1 ~  L
  701. ;include_path = ".;c:\php\includes"
    % C/ D3 W; [0 B# ~6 @
  702. ;
    0 C$ H% Q) n5 X0 e4 b$ \2 |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    7 i6 N  \% N/ H& c# \: W# Z
  704. ; http://php.net/include-path: n; v0 m' ?. U+ m; l. U

  705. 7 N0 K% E7 P7 m/ d, i
  706. ; The root of the PHP pages, used only if nonempty., J* |( N1 T0 P0 j' x: t3 Y! P1 D
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % p2 `/ G5 K) N% l' ^3 T  Q
  708. ; if you are running php as a CGI under any web server (other than IIS)1 m) ]9 X- k) x/ ?7 E0 G  |3 Z
  709. ; see documentation for security issues.  The alternate is to use the1 n. F8 ?( h8 [. J; u/ F& d9 D: y
  710. ; cgi.force_redirect configuration below( }4 V! V6 h0 x, ]# I
  711. ; http://php.net/doc-root
      Q6 b$ T, [2 T# z; ]
  712. doc_root =) |7 Y5 z' }  V# U
  713. " n, J: Y; z% Y- R9 \
  714. ; The directory under which PHP opens the script using /~username used only
    6 h' Z7 v3 [" ^- ^% E2 a* i# f
  715. ; if nonempty.
    6 x/ J' ^, f: `- D3 ]5 l4 J7 ^" R( o4 ?% O
  716. ; http://php.net/user-dir6 Y6 ]: s, Z& P' G7 e; |1 Y- p
  717. user_dir =
    ( y: r. y7 r8 G3 o/ v9 R! D- W; W
  718. 9 {9 Z* E! }  |) L/ U2 J
  719. ; Directory in which the loadable extensions (modules) reside.9 t" u( T: e, x7 N, W, l3 `0 H/ M
  720. ; http://php.net/extension-dir
    8 d: \& a4 w: L% d% v2 x' r$ u; ?
  721. ; extension_dir = "./"! \/ M; k8 @* M" y1 _5 X) g+ I! A
  722. ; On windows:
    + \( J' E4 s! G' n% ?5 C
  723. ; extension_dir = "ext"% u. u0 Q" ~1 U4 s! o
  724. 1 l/ \6 ^) N! V6 U) q4 ]
  725. ; Directory where the temporary files should be placed.
    0 U. o0 g$ R& B. b; k+ i
  726. ; Defaults to the system default (see sys_get_temp_dir)$ l  e" a' J; M/ M
  727. ; sys_temp_dir = "/tmp"
    ' a6 v0 {1 d% b4 Y( h% e

  728. $ a+ `, A: m% V$ E
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 F7 [: \$ x; T, w# @+ c1 g
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    " \) C' N; n& K; x: Q; J2 j4 t7 o
  731. ; disabled on them.6 t1 |2 |! `% }3 n& B. C0 h6 W) f
  732. ; http://php.net/enable-dl8 s) w' R! G  Y! Z9 g# S& _/ l
  733. enable_dl = Off
    1 Z- b- x8 k, U+ y6 v: h
  734. ! H) C; A1 }/ y
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 ]; D' N1 \1 s1 s5 c& [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can" m4 g$ {' R. n& o/ I
  737. ; turn it off here AT YOUR OWN RISK
    ' {4 f: M, r; b1 M" u% V& I8 X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 u$ l. O6 W( Q" T; j
  739. ; http://php.net/cgi.force-redirect
    ( T7 |, n. O' P$ U9 P5 @
  740. ;cgi.force_redirect = 15 x8 d' d9 N8 [# @: w* f& B
  741. 7 B# c) I& `0 w  K
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 }9 v" _  B( X3 l) P" t' T, w  ^
  743. ; every request. PHP's default behavior is to disable this feature.: `8 I% z4 F" q$ ]. J! {
  744. ;cgi.nph = 18 M! e" O" r2 H. G

  745. # z3 w" d( [" C3 H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& w2 H% P. o9 i! v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    - M" [3 q; L3 [0 k: [7 V: y6 r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 x+ {, F* N7 e$ `0 X8 @' H
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! _5 ]9 P; w1 V, d' E& x# `
  750. ; http://php.net/cgi.redirect-status-env7 r3 t/ @3 s% |4 [
  751. ;cgi.redirect_status_env =
    ; c. o! g' X) ]! T8 }
  752. " N9 q; w5 k8 ]0 x, A5 G+ Z; Z9 q! D! U
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's: I6 N) p9 a- ^& y0 S7 E
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok( M  [" G+ X( w7 u  j+ x% E( n. S
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 o3 A" s0 d# h+ O
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting& [" T5 B* y% `9 r
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " C$ m* M9 E4 c! l8 h7 a* S: S
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) R: I, j1 @: v$ u
  759. ; http://php.net/cgi.fix-pathinfo
    2 G- T' ]$ R2 s& U4 r
  760. cgi.fix_pathinfo=1
    . i8 p4 k! I+ d: B4 n
  761. / G$ Y, n& w) N: ^7 ~2 |
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    * K4 u5 f, j: U5 z  j
  763. ; of the web tree and people will not be able to circumvent .htaccess security." t" W$ |& S( D) g
  764. ; http://php.net/cgi.dicard-path
    * F6 C+ Q" G; N  o$ i+ K
  765. ;cgi.discard_path=1
    : w# {* s+ q: W& I
  766. - _& g/ t4 E! o4 M
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! V0 o, i! S: C
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' l3 C/ C: f5 N1 @  U( W$ [% R
  769. ; security context that the request runs under.  mod_fastcgi under Apache" l$ H" p& k- N% j: S& `! @
  770. ; does not currently support this feature (03/17/2002)
    5 M% L: j0 s' ]& |
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 O- w( p! x6 n# b# b' i  D
  772. ; http://php.net/fastcgi.impersonate
    + r) c' [3 ]9 A: [  C- ]
  773. ;fastcgi.impersonate = 1
    " r, D. ]2 Y( t0 V) T7 ?1 x/ ?6 ~
  774. ; x/ P; }7 R" X
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . e0 X+ M. `+ x8 g1 F. G5 u' c
  776. ; this feature.( X' n* O7 p5 T8 h1 i
  777. ;fastcgi.logging = 0% c, R& j6 o4 A

  778. 1 ?4 h1 v7 Q. N1 S2 P3 d( F8 `
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 k9 T5 ]* {8 P5 X/ @
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. U1 z( Z) z& ?- ?/ m/ A+ t
  781. ; is supported by Apache. When this option is set to 1, PHP will send: f& }0 e" c6 {% O
  782. ; RFC2616 compliant header.
    2 W) V$ K6 m9 W1 C: w  {" n, Q
  783. ; Default is zero.
    5 S9 m6 @" G# z8 ]) Q& J
  784. ; http://php.net/cgi.rfc2616-headers! M2 u% C4 a! i; Q7 `, ^
  785. ;cgi.rfc2616_headers = 0: X! i+ S5 Q3 ~7 y) X, i* z
  786. " O( B8 g+ h. h9 A6 i) D. Q0 y
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ z: i: C2 r0 B" D) ?9 g" ~3 V: [
  788. ; (shebang) at the top of the running script. This line might be needed if the
    - T0 W" X! ~2 F1 O0 q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; [0 }0 G4 g' e, q
  790. ; mode skips this line and ignores its content if this directive is turned on.( z  m: L7 z* ]
  791. ; http://php.net/cgi.check-shebang-line
    ) l: o% P7 P6 D
  792. ;cgi.check_shebang_line=1+ P% f6 a* |/ j& i0 u  l
  793. % |3 Y$ j$ s/ w
  794. ;;;;;;;;;;;;;;;;; Q. d  N2 w# l! C
  795. ; File Uploads ;
    " B" G- Y7 Y, p: \
  796. ;;;;;;;;;;;;;;;;
    ( {5 I* E  q+ O5 h. W8 p( |

  797. . I7 C# X0 k6 G& c( s3 `9 O+ H
  798. ; Whether to allow HTTP file uploads.
    $ Z3 `( H9 {, T# _) A
  799. ; http://php.net/file-uploads$ W0 }8 @& f. Y: Z8 u
  800. file_uploads = On& `3 b# f$ Y# p! c2 B8 ?

  801. # B+ `. ?8 Z1 L% U1 x6 M
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
      y; f3 z% N7 [8 Q& [! A4 o
  803. ; specified).
    1 P, N  q1 U# Z6 Q( t% ~* E" J# T4 Y
  804. ; http://php.net/upload-tmp-dir
    8 _# k8 k. w8 M2 P" [
  805. ;upload_tmp_dir =4 m) V& D+ Y  q4 N

  806. 4 f  F+ w; ?3 y1 M$ y9 C- D3 {8 _: S
  807. ; Maximum allowed size for uploaded files.3 Y8 S; J# }4 Z" D( H% T
  808. ; http://php.net/upload-max-filesize
    $ d0 x0 e- K3 t; V* O; H
  809. upload_max_filesize = 50M
    / Q) d5 Z5 ~4 G: z7 j
  810. ( a4 ]1 W6 l& e& k6 |
  811. ; Maximum number of files that can be uploaded via a single request! a2 O# F$ C$ p/ k; g, [
  812. max_file_uploads = 20
    % C5 o+ M" S% Z% E0 w0 a

  813. 6 S& u. N" G/ o: t( h/ J& _% Z
  814. ;;;;;;;;;;;;;;;;;;! H- h9 y$ a) B% L/ `4 y
  815. ; Fopen wrappers ;
    + a9 u1 h9 f- H
  816. ;;;;;;;;;;;;;;;;;;
    / _. b* J# t& q! O" |
  817. 9 L5 U9 M0 m3 Y3 i
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 ]8 r: |8 \% [/ F) [' v4 r" B$ ]# C
  819. ; http://php.net/allow-url-fopen
    3 S. t6 z( j$ |, }/ H
  820. allow_url_fopen = On
    . a* Z5 `; P  N4 b- i

  821. * [# W2 t. A6 g4 {8 P* Z1 W* P
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      P+ L" R5 r/ w) ?# p' F
  823. ; http://php.net/allow-url-include
    ' ~; z- m$ r! g2 u' X: v4 o4 Y
  824. allow_url_include = Off1 ^. A: h8 r" T

  825. # b& O. _! m. T' L& v0 P
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    0 [1 g' w$ R4 B" A( J
  827. ; for this is empty.
    + X: z% p7 }# U" o
  828. ; http://php.net/from7 ?, G% t$ V5 v5 a: k, \& p+ T& v
  829. ;from="john@doe.com"
    ) ^  [8 b+ `; g/ v, t
  830. ; j; G+ F& h3 e, H  T2 }, \
  831. ; Define the User-Agent string. PHP's default setting for this is empty.$ t8 M  L% r' Q1 I- n7 D
  832. ; http://php.net/user-agent% Z1 G. a, m8 b$ d
  833. ;user_agent="PHP"9 E" y* y( H3 e. u- O" p& H0 ]" X- Z2 V
  834. 6 D) T2 M! M* z; T
  835. ; Default timeout for socket based streams (seconds)
    % Z  @. |$ Y" o4 l2 w
  836. ; http://php.net/default-socket-timeout4 R5 e2 x" Y5 c8 N  Q; r# H% u
  837. default_socket_timeout = 608 b/ w4 `. O7 ~1 a* @6 z

  838. 4 }+ h' k, O- i6 ]( A9 ]
  839. ; If your scripts have to deal with files from Macintosh systems,
    + d6 \( D) F8 N9 O1 _" Z5 A9 J
  840. ; or you are running on a Mac and need to deal with files from
    : f' U! q% N4 D; z, F+ ~/ R
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 L' C5 h0 {" U, P+ c
  842. ; automatically detect the EOL character in those files so that
    & V& t. M& ?" C2 |! {
  843. ; fgets() and file() will work regardless of the source of the file.; i& V1 M% N5 t, ^
  844. ; http://php.net/auto-detect-line-endings  }& C7 E5 v! J4 y
  845. ;auto_detect_line_endings = Off! @# D2 a0 Q" f7 S% I

  846. 4 q& [/ X) c2 E1 [( t) f
  847. ;;;;;;;;;;;;;;;;;;;;;;
    9 H9 T" p! H5 M1 e1 U
  848. ; Dynamic Extensions ;
    - s8 `* c  O  Y6 C: w; u& C
  849. ;;;;;;;;;;;;;;;;;;;;;;+ x3 Q, y3 \6 S& M
  850. " b" z1 I# w5 @) Q2 s8 p# g8 p
  851. ; If you wish to have an extension loaded automatically, use the following+ z- y! T2 R$ X2 w
  852. ; syntax:
    ' i5 ], r; l7 K, P
  853. ;  {! y0 r! J* J/ j2 d
  854. ;   extension=modulename.extension3 h; a5 \+ o1 z5 ]
  855. ;
    : G, Q- k5 x- _. w7 h% c
  856. ; For example, on Windows:
    6 X% v$ ?8 g" Q1 l4 Z% h; q
  857. ;
    # \& O2 D' f( T: W( O5 ?
  858. ;   extension=msql.dll
    * |! X: Y& Z  F. X2 {. ]5 {8 o4 a
  859. ;/ }, A4 p3 s; B6 f  Q3 L
  860. ; ... or under UNIX:
    / q: y3 V8 r/ Y( B; Z6 q
  861. ;
    & t5 |7 B4 H/ F8 }  @! b, ?
  862. ;   extension=msql.so
    5 U) H8 Z0 Q, I2 t- m% b  Z) u
  863. ;( u2 [& F( |9 k" U! ]; G
  864. ; ... or with a path:5 Y0 m. I( O8 S) y6 o- u
  865. ;" d, x( o9 ^* `, q
  866. ;   extension=/path/to/extension/msql.so+ p0 i4 m- D% ^; O  R
  867. ;4 ~. C5 [  {0 `6 v
  868. ; If you only provide the name of the extension, PHP will look for it in its1 f! V( L' j% ^
  869. ; default extension directory.
    , Z( v' q+ C6 e
  870. ;
    % u8 W" Q% b* I, N
  871. ; Windows Extensions
    7 h7 O0 t$ U  V0 f# `' v6 _9 U
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      V3 Y) [+ n  x2 i' l0 U& f
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)( t. E+ T! Z$ v$ |! r" _
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & B) W# _1 X- \- `+ N
  875. ; Be sure to appropriately set the extension_dir directive.
    % }" j1 x( \8 m+ u4 \
  876. ;
    9 m4 x) x- M) I: _
  877. ;extension=php_bz2.dll% N/ [6 n, z0 |6 `
  878. ;extension=php_curl.dll  I/ T. x* x: S. G# y$ ^
  879. ;extension=php_fileinfo.dll7 ]6 s5 e: A5 Q& \- f
  880. ;extension=php_ftp.dll
    / x: q  u+ E- H# [; [
  881. ;extension=php_gd2.dll
    $ G0 o, T6 X: H0 `; ^$ q! g, S
  882. ;extension=php_gettext.dll
    & ?0 o* j* c3 L  ]
  883. ;extension=php_gmp.dll. e- S9 |' n- e
  884. ;extension=php_intl.dll7 l; g, x; F4 N3 `1 z
  885. ;extension=php_imap.dll4 W5 Q( r0 @) {8 @2 w
  886. ;extension=php_interbase.dll9 c% a8 H5 i2 P) q" e4 K
  887. ;extension=php_ldap.dll' @6 \' G! v& u9 y
  888. ;extension=php_mbstring.dll/ U9 h9 V9 [7 `. a1 A1 I6 Q( R
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it9 O$ L4 C1 y# a7 u/ K! P
  890. ;extension=php_mysqli.dll
    9 O0 J3 b8 k" x: E
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & a* k, e6 G) t% W/ H9 Z0 r# b" u
  892. ;extension=php_openssl.dll0 y+ C9 L+ D* Y2 d  `  {4 h% D1 U
  893. ;extension=php_pdo_firebird.dll
    & n1 _  s  ?- f: [) ^, `0 r
  894. ;extension=php_pdo_mysql.dll' r% y5 v; g) A* ]- A, {
  895. ;extension=php_pdo_oci.dll" z3 Z2 f% f- P
  896. ;extension=php_pdo_odbc.dll) M  _  Q: K. ]: U! {" ?
  897. ;extension=php_pdo_pgsql.dll3 `* T. Z: k, P# j9 T
  898. ;extension=php_pdo_sqlite.dll, [3 t. ~% U$ K0 R  {: b% h
  899. ;extension=php_pgsql.dll: V5 v: ^- L3 w0 u1 ^, u  \
  900. ;extension=php_shmop.dll0 }3 F1 I- P. Z' ]
  901. ! U4 @8 v3 d: w% a4 B$ J5 ]- K
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 C: B- _# U8 ~& X) X
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    , f- d5 `. e1 n# C( H
  904. ;extension=php_snmp.dll
    & u, Q, V6 \- l. ?7 P9 B' [% i

  905. 4 w5 ?. t% U: J0 d, ~0 t
  906. ;extension=php_soap.dll
    5 w  F1 X* m! f2 E' U& A% f( x
  907. ;extension=php_sockets.dll
    ! i$ N# x' m. N% S( }
  908. ;extension=php_sqlite3.dll
    5 g* G, l- U! k; O& n
  909. ;extension=php_tidy.dll" Z( ?9 i2 ?& ~) F, s. x$ W
  910. ;extension=php_xmlrpc.dll7 f8 V* K2 t" X0 a4 J
  911. ;extension=php_xsl.dll
    $ k% \0 P7 K+ i  I  o% ?

  912. & M5 ?5 f! ]+ O5 Y+ \8 e
  913. ;;;;;;;;;;;;;;;;;;;' V* X/ \) U4 N, U* W5 p$ o+ E' \
  914. ; Module Settings ;0 [1 I8 b' t! A
  915. ;;;;;;;;;;;;;;;;;;;
      Z1 y7 o  v. ]- M7 q& e/ z; z

  916. * _  \# b% {" p) r0 L2 b! x6 d, P% r
  917. [CLI Server]
    ' Q5 b  n2 v3 l6 z+ N- L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    9 D9 ^) }! @  _% V; a5 c
  919. cli_server.color = On1 Z. \3 ^( A9 a) _& z. }
  920. / r$ x1 d( _2 V- X4 b; `
  921. [Date]; w; E2 {2 M  n9 X
  922. ; Defines the default timezone used by the date functions) z6 D' M, z: F3 y) n) C9 T
  923. ; http://php.net/date.timezone
    + X& L, F) @# k& N8 U7 n  T) f
  924. date.timezone = PRC* X. `) p! N* m/ Y. T  b7 V% r
  925. ; ?6 }/ O( R  y
  926. ; http://php.net/date.default-latitude
    2 ?& Y# T* A' g
  927. ;date.default_latitude = 31.76675 S6 u( ?5 R+ E% u1 n
  928. ; o  f3 s2 u; q# O2 n
  929. ; http://php.net/date.default-longitude
    , y) u3 ~: W# {1 U& c- O$ U; H
  930. ;date.default_longitude = 35.2333
      w; v4 G0 S) ~2 |! V3 K  ^
  931. 3 N3 `8 x% \- g# z: D7 m
  932. ; http://php.net/date.sunrise-zenith. r0 I7 I7 s  d  D, j4 s) ^
  933. ;date.sunrise_zenith = 90.583333
    % C" V% n4 B; V1 r: A$ c- D
  934. 5 ~) j- I( g# \  x# M
  935. ; http://php.net/date.sunset-zenith# ^0 `, w' L3 y( {$ n
  936. ;date.sunset_zenith = 90.583333% Y# t" u5 p! d9 N: z  I+ A! [& A) o

  937. 1 `# u# g/ x- v: Z' o9 C: h; V. c
  938. [filter]3 a8 A1 `& y9 N0 c0 Y
  939. ; http://php.net/filter.default$ E5 j. |1 Z) q4 y
  940. ;filter.default = unsafe_raw5 F: O. {. l( p2 |) U* T

  941.   q4 N9 g9 m) U! @6 `
  942. ; http://php.net/filter.default-flags4 v: X" I1 n6 |. q, Q- g( N
  943. ;filter.default_flags =
    5 c8 M6 x; _7 y9 t3 L7 j1 _
  944. / I4 e2 h" Y/ D9 g
  945. [iconv]
      N, A0 }! v( F+ `7 k2 j+ |4 a( M
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + I% J$ t. ?/ N* y. k  v9 x3 D+ U% [
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : ?2 T7 o/ X" P$ E# q# x0 m
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : v: ^! u( h' x' q
  949. ;iconv.input_encoding =
    9 n8 U" J) Y0 |. V

  950. 7 Z6 W! A6 ?$ u- y# {
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.  h* [! x+ }8 m
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 N' P. V' S, T( y  f* P
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 Y) b+ Q: a6 u! y" g3 Z
  954. ;iconv.internal_encoding =5 z$ Q+ h1 ]7 b$ }) s/ C1 M

  955. 8 g, [' m' Y8 d
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 X) u# e# h5 H, j; C
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' _# v5 w' N; o
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 R1 T8 T( C  r
  959. ; To use an output encoding conversion, iconv's output handler must be set
    * u  r' V5 F! m! ?! b1 N$ ~0 z' `
  960. ; otherwise output encoding conversion cannot be performed.8 d! L+ Q1 o) c" Y. f1 f1 J+ e' N
  961. ;iconv.output_encoding =
    & V: H* p( r+ P$ r8 t

  962. * Z5 V+ u8 M& a- _: U
  963. [intl]! R3 }8 I6 c! s( }9 I, l
  964. ;intl.default_locale =
    $ Z. m/ q6 k) S# W- l, l1 P
  965. ; This directive allows you to produce PHP errors when some error' e8 O, i. D; ]# c6 p) Y
  966. ; happens within intl functions. The value is the level of the error produced.0 f8 C/ S; e* c
  967. ; Default is 0, which does not produce any errors.! T$ X( J; h1 o- s# w+ ]
  968. ;intl.error_level = E_WARNING1 s; L! c7 ?, Y5 N' T. j* o
  969. ;intl.use_exceptions = 0
    + a8 N, H+ o  a% X5 E5 @: U

  970. $ S0 n  \( u) m' M5 Q
  971. [sqlite3]
    5 N, W5 P7 f! O7 }0 `" G
  972. ;sqlite3.extension_dir =& S8 N' U* K, U' A! F7 E+ I
  973. 6 ^/ @$ a  E) Q2 p3 ?
  974. [Pcre]3 w0 Q) }6 w; c  {/ r
  975. ;PCRE library backtracking limit.
    5 v; X3 g4 A, u0 X- k* s
  976. ; http://php.net/pcre.backtrack-limit
    / m: J/ a) J# Q( v% b. i
  977. ;pcre.backtrack_limit=100000# r5 \' L$ ~7 O" f$ d% r7 l7 w1 A) g' C

  978. 1 l: V: |2 Y9 v' L5 B6 \
  979. ;PCRE library recursion limit.
    * M9 q( K  f( ~
  980. ;Please note that if you set this value to a high number you may consume all$ O' D4 `) Z# O5 I% \4 d
  981. ;the available process stack and eventually crash PHP (due to reaching the3 }" M( a, S# C$ A7 V0 B0 ]
  982. ;stack size limit imposed by the Operating System).
    4 E$ G. S* E6 y& r  M8 V, p
  983. ; http://php.net/pcre.recursion-limit" ]2 H/ y2 j8 @3 v+ h
  984. ;pcre.recursion_limit=100000( s, L0 Z/ E: u4 a% D* x1 k
  985. : D1 Q0 {0 G# l9 P! o' I( p' I
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    1 R+ c5 n8 N7 n/ E) j
  987. ;library to be compiled with JIT support.) q4 c3 m& W6 v8 Z# B2 s) Y
  988. ;pcre.jit=1
    ! W7 J1 a( R6 x; N5 k* k! Y
  989. 0 q* W" _; {/ z- @; B0 ?
  990. [Pdo]8 Q/ {( H: l: @' i. @
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    & l! c" u$ J! u5 Z4 R
  992. ; http://php.net/pdo-odbc.connection-pooling
    # I2 ^. ]  K# d, g  l7 \% s
  993. ;pdo_odbc.connection_pooling=strict
    8 \( j, r3 I/ i; h
  994. " l2 a7 _8 ^& s6 v3 }- V% ^# X
  995. ;pdo_odbc.db2_instance_name
    . _: c5 o3 J% v- G
  996. 4 L* _& ?2 u$ F3 {9 Z1 y
  997. [Pdo_mysql]
    . Z9 K1 m9 R3 b8 u/ W/ I
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : M: F0 T: N; u9 p% M* u
  999. ; http://php.net/pdo_mysql.cache_size
    $ z% N) H/ B/ E; n3 q
  1000. pdo_mysql.cache_size = 2000# c" f- Z# F3 d. B

  1001. 3 a+ v9 l( M9 f* a+ C1 Q
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in- i/ l2 ^( x, C; {; m8 t$ i5 T
  1003. ; MySQL defaults.
    + e- o# ?2 X) e. P% L
  1004. ; http://php.net/pdo_mysql.default-socket+ W1 b/ E" e9 f7 I
  1005. pdo_mysql.default_socket=
    - d$ H/ q8 e- o  d2 B. _

  1006. ( p- ~. L  |1 W( B9 a- F
  1007. [Phar]- |0 ~$ {. {% u# {& g
  1008. ; http://php.net/phar.readonly
    / O7 K4 h2 @% G& k9 O
  1009. ;phar.readonly = On( N( U) k0 O& A0 N+ D
  1010. ( P& C) U, D. }' G# h8 N. S1 D
  1011. ; http://php.net/phar.require-hash
    . n( q9 P" c- H* }& E3 P
  1012. ;phar.require_hash = On
    * N6 O7 X5 a9 D1 p6 `8 I# K
  1013. - i4 w+ Q% [1 Y2 q+ g
  1014. ;phar.cache_list =, @! _2 c( k* ?: Z

  1015. % L' q) H0 W* c" g$ b# o& ~
  1016. [mail function]) e) h8 d9 e% ^1 F% y& W1 B5 U
  1017. ; For Win32 only.# {# Q! P0 M3 p) [7 D0 e% g7 |
  1018. ; http://php.net/smtp
    0 n5 l9 H( x) [& X* q
  1019. SMTP = localhost
    0 o/ j: I. E0 u4 r. t! r
  1020. ; http://php.net/smtp-port5 [, S2 a: @' T; r
  1021. smtp_port = 25
    # K5 P: o# D7 C$ P+ w7 I. i, _
  1022. 2 _6 `. L" N$ ^9 _. v
  1023. ; For Win32 only.
      y5 k% T! @; c9 J4 h
  1024. ; http://php.net/sendmail-from
    2 F$ @1 E' v: P- r7 i1 g4 @
  1025. ;sendmail_from = me@example.com
    * K+ H3 a$ W* c9 m9 Q' x. j) {
  1026. + \$ ]+ n7 r) y6 B2 v5 X. o
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& B; C, U' R, W( r
  1028. ; http://php.net/sendmail-path2 d0 l3 n# i' D. |& f
  1029. sendmail_path = /usr/sbin/sendmail -t -i1 [( Q  N9 i2 y" p8 |! j7 C
  1030. , y: J7 B0 y6 k6 m
  1031. ; Force the addition of the specified parameters to be passed as extra parameters3 s  x8 k, e/ X
  1032. ; to the sendmail binary. These parameters will always replace the value of; [) Z# {) J: W8 r
  1033. ; the 5th parameter to mail().
    $ m5 b" Z* Q0 l& q
  1034. ;mail.force_extra_parameters =
    / w" A8 u) e; g2 Y  [3 Y
  1035. 7 ^) O' V/ `3 S$ K! s
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename, Q. h0 P: c. \2 H+ y
  1037. mail.add_x_header = On
    ) \  X- ^. u" E

  1038. 6 }( R) B! C4 z9 A( Q: e7 O
  1039. ; The path to a log file that will log all mail() calls. Log entries include+ w2 x. B9 d- v2 l7 i9 y
  1040. ; the full path of the script, line number, To address and headers.' W  @, e' N3 ~# r0 C5 @
  1041. ;mail.log =
    . \; C3 h8 S$ ]6 S( O- }
  1042. ; Log mail to syslog (Event Log on Windows).7 C4 p! x7 w( A8 d2 ?7 `, O0 P
  1043. ;mail.log = syslog
    9 O/ X, Z+ l5 [: b% I( c  n* P
  1044. $ u+ d* o7 h) B; {/ B) b+ U
  1045. [SQL]- R* r& p3 I. m+ y; x
  1046. ; http://php.net/sql.safe-mode  x2 e/ T9 e1 E+ h2 k/ A4 y2 J
  1047. sql.safe_mode = Off
    ; H% ~. g) i2 P0 v  r

  1048. ) M, ^7 N& T/ @3 G5 z
  1049. [ODBC]
    % l: r9 A# b6 D% |3 D
  1050. ; http://php.net/odbc.default-db' j8 e) c& _4 f% r, {
  1051. ;odbc.default_db    =  Not yet implemented, u9 U7 k' h1 t1 K

  1052. ) u$ `0 Z" R, s! |! N4 g
  1053. ; http://php.net/odbc.default-user
    . Z* J( a6 k3 e7 J+ Y# P) u0 U
  1054. ;odbc.default_user  =  Not yet implemented
    ; J1 D! I; s, n+ D& y- C

  1055. 2 \- ^( D& w$ d6 F" D" i% Y" K
  1056. ; http://php.net/odbc.default-pw7 c% _, N- r  Z9 f6 m) ~' }
  1057. ;odbc.default_pw    =  Not yet implemented$ q- ~7 p# I% k; u8 @, J1 B. y- v% ]

  1058. 6 {9 O) u* ^, @$ j
  1059. ; Controls the ODBC cursor model.
    * E: X' E, q9 ?- o
  1060. ; Default: SQL_CURSOR_STATIC (default).( T: Z! }, _( k4 v
  1061. ;odbc.default_cursortype
    1 O: D% z  P1 j% _8 u6 j- m8 m
  1062. + \) }; `( p- ^9 a$ i, \
  1063. ; Allow or prevent persistent links.& E" P# W' A0 \
  1064. ; http://php.net/odbc.allow-persistent/ `! C; {/ [( h6 p- d! A& Y
  1065. odbc.allow_persistent = On3 s' S: e* `. W5 ]4 R0 Z, o

  1066. ( W7 l4 s3 [- t7 E: Y
  1067. ; Check that a connection is still valid before reuse.
    . {5 {; b* i" K9 k; N/ i( f; x5 _
  1068. ; http://php.net/odbc.check-persistent
    1 o9 k  R  N2 t! v. Q! w% }9 v
  1069. odbc.check_persistent = On5 q: Z' q, h0 l! i5 y6 [) G
  1070. 7 L0 ]0 Y4 B* q  u% J* m" n
  1071. ; Maximum number of persistent links.  -1 means no limit.# h4 ~. M) g5 J
  1072. ; http://php.net/odbc.max-persistent
    ; F. \4 A, E( \! O4 j
  1073. odbc.max_persistent = -19 m: Z' O& x" g0 E* p. g! ~1 I! A
  1074.   a" w5 x  L4 I0 K8 S0 B
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " A6 G! E* a* S5 I7 U
  1076. ; http://php.net/odbc.max-links) R1 |, [: X4 I% x, ?+ E; ?
  1077. odbc.max_links = -1
    4 o2 B$ G# b; v$ {) a# q8 E
  1078. ; O, a5 Q# D7 S6 K. k
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    1 o7 [+ g; T2 g
  1080. ; passthru.
    / Q0 Q4 F  P* e2 Z+ E( Z* S
  1081. ; http://php.net/odbc.defaultlrl/ R( R7 ]4 f+ @9 d0 F
  1082. odbc.defaultlrl = 4096! a7 L7 f5 k  c2 X  a! y
  1083. & E3 z) b4 L- {' w! r9 a
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 [1 L+ t0 \9 Q6 u( Z8 e$ R0 h3 x
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- N5 q# ]( i% X" L  k. Q7 k$ O
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode5 p: g: H- \% a0 B: ?  D' j
  1087. ; http://php.net/odbc.defaultbinmode
    ; w/ g  N% a* p/ D1 |& P' E
  1088. odbc.defaultbinmode = 1
    " e: ~  A1 a9 X8 ?

  1089. 4 b0 J! e% T, O* b
  1090. ;birdstep.max_links = -1
    : q- ~1 [5 T5 B2 F

  1091. ( O/ w- l0 f3 Q0 o
  1092. [Interbase]
    + }- x4 ~; X4 s& y4 J+ C
  1093. ; Allow or prevent persistent links.
    ' q9 F4 ~) R! Y* _; J
  1094. ibase.allow_persistent = 1/ i5 Z) M# @( ~! t$ |

  1095. " y# o, |# W5 U; L8 Q5 L* W7 T
  1096. ; Maximum number of persistent links.  -1 means no limit.0 l# e9 a- _* x4 j) ~* ?* }; |
  1097. ibase.max_persistent = -1
    8 M1 {/ N- g. O# H/ S% `8 l

  1098. 5 `* C! r4 f6 ~- F! e
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 X( M& p- v& o" s* k8 A% f3 E
  1100. ibase.max_links = -1/ B+ v" X- h* I1 m( t& v

  1101. , O, _+ N6 g* \; Q: x5 ?: A
  1102. ; Default database name for ibase_connect()." x5 M6 q, `+ |" W
  1103. ;ibase.default_db =) ~' e( m7 y9 n  w

  1104. 4 a$ A0 y! Y' \5 O( g
  1105. ; Default username for ibase_connect().
    ' ?8 |+ F; u) }3 W8 e  K
  1106. ;ibase.default_user =
    & w  M4 w8 E2 w5 w5 \
  1107. ( R/ w9 }8 u# U
  1108. ; Default password for ibase_connect().1 T  g6 i. h6 c
  1109. ;ibase.default_password =
    8 o, x$ A( [( R9 z) i- R

  1110. ( P- b. ~7 r$ B
  1111. ; Default charset for ibase_connect().
    ; L) I2 w: E* d" z* X
  1112. ;ibase.default_charset =# u4 a4 L, _: w" ~. n0 F3 C' a

  1113. & I  s! }. W- u# s# }# _
  1114. ; Default timestamp format.
    ! b" _1 C8 ?6 m
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ i/ x9 A) ^6 ]& F! R- K
  1116. + {, k. e# e. ^7 n* l  P
  1117. ; Default date format.
    4 D0 q4 E, Z& K* V5 J
  1118. ibase.dateformat = "%Y-%m-%d"
    - P$ r, a+ ?: Y
  1119. 3 a8 {& l5 @- y2 z
  1120. ; Default time format." e" ?1 @! }4 A( r& @
  1121. ibase.timeformat = "%H:%M:%S"( D0 F: ?: b+ L5 W4 M; Y9 H
  1122. 8 `  N! K7 T6 c; s
  1123. [MySQLi]
    ' u- G; _7 a0 I: @# y
  1124. ( ?9 d2 F; q: e; a# j: B
  1125. ; Maximum number of persistent links.  -1 means no limit.
    : @% D; f6 o( \7 C' [) K" J3 m$ `1 {
  1126. ; http://php.net/mysqli.max-persistent% h4 ~* u1 x0 Z/ ]6 z6 g" Y
  1127. mysqli.max_persistent = -11 w( k$ q( D- W0 ?, m: }
  1128. - V. v; L5 p$ ~/ c
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ {8 S5 k" f0 p  X, ^+ L
  1130. ; http://php.net/mysqli.allow_local_infile
    % N8 i7 W- w' D* V0 S
  1131. ;mysqli.allow_local_infile = On
    ; e4 B( P% z/ p, E2 M

  1132.   n! a1 W: n+ q, k; Q! ]  f
  1133. ; Allow or prevent persistent links.
    . t* ]; G# R# N. i& T
  1134. ; http://php.net/mysqli.allow-persistent: x8 R; h% _" h8 c, u1 j
  1135. mysqli.allow_persistent = On
    ; A: V* q# U9 ~; s. `; ~

  1136. 8 F6 K9 y+ Z: X* H: U! R
  1137. ; Maximum number of links.  -1 means no limit.: g0 Y! s  ~- `4 x
  1138. ; http://php.net/mysqli.max-links
    ' [  g: C9 m7 A/ E1 i
  1139. mysqli.max_links = -18 ?1 x! B+ ~2 u; }/ n

  1140. 7 d# \4 g. p* O8 X
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 c% e0 A$ r5 C, s( Z5 W
  1142. ; http://php.net/mysqli.cache_size! s2 H6 g& J/ m' I6 M
  1143. mysqli.cache_size = 2000
    3 r* x/ g0 C; J9 C* u: |% e
  1144. & G# t  c! ]! e. t& w* T
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 s) i$ b; n/ o" g# C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 F* ~* R1 O7 P# [; M$ t& r
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 \! S0 S/ p, ^& b7 X
  1148. ; at MYSQL_PORT.: A5 c! o+ R, [& B5 i9 A, ~, c0 u
  1149. ; http://php.net/mysqli.default-port( X  N1 F3 t* G. V5 \- L
  1150. mysqli.default_port = 3306* M3 m8 P5 N9 X7 `

  1151. 7 ?/ Q- h+ R- j7 z
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * v- b$ \# I; a( F* n8 [7 k) m- U+ p" v
  1153. ; MySQL defaults.
    5 D9 o1 m% C' g, P, W" g
  1154. ; http://php.net/mysqli.default-socket
    4 i5 p6 J, M. E% @
  1155. mysqli.default_socket =
    , f. m4 h( l  g$ r
  1156. : e8 i+ R, j+ R$ X
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 ^/ {1 g8 {& \' v- x
  1158. ; http://php.net/mysqli.default-host
    1 K* p+ J* ]' o0 w. I* X
  1159. mysqli.default_host =8 Q' Y) {( D  |' W$ X' _% H
  1160. & Z6 N8 ?9 @- n) f" m% b6 A
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 y" m# z( r7 I5 R2 u, m# T, f
  1162. ; http://php.net/mysqli.default-user
    6 [/ i& D+ f9 b* W2 F+ `; N; s/ N4 U
  1163. mysqli.default_user =
    - y6 L1 P) p0 P7 ~1 H/ N

  1164. 3 ]# E% ~- E/ ^" m/ Y3 {
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ' a# e( \) T' w% Q9 r
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    + T' ?7 L0 S: T+ |% J% S  _
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( A4 z# I3 E  m, Z+ y, d  y3 A
  1168. ; and reveal this password!  And of course, any users with read access to this
    " X6 m5 a, J* E0 a2 F9 b
  1169. ; file will be able to reveal the password as well.
    + U: _* @7 O4 u+ |6 ~0 b
  1170. ; http://php.net/mysqli.default-pw
    1 O4 L  n2 P/ D8 X5 S8 |: o& G3 N  m
  1171. mysqli.default_pw =3 Z  J' M8 p7 O+ g8 e
  1172. + V. k4 O/ o  p' i8 O
  1173. ; Allow or prevent reconnect; W9 p$ ~& Z7 f6 y2 x5 T- G0 D
  1174. mysqli.reconnect = Off- G. j, {& w/ a) g4 d
  1175. ; c  a$ x0 L5 v2 `: ?4 J; B7 Q
  1176. [mysqlnd]7 F$ x+ `& C/ X0 r+ N
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    # E! K7 O9 u9 O) Y& g  ^
  1178. ; used to tune and monitor MySQL operations.2 t6 C, H+ P# x+ u! R
  1179. ; http://php.net/mysqlnd.collect_statistics
    % l4 Q7 K1 ~3 Q5 J
  1180. mysqlnd.collect_statistics = On
      O+ [% |& {1 w. D- e1 y

  1181. 7 t0 K3 x# h. V6 K: V$ {
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, M; Z: ?" r; g6 V
  1183. ; used to tune and monitor MySQL operations.
    & S3 |5 L) K' l$ @0 v0 I) Y0 h
  1184. ; http://php.net/mysqlnd.collect_memory_statistics- ]: C) S) x# i- v. s
  1185. mysqlnd.collect_memory_statistics = Off6 D7 e* Q0 {: m, Y8 Z; p

  1186. 5 Y# Z9 Q1 M: [, ~8 @
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ; t% R; `) q8 w( W! }# x6 a; {
  1188. ; file.7 N; p5 n) }$ n& [
  1189. ; http://php.net/mysqlnd.debug
    6 `3 Z  ~: ]' b  E4 k9 y0 I
  1190. ;mysqlnd.debug =
    : k9 A' k3 S, p+ |

  1191. 7 ^+ j! s3 ]2 ~5 T
  1192. ; Defines which queries will be logged.
    2 W, v8 w: {3 _. }: b5 N8 w  T
  1193. ; http://php.net/mysqlnd.log_mask9 B: ^" a& }( Z4 F
  1194. ;mysqlnd.log_mask = 0
    8 O0 @( z* ]* c% @8 a

  1195. - V! O1 C( o% i1 f, z! A
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' Z! a+ \9 L% z8 Y+ B
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ( h3 L7 v5 k+ s+ ^$ A8 b
  1198. ;mysqlnd.mempool_default_size = 160006 {3 t" \8 U1 S; K8 ^
  1199. 5 l9 Y0 \+ M$ }! J/ z+ }. V
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.) T3 D4 I) a0 s: W$ v$ }. [2 Y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    , {. ]8 [- M! S7 |
  1202. ;mysqlnd.net_cmd_buffer_size = 2048' T2 G  s$ d# e) t7 }
  1203. + u% Y+ [$ E  b! x+ P$ b7 C
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in* B9 f, R& e6 j5 N. X7 M6 V5 A, r
  1205. ; bytes.
    9 l! q. \5 G: \) r
  1206. ; http://php.net/mysqlnd.net_read_buffer_size4 S% K( p6 m' N( `, n$ i- {/ K
  1207. ;mysqlnd.net_read_buffer_size = 32768
    2 v3 f9 M' Y) w# A4 |
  1208. 7 D" P) q( ?1 a2 V1 j' ?6 h  a
  1209. ; Timeout for network requests in seconds., W+ R6 J$ P+ ~) y- \! @
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # x3 ?/ S0 a1 [* F3 e8 h+ a
  1211. ;mysqlnd.net_read_timeout = 315360005 K& X1 c- N: z; r# a
  1212. 2 p$ n9 V! G) D) r) x
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' D3 ?; i0 R  y0 L3 p" t, p( R  q
  1214. ; key.
    1 F) j8 a7 {- u1 w5 L% T- p9 X
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 g% a; b: V, f2 N
  1216. ;mysqlnd.sha256_server_public_key =
    $ |, ]& D4 y4 f; i. Y3 Z$ }

  1217. " J- y2 B7 ]" I/ W
  1218. [OCI8]
    5 a: s% B7 n( v  {" Z( c9 x

  1219. # V! ]$ M! x& k; ?
  1220. ; Connection: Enables privileged connections using external: O; p( q/ ^9 Q5 f( O
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 L  D5 i5 {' L; B
  1222. ; http://php.net/oci8.privileged-connect
    ) x! U4 i' {& m5 ^: \7 D: r4 [
  1223. ;oci8.privileged_connect = Off1 V# J9 [& l/ |$ ]! ]8 m: U

  1224. 8 Y9 p& Z* o0 W: H2 t
  1225. ; Connection: The maximum number of persistent OCI8 connections per" c& W2 L; C4 X" Z$ E
  1226. ; process. Using -1 means no limit.
    6 b+ r1 T7 k* X/ R( M! O
  1227. ; http://php.net/oci8.max-persistent
    " ]4 `. V3 @' W' ]" y4 C: z! I0 }
  1228. ;oci8.max_persistent = -18 e0 W$ q! k, G+ ?! h

  1229. 8 L7 e; Q) J/ [5 V. s
  1230. ; Connection: The maximum number of seconds a process is allowed to& @! q) j* I; k& {5 F
  1231. ; maintain an idle persistent connection. Using -1 means idle9 v% b) R& ?' H
  1232. ; persistent connections will be maintained forever.
    / s* X& p, b8 e
  1233. ; http://php.net/oci8.persistent-timeout
    * v5 J) G- g; d: Y1 E5 A3 {1 d
  1234. ;oci8.persistent_timeout = -1
    - _6 A; u" G' k% {) q
  1235. 8 |- O7 i  p+ \6 K
  1236. ; Connection: The number of seconds that must pass before issuing a2 d3 O& L- H  t8 n
  1237. ; ping during oci_pconnect() to check the connection validity. When
    * k% c( w) z3 ^3 f
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    + g5 v- N1 m* B* j+ _3 K
  1239. ; pings completely.
    " r9 t) p4 p/ X2 R  {$ F3 @' P
  1240. ; http://php.net/oci8.ping-interval
    1 f5 }  s9 S, `- j
  1241. ;oci8.ping_interval = 60
    : F) c0 ?/ v7 b9 W

  1242. ) f& D4 |, ]; q$ u6 `
  1243. ; Connection: Set this to a user chosen connection class to be used5 B! M* t5 {' V# n* u) d
  1244. ; for all pooled server requests with Oracle 11g Database Resident* e2 ^. j# L  O3 h
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' F- V/ S" E6 [/ D" B0 N
  1246. ; the same string for all web servers running the same application,
    6 G) ]/ w4 Q( T  K3 X! I/ o) C
  1247. ; the database pool must be configured, and the connection string must, _6 o* d' t, X8 C2 K! W
  1248. ; specify to use a pooled server.6 G# d  j8 h$ g6 b
  1249. ;oci8.connection_class =
    1 q' r7 W; S8 ^& e0 {

  1250. 4 d- x: X5 @, ]' d- B1 m) t
  1251. ; High Availability: Using On lets PHP receive Fast Application0 s8 i' ?6 l+ K# S6 [( m9 ~! o' }
  1252. ; Notification (FAN) events generated when a database node fails. The
    7 K6 W; k' ^) M
  1253. ; database must also be configured to post FAN events.% l# x: i& r1 r- t
  1254. ;oci8.events = Off
    3 t- ?3 ~+ S# D- k8 O

  1255. , H; L: L: u8 y5 ]4 l- j# h) K
  1256. ; Tuning: This option enables statement caching, and specifies how" m7 B6 e% x9 t* E
  1257. ; many statements to cache. Using 0 disables statement caching./ V$ {% `* G  f" K/ A
  1258. ; http://php.net/oci8.statement-cache-size
    1 S  ~) A1 o* t/ G0 }. D6 T0 r
  1259. ;oci8.statement_cache_size = 20% d: v8 J0 Q+ a
  1260. 3 J9 b* {) B3 y. l. X3 `
  1261. ; Tuning: Enables statement prefetching and sets the default number of) f/ T5 B( ^+ l
  1262. ; rows that will be fetched automatically after statement execution.
    ! Z$ Z% A9 P& v; Z
  1263. ; http://php.net/oci8.default-prefetch
    1 H3 V; i* p. A$ _# }4 h3 s. p
  1264. ;oci8.default_prefetch = 100
    $ m* ~. `6 `' k# A; M' k

  1265. 8 Y: |+ }) Y; ]0 L3 f
  1266. ; Compatibility. Using On means oci_close() will not close
    ! z( b9 ^, R  I0 U0 Z  T6 k
  1267. ; oci_connect() and oci_new_connect() connections.
    4 C. {! K; n  T5 ~+ p# T
  1268. ; http://php.net/oci8.old-oci-close-semantics
    & U) ~2 M3 a  f
  1269. ;oci8.old_oci_close_semantics = Off  Q, a2 }! ~! I  V, X
  1270. 4 J( q0 {* v  q/ Q8 o
  1271. [PostgreSQL]2 L& m: p& M( ^9 Y
  1272. ; Allow or prevent persistent links.
    6 h0 U5 d; R0 f- @* g# P- d
  1273. ; http://php.net/pgsql.allow-persistent3 M: ?9 a) s" ~0 A& v
  1274. pgsql.allow_persistent = On
    4 X- Q' q5 f9 |' q

  1275. - `8 N. B/ F0 C* h
  1276. ; Detect broken persistent links always with pg_pconnect().  i  K+ m- q: N/ [* o
  1277. ; Auto reset feature requires a little overheads.
    - q5 b2 _9 M4 f7 }, r5 R
  1278. ; http://php.net/pgsql.auto-reset-persistent: k0 D  @3 S/ p# R! ^, `
  1279. pgsql.auto_reset_persistent = Off
    9 {* m) ^0 F) B8 P4 q9 y

  1280. + k0 L6 v6 u) R
  1281. ; Maximum number of persistent links.  -1 means no limit.* f5 G) u( N0 E$ Z7 E
  1282. ; http://php.net/pgsql.max-persistent7 g4 J9 ]9 @3 b, n0 s
  1283. pgsql.max_persistent = -1
    - u0 h9 C* F  A  s+ k) k
  1284. ' R4 ?$ }1 n. W( f
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." ?# c8 F' M; S; O' o' t4 {
  1286. ; http://php.net/pgsql.max-links
    " a0 o+ _3 a- E1 Z- A) t
  1287. pgsql.max_links = -1" Y4 E' g$ D8 _  d
  1288. 3 \0 O0 D1 w- I5 v6 P. D
  1289. ; Ignore PostgreSQL backends Notice message or not.) v& d8 r6 ?6 \" x8 r$ z0 Z7 `
  1290. ; Notice message logging require a little overheads.
    9 L) n. Q1 A, S# F
  1291. ; http://php.net/pgsql.ignore-notice4 P( {0 M7 c# F0 e( M; u, U
  1292. pgsql.ignore_notice = 06 J) d; \2 H, a

  1293. / @5 w- }: z; t" M, @9 {
  1294. ; Log PostgreSQL backends Notice message or not.+ W) }1 \7 j  D/ s# P
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message., S4 p- S! T, V8 }) }
  1296. ; http://php.net/pgsql.log-notice
    $ n6 k% F7 O3 j# N# t" B7 y/ I
  1297. pgsql.log_notice = 0- B2 C2 P" w0 o' K( t+ d8 ^, S+ _
  1298. + P8 l/ d# E: [9 h
  1299. [bcmath]
    3 I; _  w$ e+ u
  1300. ; Number of decimal digits for all bcmath functions.. {3 t% B- B2 g! m
  1301. ; http://php.net/bcmath.scale
    # [! h1 ^: Z; z9 ~* t- t
  1302. bcmath.scale = 04 e; h5 c9 E4 G; m

  1303. 9 A; }2 Z6 P3 T( M, K2 K6 N
  1304. [browscap]
    ' N) U" u4 q+ T: x5 N
  1305. ; http://php.net/browscap% O9 {, f$ k; V  g, S$ |9 P$ T$ b, B* b
  1306. ;browscap = extra/browscap.ini
      I9 ^% ~' T, R: B& M: F1 B

  1307. . E4 q; E" t7 P5 [4 i# z
  1308. [Session]& B% X/ X! F& j" i  g
  1309. ; Handler used to store/retrieve data.
    2 V1 }3 B* y. W: J: v
  1310. ; http://php.net/session.save-handler
    $ y3 D: A8 |4 u; ^$ _) x
  1311. session.save_handler = files
    - B4 q$ f; X# z* L
  1312. : d- N6 {. I$ D. N' |2 U- |" o
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; o0 V% s* c6 k2 z+ ~, l
  1314. ; where data files are stored. Note: Windows users have to change this
    / A% p: D1 b7 Z2 L
  1315. ; variable in order to use PHP's session functions., ?) x3 ~- M; r* x) _- J
  1316. ;' |" J6 `0 ^1 E! i
  1317. ; The path can be defined as:
    8 U# U4 V3 R  n8 `/ x* A
  1318. ;
    - p  [5 L* d0 d+ @( B
  1319. ;     session.save_path = "N;/path"5 ~0 e8 w7 \+ r
  1320. ;' k4 ]# N: K1 f0 M3 `: ^
  1321. ; where N is an integer.  Instead of storing all the session files in2 p7 ?$ l% p& k' a# k2 d& `0 J
  1322. ; /path, what this will do is use subdirectories N-levels deep, and# u% c/ j  k6 M: h& B1 F
  1323. ; store the session data in those directories.  This is useful if
    3 n/ T* k6 N% p0 t. `
  1324. ; your OS has problems with many files in one directory, and is
    & }8 d: `5 B/ r' T! N# h4 e
  1325. ; a more efficient layout for servers that handle many sessions.
    + J* U% ]( O+ K( H# \" e5 |
  1326. ;
    & m( ?& a' E6 ^( U' C; v& y
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & d  y* A. v2 h1 A
  1328. ;         You can use the script in the ext/session dir for that purpose.- g+ D/ }! z3 G9 ~5 C+ M/ y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to; R" L- U- ], N9 ~  @0 x7 t
  1330. ;         use subdirectories for session storage
    ( W5 V6 P& ]# }( l
  1331. ;
    + e! _" J- l% m$ l# P6 j3 C- w% R& _3 R  d
  1332. ; The file storage module creates files using mode 600 by default.) f5 [5 G5 O, S2 m" O
  1333. ; You can change that by using; P9 B! b! f& M. g
  1334. ;
    4 v' Z: Y0 f+ R
  1335. ;     session.save_path = "N;MODE;/path"
    ; J0 d, O( O% h0 i, U0 g
  1336. ;
    : f" F0 h5 B4 I, E
  1337. ; where MODE is the octal representation of the mode. Note that this
    ) B& o4 i( R' L7 H1 u$ I
  1338. ; does not overwrite the process's umask., s1 i" y# {6 L* [
  1339. ; http://php.net/session.save-path' V/ n+ p; o7 T7 g5 Z% ~
  1340. ;session.save_path = "/tmp"
    5 [9 n$ H% t. [
  1341. 3 S3 k. |% _& W; u) w$ R
  1342. ; Whether to use strict session mode.  M) N" f  e3 R6 ~) r
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate+ P# f# }% z: s! X# {/ |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ' w3 i/ i/ B& [9 G! U3 X* i3 X
  1345. ; applications from session fixation via session adoption vulnerability. It is
    + Z! N! q9 A  d
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    * b3 R! u3 u5 i2 G
  1347. ; https://wiki.php.net/rfc/strict_sessions5 O; T( J# j& E' j. w8 i, w( P8 _
  1348. session.use_strict_mode = 0( X( L0 `. V4 q  N; ~1 g
  1349. 7 {4 H6 q; v# x) A
  1350. ; Whether to use cookies.
    4 L+ E: B' H4 p1 Y3 I+ M
  1351. ; http://php.net/session.use-cookies  l8 m. P8 D  Y$ z, X8 K- Q
  1352. session.use_cookies = 19 I, b8 Z) w8 o7 P  Z* _; m; o

  1353. 9 s1 ~( h1 v" r$ I9 w  A' |# u7 [' N
  1354. ; http://php.net/session.cookie-secure
    6 u  b0 J7 P+ F, Q* A
  1355. ;session.cookie_secure =
    $ B8 P2 f. `' [" z

  1356. 6 k' Q1 l0 P8 T7 m4 z. Y
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 k) _$ j/ _4 I5 N0 ~! m
  1358. ; the session id. We encourage this operation as it's very helpful in combating7 y6 z# R$ `! ]# H
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 [# u3 s3 Q5 \* e7 N( l# S
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 u8 _8 `, d' M0 N6 F2 D, ?. Y! h
  1361. ; http://php.net/session.use-only-cookies, g1 }5 t6 Z2 K, T) F5 d% c
  1362. session.use_only_cookies = 1) V9 _& y8 j$ w' i

  1363. " p; |1 n1 T2 K9 R% `/ a& U
  1364. ; Name of the session (used as cookie name).5 n, ^8 R; h# m, v( c) X; O
  1365. ; http://php.net/session.name6 G, T9 Z$ s2 a
  1366. session.name = PHPSESSID
    8 w  a: P' k+ f( r9 N

  1367. 3 j  \/ O% O$ t; `  T- q! c" T7 W
  1368. ; Initialize session on request startup./ n& t5 I7 K" ?0 Y
  1369. ; http://php.net/session.auto-start
    % J, X% M5 M& f! u9 A0 U9 ]
  1370. session.auto_start = 0
    ) T7 R% d: D4 N% l6 S
  1371. % o# v% }" X# C; H; B
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# B% g; e- m& X1 J' k+ d% P" l
  1373. ; http://php.net/session.cookie-lifetime
    0 D9 p) u7 l5 l$ c
  1374. session.cookie_lifetime = 0# t& c3 |, ]7 L( F8 Q

  1375. 7 z/ @1 m! u2 g5 D
  1376. ; The path for which the cookie is valid.
    5 B8 M, m) {& ]/ j
  1377. ; http://php.net/session.cookie-path
    ) W5 y8 M5 }1 g9 J1 v+ w5 y
  1378. session.cookie_path = /
    1 H) u% v! u$ C: X
  1379. # l$ m2 ?, a7 j1 r9 H7 V
  1380. ; The domain for which the cookie is valid.
    # ?( f) m% N% S, C1 ~6 O6 s
  1381. ; http://php.net/session.cookie-domain
    ) F" B5 c! Y2 e& _& z
  1382. session.cookie_domain =" c  T$ Q$ J4 s" b
  1383. 1 m/ a) J1 d0 G. |/ u
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.0 m9 p3 a  }3 o( i* Z9 ]& w
  1385. ; http://php.net/session.cookie-httponly
    & T0 {" c6 Y' X+ f! ?: O& R
  1386. session.cookie_httponly =
    0 m& B1 O- d. x8 |
  1387. 6 o. ~5 Y+ u+ Q9 |( T( h) G1 p
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.; x7 E9 R  i* b+ T3 ?
  1389. ; http://php.net/session.serialize-handler
    3 q& ^4 P7 f. C3 Y
  1390. session.serialize_handler = php
    ( o0 k# o- f' x: T

  1391. $ G; \/ _/ [# G' m: |+ h
  1392. ; Defines the probability that the 'garbage collection' process is started+ `3 i9 v; w4 L2 n; J2 N3 e/ a
  1393. ; on every session initialization. The probability is calculated by using# B( G1 K6 g- [* @5 {
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 o) m1 v4 p9 U+ t
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 11 z6 `4 E. x* r% a* _0 k5 p
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. L/ y: a: F! K0 s
  1397. ; the gc will run on any give request." E2 S4 B& l" J1 Z" k
  1398. ; Default Value: 19 W5 X. i8 b2 L/ j1 z
  1399. ; Development Value: 1
    1 o) e7 _  \1 N9 l  Y( |& u  V
  1400. ; Production Value: 1
    4 A) b: X" x9 c7 Q2 u( A& K6 R
  1401. ; http://php.net/session.gc-probability
    8 j' K  G3 K  X2 `% }
  1402. session.gc_probability = 1
    " n1 ^+ k. @  r  V

  1403. 1 z4 x1 V$ J: Q
  1404. ; Defines the probability that the 'garbage collection' process is started on every3 t# O9 ^1 i* j, }
  1405. ; session initialization. The probability is calculated by using the following equation:; j7 K: k6 [7 V" W4 E* H4 n
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / ?* l1 m" i) H/ T2 p6 F9 p1 T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  G' O. J8 L, [9 J/ |
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 B2 S  s! _9 q* R; L
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you8 C  C4 y4 b2 v8 b+ G
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * h8 A5 k" x- k; j/ V
  1411. ; this is a more efficient approach.  t( [' V$ L( T7 J: @1 Q; [
  1412. ; Default Value: 1001 c+ k& B% A! a0 l# z) J' d, J
  1413. ; Development Value: 1000" l# \! _" \+ b2 A
  1414. ; Production Value: 1000% _  @' ?7 C% ^& T7 Y
  1415. ; http://php.net/session.gc-divisor
    $ i; s$ \5 p; h
  1416. session.gc_divisor = 1000
    % G# a8 b5 d! Y# W$ j7 j
  1417. 4 q" G* _2 s2 t' g  \. [; f, e  S
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 |, o1 E3 F1 Z3 y
  1419. ; cleaned up by the garbage collection process.1 d: F. N3 M0 ~: p
  1420. ; http://php.net/session.gc-maxlifetime8 A6 z3 }% W) G# q
  1421. session.gc_maxlifetime = 1440
    0 B% E6 N6 V1 E. x' F% A, q' V

  1422.   Z0 y+ x. c2 j& j6 u& V$ A
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    - I$ E7 |+ h6 O# s- Y# p
  1424. ;       (see session.save_path above), then garbage collection does *not*
    " Z! `, r& r0 R7 B
  1425. ;       happen automatically.  You will need to do your own garbage
      f2 g0 d+ L7 m! _6 N7 S
  1426. ;       collection through a shell script, cron entry, or some other method.& ^* Z. Y; R5 {  q
  1427. ;       For example, the following script would is the equivalent of
    " v# b0 {. {1 R! i; S+ g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 p; G8 S0 J( K5 `
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    # u$ I" C8 h" B0 J1 L' n" n

  1430. / ?- i8 \7 ^, Q+ i. R
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + a; v. J9 X* i9 @
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ; `6 L6 u$ \1 `" a- ]- t; h5 E
  1433. ; considered as valid.' }5 @8 u- I  H
  1434. ; http://php.net/session.referer-check
    4 _  u  h. A1 E& h3 e6 k1 ]
  1435. session.referer_check =
    ! ?6 l2 x# U$ E' k
  1436. % i7 _0 }9 v4 |8 a1 m  @
  1437. ; How many bytes to read from the file.
    5 ^9 U6 L8 V( ^3 v* _
  1438. ; http://php.net/session.entropy-length
    3 s! n( `# T5 X7 S: \
  1439. ;session.entropy_length = 321 I" h* Q" H0 d/ Q% Q
  1440. . k, M* F- q& E2 r
  1441. ; Specified here to create the session id.. [; E5 V- d$ n( ]; U
  1442. ; http://php.net/session.entropy-file
    ; I. ^) K/ `( {9 a
  1443. ; Defaults to /dev/urandom
    3 m8 N  _" s7 j/ O8 _! F3 T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    $ e7 v  @( Z- s! q# T
  1445. ; If neither are found at compile time, the default is no entropy file.$ ^6 E8 i  q# z) m
  1446. ; On windows, setting the entropy_length setting will activate the! F$ K( O8 `7 ~
  1447. ; Windows random source (using the CryptoAPI), W; q, `& g3 P9 e4 B& r! ]
  1448. ;session.entropy_file = /dev/urandom
    " b3 M2 Z8 V4 [0 a  f
  1449. % {. x& L( V5 h' i; f" d1 r
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects2 Q+ v3 _* R2 f" E: }  Y
  1451. ; or leave this empty to avoid sending anti-caching headers.
    8 ^+ x6 E9 c" J+ q- _4 T. Q
  1452. ; http://php.net/session.cache-limiter- [2 l4 Q9 e8 |( u
  1453. session.cache_limiter = nocache3 |* y, G$ f) d

  1454. 8 O( Q/ _7 r) ]5 _$ D
  1455. ; Document expires after n minutes.
    1 D0 Z  A1 n- E' {1 ~$ f
  1456. ; http://php.net/session.cache-expire
    ' `7 f9 P8 w4 Q; f- ?  z& C% f
  1457. session.cache_expire = 180. |. D0 D- o9 t( t+ P
  1458. . ^  j# h; o( i. s1 c! [/ [1 i0 H
  1459. ; trans sid support is disabled by default.7 b; _$ ]- p" }: f+ ]& c
  1460. ; Use of trans sid may risk your users' security.
    - d  q' [( X* M
  1461. ; Use this option with caution.2 Z) f( q0 t& k4 @( p6 m1 E
  1462. ; - User may send URL contains active session ID
    ) N: c- l7 u! E3 q5 A* {
  1463. ;   to other person via. email/irc/etc.
    2 p' V& D# y0 B  y9 u& j: d
  1464. ; - URL that contains active session ID may be stored7 ^  v/ `  ^/ N2 b7 m; d- i; T
  1465. ;   in publicly accessible computer.
    2 Y; s' \# A+ i4 a0 X* S4 i9 g
  1466. ; - User may access your site with the same session ID: ~0 X/ k7 W7 e- ^5 Y+ x9 Q9 w
  1467. ;   always using URL stored in browser's history or bookmarks.  a0 J5 k4 W9 ~  x: B% ]$ m; j3 |
  1468. ; http://php.net/session.use-trans-sid+ n8 }1 Z2 ^: c9 o
  1469. session.use_trans_sid = 0& |7 A  i0 v3 d: m! Z% Z$ m, ]
  1470. % i2 N, i3 H( a1 \
  1471. ; Select a hash function for use in generating session ids.4 C* M3 T5 n$ b4 M2 H9 I6 ]; P  d
  1472. ; Possible Values! R. p3 e: T# d/ E2 ^! O
  1473. ;   0  (MD5 128 bits)4 @  @9 T/ c% |) P2 S8 g
  1474. ;   1  (SHA-1 160 bits)5 ~7 W3 B; R/ n7 v
  1475. ; This option may also be set to the name of any hash function supported by, j* \3 D. x3 X( P- I; c% f$ H
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- c# ]' Y1 ^4 E( U1 ~7 I4 g
  1477. ; function./ b  m- c: z7 P' J& f8 [
  1478. ; http://php.net/session.hash-function( d/ C) z) F6 y
  1479. session.hash_function = 0- h3 u3 v: a4 l& S# u

  1480. ; |! u/ p  d1 v# R6 @" e
  1481. ; Define how many bits are stored in each character when converting- O6 l2 _0 i& u2 |8 |+ g, x6 t
  1482. ; the binary hash data to something readable.
    6 W) G. T3 ]; T% J$ Q) a! S
  1483. ; Possible values:
    - L  z9 \" Y8 t- O1 p5 H8 P1 M
  1484. ;   4  (4 bits: 0-9, a-f)
    7 [6 k( v8 m6 ]
  1485. ;   5  (5 bits: 0-9, a-v)
    ; Z5 ]' v3 o" w
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( X0 Y# n; ?9 A8 i: [* j+ J1 R( d
  1487. ; Default Value: 4
    3 V9 V6 N9 R, Q& q, Y
  1488. ; Development Value: 5
    $ Z( [% q7 z/ N# r6 N2 |
  1489. ; Production Value: 5* ^! u- F" C3 z+ j; k+ b
  1490. ; http://php.net/session.hash-bits-per-character
    4 U/ c% p, u9 d5 w  L1 v" A: U4 N4 w
  1491. session.hash_bits_per_character = 5. C5 s0 o* Z6 w; |
  1492. . Z; |- h2 |7 {" K' Z
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    + r, n5 ~" s: X9 A" g
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ( r" b6 v3 R# [) O
  1495. ; add a hidden <input> field with the info which is otherwise appended
    / U4 I7 {( i( \, W# Q- [# X
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry." E6 e; {* C1 u' w- J# R* O
  1497. ; Note that all valid entries require a "=", even if no value follows.
    6 p  ~/ d0 E3 S  D5 ^/ u
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 _! m8 t% I6 @6 w
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 f0 l0 @! ^4 ^9 j( u5 u( ?
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% H3 e) T- r8 Q, D0 v" E: [: V7 b
  1501. ; http://php.net/url-rewriter.tags/ D' P2 n  E, o7 t+ ~
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry": F' l0 R: Z& r8 [5 h% w& x

  1503. + N4 ~5 F; y# `' L$ b
  1504. ; Enable upload progress tracking in $_SESSION
    0 u0 N0 ~5 P( J* X. m
  1505. ; Default Value: On5 ^% J6 f, S- V
  1506. ; Development Value: On1 _" J0 h4 L) A/ V0 |6 X
  1507. ; Production Value: On
    7 @, _  G0 D) A, S& [
  1508. ; http://php.net/session.upload-progress.enabled+ I. x8 y. K; Q  H( L
  1509. ;session.upload_progress.enabled = On& V& n  Z4 y' y0 b

  1510. ; x* y$ _' G3 g, c9 |+ \* I! d
  1511. ; Cleanup the progress information as soon as all POST data has been read! T9 V5 G8 ^* @
  1512. ; (i.e. upload completed).
    , m, z8 y% l; g% w
  1513. ; Default Value: On
    / n) n9 `4 E4 k) ]% |' S) R% b
  1514. ; Development Value: On+ }0 N) T9 J  h, w5 J: C7 i
  1515. ; Production Value: On
    , d" V7 k7 F& A0 B# H! ]
  1516. ; http://php.net/session.upload-progress.cleanup
    - @% K# D+ ^7 ?; |* V# M/ L
  1517. ;session.upload_progress.cleanup = On
    6 L( w' [. t  }2 G# s/ c* u

  1518. ( g) E4 t0 L: d( B, B
  1519. ; A prefix used for the upload progress key in $_SESSION8 h8 c2 [$ R+ ]0 q5 c* ?' f
  1520. ; Default Value: "upload_progress_"5 ]* h8 g/ F, _
  1521. ; Development Value: "upload_progress_"9 ?; F9 S+ A5 l3 q6 @6 g0 J
  1522. ; Production Value: "upload_progress_"; {0 M1 d$ F- [  [3 j1 W3 G: a8 X
  1523. ; http://php.net/session.upload-progress.prefix
    " L6 X# ]5 g, k- e
  1524. ;session.upload_progress.prefix = "upload_progress_"0 D" j! l- Q- I: l2 A

  1525. / n7 R; i, L  i
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ( G% p0 v; [; o4 L+ r& e
  1527. ; containing the upload progress information: J: Y/ k) c0 O: n: I3 L1 a( U
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 E5 Z/ i5 R  `* W! q
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 E& }7 X* B# m  F
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , u6 w% I. ^* ]9 k8 `. O
  1531. ; http://php.net/session.upload-progress.name
    * h+ n7 r) U  ]: _0 X( M2 T) O  {
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* o2 o4 O) |% E8 ~
  1533. : }& A$ W  t1 }7 E$ G
  1534. ; How frequently the upload progress should be updated.2 z$ E7 x9 g5 w0 \
  1535. ; Given either in percentages (per-file), or in bytes5 X; c+ a, I1 q: W& M# N
  1536. ; Default Value: "1%"
    - U/ g; I1 j4 C/ Y( `9 c' n* O5 F6 \
  1537. ; Development Value: "1%") X' e9 D2 M" z, r% d, m
  1538. ; Production Value: "1%"0 K5 a; b7 E- T* \9 s$ Z; q' [" _
  1539. ; http://php.net/session.upload-progress.freq% V! U8 T  r9 t# L# v2 W& z/ o. A
  1540. ;session.upload_progress.freq =  "1%") @1 R3 }% n/ i5 w

  1541. " \+ w7 g8 Z6 g0 {# Z% S8 w
  1542. ; The minimum delay between updates, in seconds# B5 p  z  h2 C+ C
  1543. ; Default Value: 12 D' K/ U' a* L
  1544. ; Development Value: 10 `  M  q1 L2 b, I, B% x
  1545. ; Production Value: 1, J0 b1 V+ H( n3 y3 r
  1546. ; http://php.net/session.upload-progress.min-freq' b5 ?& B* D& b8 |1 o' m
  1547. ;session.upload_progress.min_freq = "1": Q3 h* K5 O  j& A( {

  1548. : T+ p& O. J4 i# j5 p1 g
  1549. ; Only write session data when session data is changed. Enabled by default.
    / h$ q$ J0 ]! Q' V$ f7 g/ W
  1550. ; http://php.net/session.lazy-write' x' z. S  m: n9 m, S$ E9 k5 ^2 f
  1551. ;session.lazy_write = On
    8 K" g  ^* V6 M* F

  1552. & ^& K8 V$ c! O9 u4 B
  1553. [Assertion]
    2 M7 l" F9 e4 ?! |6 _
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)/ N- Q& o% F5 P$ I$ n
  1555. ; -1: Do not compile at all3 b$ d" v. g  g
  1556. ;  0: Jump over assertion at run-time
    4 ^7 m( |! {, y3 K- k
  1557. ;  1: Execute assertions
    ! {( C( Y+ n  Z
  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)
    9 K7 [. k* ], ?& b
  1559. ; Default Value: 1
    8 g- R" p3 w( f+ @; I: E
  1560. ; Development Value: 1
    ' C: e3 P) x; n0 \/ E1 o  v" _
  1561. ; Production Value: -1, A  [1 [) C* ^
  1562. ; http://php.net/zend.assertions5 p6 B# u6 j4 Z; Z2 b/ n% J
  1563. zend.assertions = -11 a+ C0 l" l/ A) X0 h
  1564. " R7 ?2 d7 J0 D/ V' T5 |- Z2 ~
  1565. ; Assert(expr); active by default.( R, c9 ]" Y9 C! I8 d
  1566. ; http://php.net/assert.active
    2 g/ P& f4 H' W' Q4 |; w
  1567. ;assert.active = On
    1 c" w' {) k/ |8 h+ M1 z# N

  1568. * Q' v3 d7 A" T2 D2 {$ d* F
  1569. ; Throw an AssertationException on failed assertions. w; x% D3 @# X; D3 M% \
  1570. ; http://php.net/assert.exception
    7 ^+ S; m/ |$ W5 W6 z% h5 L, Z
  1571. ;assert.exception = On
      R. G+ O. o' w. E8 s7 ?

  1572. % M8 m8 J7 ~! q5 X
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)8 ]) z3 M# f: ?  V. @9 N) t) N6 X+ v
  1574. ; http://php.net/assert.warning
    . d0 S  d+ e  {7 r
  1575. ;assert.warning = On
    / a, q, {2 E( O3 Y8 K* Q

  1576. ! n: t1 O  g' c: L# ^8 c
  1577. ; Don't bail out by default.
    2 M: R5 H/ N3 z; @. }
  1578. ; http://php.net/assert.bail1 Y# ~- M( D) z2 m  G* R
  1579. ;assert.bail = Off/ T2 G1 U) e# x" r

  1580. ! ^: e6 K6 q" ?% p! K
  1581. ; User-function to be called if an assertion fails.! P* a* }) E8 {  F2 u4 ^% G3 b
  1582. ; http://php.net/assert.callback
    6 \2 P+ R) W  x# X( s
  1583. ;assert.callback = 0: ?  K0 G0 K( h* m1 p0 D" ]
  1584. $ z7 A- C- e9 F, X, e- o
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , Q( R* @) y" x, g
  1586. ; error_reporting(0) around the eval().
    2 d% n3 x8 [1 o
  1587. ; http://php.net/assert.quiet-eval/ o( K  h2 S" ?! O6 H
  1588. ;assert.quiet_eval = 0+ X# ]+ {1 D4 G! `1 \4 i
  1589. " ^) t# Z5 o8 P3 P: @+ ~
  1590. [COM]
    ! A; _2 g: x; C/ b. X! U
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs$ B6 B9 }- [% l0 h- q- h7 o& f
  1592. ; http://php.net/com.typelib-file- U- z3 v- d( w2 W% t8 |
  1593. ;com.typelib_file =0 |& H/ o5 P: j" t' I* G
  1594. ) u9 L7 O7 M. q& ^+ t# g
  1595. ; allow Distributed-COM calls
    2 I, l) V& O/ S0 f( z" f9 y
  1596. ; http://php.net/com.allow-dcom
    5 O/ L- h+ C' D& j4 _5 K: [# T1 U
  1597. ;com.allow_dcom = true1 ~7 J" Z, z+ e& @
  1598. % t7 O( d2 T# g$ ?& u
  1599. ; autoregister constants of a components typlib on com_load()
    3 D4 l9 D" Q, B& F
  1600. ; http://php.net/com.autoregister-typelib8 w0 `8 Q; D& E4 |* H  D
  1601. ;com.autoregister_typelib = true
    2 f% ^) R% z% N& U# H1 n, g
  1602. % L' y& Y* c7 t- e
  1603. ; register constants casesensitive
    4 J& H/ b0 O! v% z
  1604. ; http://php.net/com.autoregister-casesensitive
    6 _8 \, ?- ^2 X* L
  1605. ;com.autoregister_casesensitive = false
    ! w+ ?4 |6 {' Z& R! F* M; p4 t

  1606. ) c5 P( g5 @* k1 A, s. [0 v
  1607. ; show warnings on duplicate constant registrations
    3 i: v9 y1 f* r4 N5 v
  1608. ; http://php.net/com.autoregister-verbose
    # @% O! d- G6 F! |: h% L$ Y
  1609. ;com.autoregister_verbose = true
    " R  W( p, }5 ?6 M' G. `9 S

  1610. ) s+ ^7 r" P% e1 Q# l& k8 w
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    % D* X; u4 P) D. s
  1612. ; Default: system ANSI code page
    6 `/ L# x) e1 B. B) S* p
  1613. ;com.code_page=
    $ P; i5 j' M, ~" Q+ ^
  1614. 0 C1 |- y$ }( Q. {1 _/ p4 H- K: X
  1615. [mbstring]
    . x9 ?! }4 Y5 E
  1616. ; language for internal character representation./ Q; ?, n0 O' h/ W0 k+ {
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    # |6 f$ s' `% v
  1618. ; http://php.net/mbstring.language1 u" m9 ?7 z8 {
  1619. ;mbstring.language = Japanese
    $ p- e- U9 Z8 }
  1620. 7 D+ @" |) ^3 R% Z6 D( C! w" o5 P
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; |( Z: T8 A; S7 E0 s" {
  1622. ; internal/script encoding.
    . F( N; H5 _4 D9 m$ Y5 g; ^
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)* Q4 _7 X+ M. `+ _9 C' u6 X6 `
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! [: {# z! p3 A: z% E
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 W. {/ ^" x0 ]! I
  1626. ;mbstring.internal_encoding =0 ~- @% S* `+ l  N
  1627. , r  G: j: M' g2 m) [' f* Z
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 O: m% E0 z) J5 V9 `' o
  1629. ; http input encoding.: V; W5 K1 U3 f$ s+ w# _
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    " Y1 |" q3 }2 \8 H! C
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ' l0 I2 A7 Q& ?* F: W1 N& Q7 U' f
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 M9 _7 [+ e- J3 m8 K/ U7 U$ ]
  1633. ; http://php.net/mbstring.http-input+ Y' I- U( Y8 g; `0 ]
  1634. ;mbstring.http_input =
    7 i- X3 l+ d, N* h) O0 f
  1635. 6 I2 B5 _6 i# u0 D# T7 y8 j. d; Y
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 _& c$ p3 O' e) i4 u
  1637. ; http output encoding.6 `6 W; p9 J  t  u' u: o0 U7 o
  1638. ; mb_output_handler must be registered as output buffer to function.
    / E& k+ {7 W+ w2 U0 ~
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& l( g" i& v  `/ `
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 r3 g4 |, @! ]
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ( l; x% Y6 q7 U1 Z; A) c  O& j
  1642. ; otherwise output encoding conversion cannot be performed.
    & D8 S5 `, N2 e% K( @, L0 \9 Y
  1643. ; http://php.net/mbstring.http-output2 O# {% l4 v8 o9 u6 \% r' ]
  1644. ;mbstring.http_output =& A" ~6 v* A8 `" G5 v; c% s

  1645. 0 `* E# O% m4 K8 Q* w, ^/ d
  1646. ; enable automatic encoding translation according to
    " B! U0 C$ Y, B! I, H# \2 c
  1647. ; mbstring.internal_encoding setting. Input chars are, o" r( S7 N2 J2 F5 {
  1648. ; converted to internal encoding by setting this to On.( G! f7 F  f: A; o3 T5 M
  1649. ; Note: Do _not_ use automatic encoding translation for3 p* @5 X8 k  g: k% \; _
  1650. ;       portable libs/applications.
    ) B, K" g9 w9 K, `( o
  1651. ; http://php.net/mbstring.encoding-translation" e$ \% w3 o0 m4 v3 p
  1652. ;mbstring.encoding_translation = Off6 t  P6 I9 r7 B3 Y; w$ H
  1653. + m5 x* q! B# W' c# b1 p
  1654. ; automatic encoding detection order., C3 C& g+ O* _% D" R, e
  1655. ; "auto" detect order is changed according to mbstring.language
    2 t. _5 u* k1 S+ p
  1656. ; http://php.net/mbstring.detect-order
    % o5 Z& M; e" s0 ?
  1657. ;mbstring.detect_order = auto
    : O+ w+ q. h7 {* ^! [) w
  1658. $ j, n; X: a" E1 x3 C: K) K+ J) z3 J
  1659. ; substitute_character used when character cannot be converted% i& s" W; c; g  @9 X0 Y: W; K  Y
  1660. ; one from another; M- L$ J+ C. H
  1661. ; http://php.net/mbstring.substitute-character
    # ~! X8 u/ K( N8 N* i5 M4 I  d
  1662. ;mbstring.substitute_character = none& n8 q/ i8 f; q  C( k/ U
  1663. " L! K' d( G6 W5 C; ?
  1664. ; overload(replace) single byte functions by mbstring functions.# o2 Y9 ?( [% B) J6 Y5 _
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# T- s5 ]8 U" _$ e2 J& L
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    4 x+ \0 m' ?* e/ V# W' g* h; p
  1667. ; For example, 7 for overload everything.
    " a6 n" [0 w8 O3 H+ _6 ]
  1668. ; 0: No overload5 r; |+ w' Y# f2 U* S# Z0 Z1 _
  1669. ; 1: Overload mail() function4 e, c7 m5 k( U
  1670. ; 2: Overload str*() functions; z  d# v0 J8 ^7 B  R0 a
  1671. ; 4: Overload ereg*() functions5 x4 m3 l: b! v( L& m' H
  1672. ; http://php.net/mbstring.func-overload: i4 x1 b1 q9 x; a
  1673. ;mbstring.func_overload = 0
    , ~6 n. S8 r2 [4 t2 V- C* M9 \
  1674. 8 g+ Q2 o8 L8 y" F( ]& T, A* z
  1675. ; enable strict encoding detection.
    & e; L5 j' E, |" k+ n( t
  1676. ; Default: Off
    - O/ ?( G, Y, m: G$ @% G1 `
  1677. ;mbstring.strict_detection = On
    3 N5 x6 e6 J1 Y  }  S) L
  1678. / G2 Y1 V5 ^, C  c$ y6 I6 E
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    1 ]/ s7 V0 _& t" V
  1680. ; is activated.7 D+ k% W/ V1 a) l) a2 j
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)) c1 |  B$ V6 A& T
  1682. ;mbstring.http_output_conv_mimetype=
    8 K$ c" W# D% ~0 j, J7 S' _
  1683. & y8 V" R% R9 {
  1684. [gd]
    " k0 _) T6 J4 E
  1685. ; Tell the jpeg decode to ignore warnings and try to create- u7 d1 O: t- s! {" h( {
  1686. ; a gd image. The warning will then be displayed as notices
    - n9 d$ s: Q8 k: A
  1687. ; disabled by default1 g. }* L0 H8 ^: {
  1688. ; http://php.net/gd.jpeg-ignore-warning$ {, c/ T  L% ^9 z2 D0 N7 r" k
  1689. ;gd.jpeg_ignore_warning = 06 s8 r; [' ~; Q, [; S

  1690. * }* b) S3 G" }7 `3 U2 B
  1691. [exif]
    ; b, x' e# z$ y' U7 B  V
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ B& o3 |. F, b) J
  1693. ; With mbstring support this will automatically be converted into the encoding
    + H" R( r/ ]- M8 B4 N1 j4 F
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding) |+ x# A# x" M5 C2 k
  1695. ; is used. For the decode settings you can distinguish between motorola and# v3 h" A/ c+ m& g& ~# U7 V
  1696. ; intel byte order. A decode setting cannot be empty.
      V. y+ M4 _4 r
  1697. ; http://php.net/exif.encode-unicode
    1 |0 j/ T* {; S% t* |: Y4 c
  1698. ;exif.encode_unicode = ISO-8859-15  }3 i+ a) |6 L: U& [; [
  1699. 6 b! q( P- w' H0 {+ k
  1700. ; http://php.net/exif.decode-unicode-motorola
    4 L, S3 T8 A9 f+ G$ k
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    2 y5 O5 H  J  z, X( G9 X! f; h

  1702. ! b# i& o7 C) h, Y
  1703. ; http://php.net/exif.decode-unicode-intel
    . l! e+ |* c8 w  d
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ' u7 M0 G: p) ~6 r

  1705. 0 x9 ?7 \, X8 B+ V6 ]
  1706. ; http://php.net/exif.encode-jis' w# q/ ^6 I4 K+ E% \! ]
  1707. ;exif.encode_jis =9 {) e" f4 o! x1 l/ V
  1708. , K' r7 a" m' q" @8 Z
  1709. ; http://php.net/exif.decode-jis-motorola. v' B, n6 f# o( T
  1710. ;exif.decode_jis_motorola = JIS/ w6 w5 X% I! f$ o: G; Y0 q
  1711. " |( \% v, ^, s
  1712. ; http://php.net/exif.decode-jis-intel
    + e5 p/ d$ G) p, @/ T* U9 e- E
  1713. ;exif.decode_jis_intel    = JIS
    0 u- Z- g8 g1 [) H+ U7 J6 K1 B

  1714. 3 K  e/ y# B, \
  1715. [Tidy]& }) o# ?' a% s9 F
  1716. ; The path to a default tidy configuration file to use when using tidy
    # H0 F" ?3 E2 D# q3 W4 H
  1717. ; http://php.net/tidy.default-config
    ; p% G& Y7 C/ H, j7 D
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    % E. x( }! Q; Y. x7 r1 Z1 P
  1719. % p# I2 d( g/ n# h* F- V0 W) h
  1720. ; Should tidy clean and repair output automatically?
    ' p& L' W& n( \* ^7 z
  1721. ; WARNING: Do not use this option if you are generating non-html content
    & f- [8 a& ~. e, E9 ~' ^2 B
  1722. ; such as dynamic images9 E- e' D: B1 c: E
  1723. ; http://php.net/tidy.clean-output
    0 m/ n# ^3 k2 E, @3 e# M$ |
  1724. tidy.clean_output = Off; [6 R6 t: |9 n) D- c) s) n' v

  1725. 6 K6 w: r9 C' U) [) C* T' M$ i8 K+ O7 y) Y
  1726. [soap]+ `. R+ m6 I# R( D9 k- S6 s& K
  1727. ; Enables or disables WSDL caching feature.3 [& Z5 z1 y& |9 \4 U9 O4 y
  1728. ; http://php.net/soap.wsdl-cache-enabled0 E) O( ~% G& E8 L9 z  b7 l1 x
  1729. soap.wsdl_cache_enabled=1
    ; ~% P- @. c. {; p  D) n

  1730. 2 S& w' g1 w1 E8 ]
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , I* w: p1 X! I$ V
  1732. ; http://php.net/soap.wsdl-cache-dir. [$ [9 P* V/ O# Y4 e
  1733. soap.wsdl_cache_dir="/tmp"& N3 E* @5 }' |- V$ b- L- L& \

  1734. ) T* k5 h0 A6 p" q- p" O
  1735. ; (time to live) Sets the number of second while cached file will be used
    0 \6 Q3 P. E" f, p6 A
  1736. ; instead of original one.
    ; s4 E" v! ]1 ^# ~
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 q6 Q- u. {( e6 O7 h
  1738. soap.wsdl_cache_ttl=86400
    2 b5 D! s: r% Y$ @4 |, l2 H
  1739. ) _- g, X) m6 k/ G, v# a* `
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! Z# b, F1 r- w# U- V( w
  1741. soap.wsdl_cache_limit = 54 S) G+ X$ {( L: U9 Q2 |% U
  1742. 4 Q0 R2 S9 w! D# b9 x9 G
  1743. [sysvshm]/ o1 w$ }9 e3 Y+ i5 C
  1744. ; A default size of the shared memory segment# R! I2 q; K& Z* f& t  [; }
  1745. ;sysvshm.init_mem = 10000
    + ~& @' A# W/ i4 _

  1746. 6 J7 P9 \- p5 b# N' [# z% q9 y
  1747. [ldap]9 K3 b4 F2 D' h; n: W
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    . w, Z+ d$ [; e4 B, ]
  1749. ldap.max_links = -1
    * z1 S3 I* c5 K+ n  P/ P
  1750. 8 ~0 q  k3 s; l- P1 l8 d
  1751. [mcrypt]0 F9 ^( {" C/ b0 ?7 A2 O( t: F7 T1 K
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 u$ p2 R; x. [/ T% n* N- L; E) u

  1753. ; z; u3 ^- ^" S0 U0 [% o: v9 U1 e
  1754. ; Directory where to load mcrypt algorithms
    9 U( D5 h7 a! J9 F. O5 P
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # ^  c) h0 y: n2 |3 |% l3 j
  1756. ;mcrypt.algorithms_dir=  z, N4 y4 o+ A  W3 R, T' H+ b% m
  1757. 4 ^* |; M" D% }
  1758. ; Directory where to load mcrypt modes
    ( @0 V+ E! Q+ o: ~
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 x  G) m# n3 o/ w
  1760. ;mcrypt.modes_dir=
    / k# j+ Y9 \" C1 M. w
  1761. ) t5 ?3 b1 Q3 f" e6 W
  1762. [dba]5 g4 _. V- _' v% q& Q9 ~
  1763. ;dba.default_handler=2 w, v2 d. ]/ V( ~: Z9 O" ~
  1764. 9 k" ~$ M- L. w- F
  1765. [opcache]7 @) r: m8 k5 z2 v5 Y- [
  1766. ; Determines if Zend OPCache is enabled# @" r  i! D6 m  Q+ o* j6 k. W
  1767. ;opcache.enable=0' }% @$ \$ U( M3 m( b8 Z4 r1 V
  1768. 4 S! o9 \/ G- D3 O, ]! M" m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP& S6 T& i9 ?9 }+ ?" l& a
  1770. ;opcache.enable_cli=06 {1 `; i! c' H& }; E1 y" |' r

  1771. 8 Z3 x- Q4 S5 f+ z& C
  1772. ; The OPcache shared memory storage size.& K  Z5 ~; ?! Z0 ?$ I3 t
  1773. ;opcache.memory_consumption=649 h5 e9 t+ a  Y- W. N

  1774. 0 }" |( N% A+ i5 M* c
  1775. ; The amount of memory for interned strings in Mbytes.
    6 G( P6 E7 d: d1 }( e& o
  1776. ;opcache.interned_strings_buffer=48 N& f0 R+ J& |# v4 Z/ T
  1777. * g8 @+ A# E7 H( k/ @; {' Z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.( @- R- l  v. n8 x4 x" e; \
  1779. ; Only numbers between 200 and 1000000 are allowed.
    % @/ i# l! K( v% x/ p- ]
  1780. ;opcache.max_accelerated_files=2000/ B/ D# u5 q  Z. U. m4 V3 W

  1781. 4 l. O( o; O, r
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : \8 J0 d7 w  x) h' ^6 N
  1783. ;opcache.max_wasted_percentage=5
    ( m' b& z/ J! J% {9 j1 _; F

  1784. 5 x3 I- y' o- u5 O) r' @
  1785. ; When this directive is enabled, the OPcache appends the current working
    7 F5 Q& L. L  f0 ~2 X
  1786. ; directory to the script key, thus eliminating possible collisions between  B) Q4 n# Y0 }" u8 m' Y0 X1 R: L" Q
  1787. ; files with the same name (basename). Disabling the directive improves
    . B* {1 ~0 g0 t1 d' x3 _; X
  1788. ; performance, but may break existing applications.: I/ l2 J% N# K/ x4 f2 E7 m* _
  1789. ;opcache.use_cwd=1
    2 u# d1 w2 u4 e* i  C; O

  1790. 1 [& j, T9 E- F* w2 k; F7 f
  1791. ; When disabled, you must reset the OPcache manually or restart the$ j8 n% |2 y8 ~, K9 s/ d
  1792. ; webserver for changes to the filesystem to take effect.( {- k' E9 c2 h, Z$ Q( |
  1793. ;opcache.validate_timestamps=1; }7 a/ f$ a* f5 g; H5 e0 W) k

  1794. ; Y7 d9 ~8 G& H9 t& D/ J2 h& ~) ?
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    3 O0 h6 v0 U3 R/ _1 i- A* H
  1796. ; memory storage allocation. ("1" means validate once per second, but only, g1 E: E/ G4 b" M) c
  1797. ; once per request. "0" means always validate)
    , f$ e& o2 v8 w" N
  1798. ;opcache.revalidate_freq=2; o' v/ ?) W% k' b, }" e8 S
  1799. ' W3 E, _# C9 K, ^
  1800. ; Enables or disables file search in include_path optimization7 T! y! s$ t1 M' ]6 t
  1801. ;opcache.revalidate_path=0
    4 N; T6 P% l; g

  1802. - w" e9 B" @7 T  M7 `/ I1 O: q
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
      f& @1 a- F7 c& k" }" \; b
  1804. ; size of the optimized code.
    2 v& k, E  Q  N% e) z( r
  1805. ;opcache.save_comments=1. a) G- s. K2 t4 ?2 \- n& f
  1806. $ h9 \6 e+ N# h
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code* I: M9 g/ s7 |2 o( A2 e( R. g+ g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.  I! i- {0 s. X) A7 S
  1809. ;opcache.fast_shutdown=0
    ; ^* S5 V, f7 c. q6 ?
  1810. 4 b& X* W7 G% f: Z  k( h
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    , n6 s- c- r$ S; `
  1812. ;opcache.enable_file_override=0
    0 F& a  [& u6 Q% F
  1813. # h& }1 W8 Z) ]( l$ I$ O8 J+ i
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    + q+ [& L( L6 [7 s* ~
  1815. ; passes
    ' }9 g' ~1 z* u% g" b" K
  1816. ;opcache.optimization_level=0xffffffff
    - R/ q8 @" G& n. ~. I8 T8 k* c+ d
  1817. " B0 T: }7 m2 q3 E% {2 B/ K. d
  1818. ;opcache.inherited_hack=1
    8 Q7 b( {, @, h' a
  1819. ;opcache.dups_fix=0: c) i! H: j: k$ ^+ u

  1820. 2 z3 P) |- N* k
  1821. ; The location of the OPcache blacklist file (wildcards allowed).$ f4 n* z# w% S! _& G- j
  1822. ; Each OPcache blacklist file is a text file that holds the names of files. H4 P; q) e2 y6 j( E
  1823. ; that should not be accelerated. The file format is to add each filename
    # w- y) o. }+ l; g* c% X( K) ~
  1824. ; to a new line. The filename may be a full path or just a file prefix
    6 u4 x3 R% Y0 K2 J2 a
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  r2 h* i% A9 H6 s1 h1 f
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).1 M- m/ m8 }1 R* s0 F3 i& z
  1827. ;opcache.blacklist_filename=$ x& ?* a- A% h

  1828. $ o% C5 F5 Q' y
  1829. ; Allows exclusion of large files from being cached. By default all files
    ; z2 A0 p1 g% [% R  f
  1830. ; are cached.' L: s' F4 S6 W/ i6 p, f
  1831. ;opcache.max_file_size=0
    $ G) b& D$ n) W2 X4 d3 s) C
  1832. ) o0 w; {4 _7 I# n/ u
  1833. ; Check the cache checksum each N requests.
    / @- ]9 H2 x' X0 J8 A
  1834. ; The default value of "0" means that the checks are disabled.
    , H+ V, |" |  u! A0 j1 u! m0 S
  1835. ;opcache.consistency_checks=0
    : q$ X7 w9 ?' e' S' q0 h# q
  1836. 4 {/ l. v# _/ B
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    5 H8 \% \1 E9 L' g6 R% i
  1838. ; is not being accessed.# ~4 y+ ^+ X/ {
  1839. ;opcache.force_restart_timeout=180
    1 ~9 b- l. e; v( B

  1840. 9 W% P. `  f) `. }% E/ X, B
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ! y: {$ G$ q4 ?
  1842. ;opcache.error_log=
    & I# V+ m  E1 }( Q2 N' z
  1843. - |0 f8 n4 x1 f7 S
  1844. ; All OPcache errors go to the Web server log.
    3 P' N7 E) f5 w! o! E) Y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    & H2 T& M1 A8 r5 h& p, t
  1846. ; You can also enable warnings (level 2), info messages (level 3) or" b  O3 {' @' n! T" [, d
  1847. ; debug messages (level 4).
    $ Q5 E% d; X, F  |7 d& {
  1848. ;opcache.log_verbosity_level=1! v4 P8 l/ _! S  P3 v2 p

  1849. ! M) D1 X4 x: _6 |+ ?& m
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    " B, u# S# b/ }9 O. ?4 |
  1851. ;opcache.preferred_memory_model=
    ) l% f# }- p( I. V4 t. d2 d

  1852. 4 Y5 d: y& W" H% P8 f) y
  1853. ; Protect the shared memory from unexpected writing during script execution.
    7 A) J3 ]7 j, b5 b0 y4 X
  1854. ; Useful for internal debugging only.) j0 O" W) c! t
  1855. ;opcache.protect_memory=0
    , U( i$ @! h  G7 @* J/ z
  1856. / k, D2 z* N9 x  v) X
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 b9 F! ]1 x/ ^1 |9 u
  1858. ; started from specified string. The default "" means no restriction
    ( p2 U, ]+ L& ~# ?3 l4 x, n7 c
  1859. ;opcache.restrict_api=1 k. B& K, P, X2 S; y% {) y

  1860. 1 ~: u+ F$ V6 [' i" F' j
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    9 Q7 ^" N7 V  ]6 G2 x9 t
  1862. ; processes have to map shared memory into the same address space. This6 r# _8 ]' T  w  g' S* I
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    , C* j2 X* X$ s1 e* J  z) R
  1864. ; errors.
    7 o- Y  E7 B5 f6 e9 q# O4 d, v
  1865. ;opcache.mmap_base=  \/ t' y# s8 L' }& u

  1866. ; T+ O: I  L3 D8 J
  1867. ; Enables and sets the second level cache directory.
    , M- H5 Z; q; H6 Q2 W
  1868. ; It should improve performance when SHM memory is full, at server restart or
      g3 m& k( z, {( _
  1869. ; SHM reset. The default "" disables file based caching.
    ( g3 [+ W# [' b! k5 ~* W
  1870. ;opcache.file_cache=  m( }6 v" Q1 E

  1871. & c7 P8 k; n  `% {% r1 ^2 k
  1872. ; Enables or disables opcode caching in shared memory.0 K5 X$ b3 c9 s- F
  1873. ;opcache.file_cache_only=09 `7 E/ ?/ J! G, E5 ?# X
  1874. & O, l* r  P, \5 @$ r' a7 v
  1875. ; Enables or disables checksum validation when script loaded from file cache." \# W' i' z: W
  1876. ;opcache.file_cache_consistency_checks=14 ]* T: B( G6 h% U; b8 V/ @) F

  1877. 3 j! P2 J8 r# V8 J9 m& e" Z: P$ G
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to' H0 a6 h, ]8 D' D7 H! p
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 W! ]/ L% S6 r, k3 O7 [
  1880. ; cache is required.4 Q$ O) ~8 s+ h3 L" s) b4 F3 k" d
  1881. ;opcache.file_cache_fallback=16 @) J: i* ]( h, @, U/ [/ i
  1882. ; f6 M  j2 K( X+ c
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.$ R& j  I& u/ E0 j: I% b% U2 A
  1884. ; This should improve performance, but requires appropriate OS configuration.# D, S% n& t) h
  1885. ;opcache.huge_code_pages=15 L3 f( S% ?* J0 E# M/ R: ^& L% B
  1886. & c8 L8 p: o  V  h; J9 M
  1887. ; Validate cached file permissions.
    1 s7 s% |( x4 p9 k. Q' M4 G
  1888. ; opcache.validate_permission=08 E; _: O% o5 h* T) Y& [: _4 Y

  1889. : ^2 x& g) F3 F
  1890. ; Prevent name collisions in chroot'ed environment.4 L  C' `: B8 [2 L# N; X
  1891. ; opcache.validate_root=0
    1 }7 j6 G; @  c9 n

  1892. % H; B, l" p  F5 u# i9 J9 B6 W+ z8 e
  1893. [curl], F' H( E, w" R( w
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 t; `. B+ n. N1 |* J, i4 V7 D
  1895. ; absolute path.
    ( ]5 Q' |+ y; i% `/ E" q/ S1 v7 r
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% k$ C; ?( L+ E! u% F

  1897. 5 r8 U3 O6 B9 S! S
  1898. [openssl]
    4 x4 h- Z( {2 r; L0 t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem+ T6 E" Q* o, z
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . O* I" d; B6 l% p; r* T+ d
  1901. ; not specify a value for this directive as PHP will attempt to use the4 N9 w  Y" g; W4 Z% J3 H8 T
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    4 z/ h. N. ?0 v" ~& U
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 _, r4 {# ?# {. a- p' w7 e
  1904. ; option.
    ! @5 [" e" k( u
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 B0 H7 l, D" @$ m
  1906. 5 q- F& Z$ I& {. L
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    # f3 L/ r2 M* @* \0 z0 M( b, ~
  1908. ; directory pointed to by openssl.capath is searched for a suitable, ?+ T1 s7 ]* _$ |8 M$ T
  1909. ; certificate. This value must be a correctly hashed certificate directory.0 P, K  h) C8 n7 \5 G
  1910. ; Most users should not specify a value for this directive as PHP will( M0 }) V/ N6 V' R" T; D
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % P/ L( g3 w3 |$ A' l0 U; Y- G
  1912. ; this value may still be overridden on a per-stream basis via the "capath"6 u6 V! m: l. }: l4 T
  1913. ; SSL stream context option.
    0 S/ u" @) w, v1 t6 n, a
  1914. ;openssl.capath=
    & {. u* u  q- I4 l6 E+ \1 c2 p, j+ {2 |

  1915. # {: j$ k% y& \, `2 |" [* o* p' h
  1916. ; Local Variables:, E- I! V  {9 Q* p/ f. h+ O- ^
  1917. ; tab-width: 4; c. J6 [  w' P7 [* S& r5 Z
  1918. ; End:6 p, C' h% O  ]! L. Y3 O: b

  1919. $ t, f' O6 M% b6 w" A
  1920. ;eaccelerator7 Q0 h0 m; R" W- E* I

  1921. 4 G6 _7 j3 x: e& O: l! k
  1922. ;ionCube
    4 n" M- J+ E1 |* C' F* w7 \

  1923. 4 f8 O9 K2 a, C& e. Q
  1924. ;opcache
    # S) i9 W1 d0 C$ t$ a$ l
  1925. - H# q# G6 i1 q5 L: v/ e
  1926. [Zend ZendGuard Loader]: k( t3 J4 |+ \4 V
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    4 [" g) O  B# }9 e
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    , h1 e7 _* N& m; M) a5 c
  1929. ;zend_loader.enable=1
    5 ?. r. h5 f& N; |" N1 e
  1930. ;zend_loader.disable_licensing=0
    1 T  x4 r4 d. m3 J- M# P' f
  1931. ;zend_loader.obfuscation_level_support=3
    - w2 j' L$ g( O/ }0 W
  1932. ;zend_loader.license_path=0 _. I0 C# K4 Z0 ]

  1933. 6 H7 J. J8 E$ f7 X
  1934. ;xcache6 T- R/ U8 E) C1 V1 N* f
  1935. ; a, _8 R$ {9 ?* O* K  q
复制代码
1 S+ L6 t- l8 {; Z. q$ |
) l9 a+ J$ Y! ]9 X2 e& ^" f# m0 D! j
3 F; Y/ z% |4 t0 V5 Z
" z& K0 B; N9 q# m9 P# i

+ M+ F2 Q% f4 b" s
; J/ r, L3 g( H. B0 A
0 @% ]8 Q7 R- ~5 R6 w) EPHP5.6版本原始设置
* t& Y1 e' Q# l8 s: P. D4 b* a- ?3 m
  1. [PHP]! w# W7 D6 Q+ E5 Y- m( Z
  2. . D% w9 Y  \9 R/ n3 D
  3. ;;;;;;;;;;;;;;;;;;;
    " k3 A* F% A7 U5 k! |! E6 x( v
  4. ; About php.ini   ;" x9 p6 n, m" R
  5. ;;;;;;;;;;;;;;;;;;;1 n. Z8 g: T/ \8 F7 k7 M: c
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      q  C2 h$ R8 V4 B! p4 [1 `
  7. ; configuring many of the aspects of PHP's behavior.9 {' e1 s4 s" Y% P6 ?+ ~& p

  8. 5 @/ p6 h4 k  _, |
  9. ; PHP attempts to find and load this configuration from a number of locations.* H) _; F7 w: S
  10. ; The following is a summary of its search order:
    ; `) L. k7 e, z! x* a$ h" a' M
  11. ; 1. SAPI module specific location.& S9 _; `  S/ O* h2 d( n
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' `4 A. H# J7 C* S; F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( j; z3 {9 E7 O6 i5 k& y
  14. ; 4. Current working directory (except CLI)+ N; x  c" I! N" T9 X4 f8 J9 o- t8 h! o
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* U  d2 e% }" ]4 T8 z0 H1 M
  16. ; (otherwise in Windows)/ f# b8 B' v' N4 ~4 b2 P$ z; v" G! e, J
  17. ; 6. The directory from the --with-config-file-path compile time option, or the. H0 V) C6 H1 }8 l; R$ q
  18. ; Windows directory (C:\windows or C:\winnt)# c* |. I0 x! J6 x5 [* Y
  19. ; See the PHP docs for more specific information.
    ; A# u2 F# {1 M" K2 ]9 a  W
  20. ; http://php.net/configuration.file$ p0 f4 o# d/ j  z3 ^$ ?7 v4 O1 B
  21. " n" p( m, U/ {" I
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. l0 {+ X+ O) ~+ Q/ s& q, x3 G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).. f' v- z) Y) C$ j5 m$ ]* D
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% J7 h4 Q& F/ n) c7 p
  25. ; they might mean something in the future.
    9 R5 U" K1 u4 d# B1 D
  26. ' j, F$ _9 \4 i8 V6 Q
  27. ; Directives following the section heading [PATH=/www/mysite] only' k" P( S! H" E) {$ G) a
  28. ; apply to PHP files in the /www/mysite directory.  Directives4 ^' S' p7 l4 e- @; [) j
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; X5 Z: B7 t' k( f, }1 _
  30. ; PHP files served from www.example.com.  Directives set in these
    % T, J) @3 P& Z/ W0 p! f1 ?) W
  31. ; special sections cannot be overridden by user-defined INI files or0 B9 t1 I4 m, _0 p2 V: P7 T/ c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" E! a7 y1 G. ?- c% H7 W
  33. ; CGI/FastCGI.7 o" W8 {+ u) o" B2 B0 N
  34. ; http://php.net/ini.sections! E  W' H$ C  e0 F) h) h+ V
  35. - c+ \$ P, r- s4 y0 E) l5 `
  36. ; Directives are specified using the following syntax:
    ! c" |/ _9 A4 n- j( x
  37. ; directive = value2 }, C3 y7 N: l/ [9 ~5 l! E- u4 Y! k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.4 b* T  U9 \3 x* @3 l# C
  39. ; Directives are variables used to configure PHP or PHP extensions.( G: i! D6 o9 W1 |
  40. ; There is no name validation.  If PHP can't find an expected
    ' [6 ^7 c) c0 O$ X7 ?; u! e. F+ M4 \
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - m# J) R6 L1 T# k7 s3 \& q3 m

  42. ) M% x) u+ j& _# p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * U2 B% w( ]% ^" n6 k. X' `
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ) a+ |7 G6 D6 q# z' S+ `
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    - n7 z* o  o3 T# V5 j: P
  46. ; previously set variable or directive (e.g. ${foo})0 T1 o/ Q7 n0 C) P( ^
  47. 0 o: w! B' ^. f5 B! Z6 d/ L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:( s0 ^: Y/ o5 I$ E
  49. ; |  bitwise OR
    ) D* r; E6 N4 ?. s" J
  50. ; ^  bitwise XOR; N! Q$ R# E7 D5 e/ o) K9 ~4 I
  51. ; &  bitwise AND" `. ]0 V* T" M- ~
  52. ; ~  bitwise NOT! }" s% B- ]4 M/ r
  53. ; !  boolean NOT
    5 `" j( g/ n" ]4 K# ]; z) |* b
  54. ( r9 k/ m7 V, Z4 U3 a5 T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.- d7 ]  _$ X4 H' {( C
  56. ; They can be turned off using the values 0, Off, False or No.1 J% J5 [4 a$ U+ V

  57. ' l* H5 f+ {1 x4 }8 }
  58. ; An empty string can be denoted by simply not writing anything after the equal
    . A8 S0 k& P0 z. X! N
  59. ; sign, or by using the None keyword:
    & I6 m( `% O1 \
  60. * h! W4 B( q2 b' V. M6 m8 M
  61. ;  foo =         ; sets foo to an empty string3 Y, p0 a* N' D5 |) s8 |+ ?
  62. ;  foo = None    ; sets foo to an empty string
    & d7 K* s. f: T( W: t) Q
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - l) k- s& H1 |9 R9 C

  64. , @: z6 V! H+ s5 o. Y0 K
  65. ; If you use constants in your value, and these constants belong to a
    3 j5 u/ k$ u' y5 O1 o) d: G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . u) m: ]" n; `3 c8 r/ p
  67. ; you may only use these constants *after* the line that loads the extension.5 D$ `" G% @# ~  [* u

  68. ) E4 V' Z$ H8 E" d4 @7 c' V
  69. ;;;;;;;;;;;;;;;;;;;- v( m+ Z9 E" S5 Z  @! R
  70. ; About this file ;
    6 G  r9 q8 }7 p7 B2 m
  71. ;;;;;;;;;;;;;;;;;;;  x0 V; b& l) D, n/ p1 ?- F9 `
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    4 H: g  ?$ z3 M9 {
  73. ; in production environments and one that is recommended to be used in
    . v% d( @2 |! j7 O6 w
  74. ; development environments.& Z: e7 ]5 F" J3 x) r  f
  75. 7 ^1 F& a% L, c! [
  76. ; php.ini-production contains settings which hold security, performance and
    " \0 \5 P  }1 |2 s% y
  77. ; best practices at its core. But please be aware, these settings may break
    2 |) g6 k- i& P$ L7 o: f
  78. ; compatibility with older or less security conscience applications. We- g9 p7 ]0 [2 Z8 e( z
  79. ; recommending using the production ini in production and testing environments.. L. ?! u4 K. U* O
  80. 5 e7 J2 A  k8 B7 m. t! X
  81. ; php.ini-development is very similar to its production variant, except it is
    , a) `4 w5 U* g) V$ u/ b' I9 F9 m
  82. ; much more verbose when it comes to errors. We recommend using the; r" c3 q  g# F8 \
  83. ; development version only in development environments, as errors shown to
    7 \' F* y( W, S, h& [
  84. ; application users can inadvertently leak otherwise secure information.
    ' G6 A& X: h. `) y6 D

  85. * H" K( b& f. W5 B& M9 N4 C* ~
  86. ; This is php.ini-production INI file.6 s& e/ K5 ^7 i/ y4 R

  87. % \# i+ I4 T/ k3 o7 y  @
  88. ;;;;;;;;;;;;;;;;;;;9 \' h, X9 @3 c* E$ C
  89. ; Quick Reference ;
    9 s8 l+ O7 S! T# f: k1 |  Z" N
  90. ;;;;;;;;;;;;;;;;;;;- j  k3 H5 f" d/ F/ D* `
  91. ; The following are all the settings which are different in either the production1 V7 Q1 n  Z* n0 j8 h+ m
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - ^# H% C7 q5 m- S
  93. ; Please see the actual settings later in the document for more details as to why
    . s! Q. H, H" P3 \) B, ^# a
  94. ; we recommend these changes in PHP's behavior.* q& W  d6 ?; \# x9 R0 S

  95. * q2 X2 a4 ]# U8 `' h' p
  96. ; display_errors
    9 p. l3 {' L% A" s6 h
  97. ;   Default Value: On
    % l. Q4 P- j; T
  98. ;   Development Value: On" Q9 ^- Q+ S4 o/ Z) @- r; @4 j& X
  99. ;   Production Value: Off
    $ R: e0 v1 K( C+ i6 r! k$ Y0 v  t
  100.   Z/ Y  Q- k8 e7 \8 `3 `, v
  101. ; display_startup_errors
    6 x; B& }" e$ v- R; l4 \8 {
  102. ;   Default Value: Off
    $ {( c# S1 ~7 f) E. L6 n
  103. ;   Development Value: On4 ]8 \  M( T1 \/ P
  104. ;   Production Value: Off
    # O! X1 _5 N$ I* O
  105.   _0 C9 W2 \, x. X5 |
  106. ; error_reporting: _- F( W' j8 I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 W: Q' I/ `" _
  108. ;   Development Value: E_ALL
    1 I7 y: i$ [& o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 R$ ^& B/ \3 T# F3 Z* Y4 t+ J& m
  110. 6 a6 b3 ^% b, x" t6 q  j
  111. ; html_errors+ X# P  O4 L3 _3 F3 Q& o
  112. ;   Default Value: On
    " u' |* P( \0 o2 H4 ]0 U/ b" @, S" Y- H
  113. ;   Development Value: On
    % Z# c6 S, f9 o, a5 C
  114. ;   Production value: On
    - l! e) @1 J1 ^& R' b
  115. 7 r  t( m& d: z3 o/ \3 o
  116. ; log_errors3 ~2 N/ [3 m7 s/ R0 ~  q; R! s
  117. ;   Default Value: Off
    # _  G3 y9 B6 X; H6 b% w, s
  118. ;   Development Value: On; m1 ^* y  \7 |' o
  119. ;   Production Value: On4 V* S+ ]1 ^% s$ k0 @
  120.   v# t/ A  A+ c
  121. ; max_input_time
    8 f5 o6 ^$ f1 H2 T- q+ ~# X- q3 b& D
  122. ;   Default Value: -1 (Unlimited)
    # T# ~) `$ t5 }
  123. ;   Development Value: 60 (60 seconds)
    $ s) p$ ]5 B1 V1 S
  124. ;   Production Value: 60 (60 seconds)
    ) i. ]( _) b; Y: O9 k

  125. : A( L. [! |6 e7 n; e& x1 u' O( i
  126. ; output_buffering
    ) E+ y( [: V) a  D
  127. ;   Default Value: Off" J5 d; R4 E0 L
  128. ;   Development Value: 4096
    9 n& j1 k: \# t% B. |* P6 o
  129. ;   Production Value: 4096" ~/ M& {) T, q1 X6 k; t* S; F

  130. ' c% a, `# P/ c3 x" T; Z
  131. ; register_argc_argv
    . r4 n. C1 ?$ t# m' S
  132. ;   Default Value: On
    0 K/ U9 V1 c9 r# C
  133. ;   Development Value: Off
      Y1 X; a" X# g; b& @" ^8 F8 t
  134. ;   Production Value: Off
    4 a5 I3 Z) h: V* U0 }  X" \

  135. 7 l6 B! S, ~0 O) |
  136. ; request_order
    + t& e7 D5 w$ F5 N
  137. ;   Default Value: None
    7 i) H: t& {* r) F* X" m
  138. ;   Development Value: "GP": a  g1 o# j& d% Q) j$ e2 U
  139. ;   Production Value: "GP"
    1 p- K" g" Y9 k; {  ~2 p
  140. 3 b' j0 p; d+ H& u4 j
  141. ; session.gc_divisor
    7 _9 J' F5 V4 d/ {# K4 N. T
  142. ;   Default Value: 100
    ( U; |4 s3 i% m0 R, C
  143. ;   Development Value: 1000
    6 W* j* l  f  d* h- v) k
  144. ;   Production Value: 1000
    % Y* M% Z1 k# t

  145. % U' N  m$ I# {
  146. ; session.hash_bits_per_character
    2 B  }3 ^6 |+ p8 ?9 o: U8 J5 z
  147. ;   Default Value: 4( \- s7 ?# w$ y2 T* H3 A4 E
  148. ;   Development Value: 5
    & w% \0 e6 ^" j) g; K) \8 W" M
  149. ;   Production Value: 5
      j  v5 T9 Y/ z% A0 d# J; ~" S

  150. 8 U' K. d8 h' ], H* \# D( ]2 o! [
  151. ; short_open_tag
    6 F( m4 s* K" k, b. X, {$ ]1 j
  152. ;   Default Value: On
    - }2 y! A0 ]7 `" R0 q( b7 m
  153. ;   Development Value: Off$ f0 f: J4 V& h- H, o
  154. ;   Production Value: Off
    + t! E! T; r- g  O

  155. ' }+ G( ?$ ~  S6 a5 f. `" W
  156. ; track_errors
    - P8 s" K# h) h, U( E3 X
  157. ;   Default Value: Off0 G$ L; P* H6 E, M+ q% k" z3 H! l
  158. ;   Development Value: On6 y3 u1 ^$ l6 g- S" W
  159. ;   Production Value: Off
    * I7 |7 l4 w' Z: Y, y/ L; T
  160. # G* s; f. V5 x6 C
  161. ; url_rewriter.tags
    ; w# G; r6 p% P& Y3 x
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; O4 k8 j/ W+ ~# i% W' s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": [' [& g- J4 V3 n" q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; V6 j7 K, x7 I% ]8 p  [) i
  165. ; c, c( W; x) @1 `* L5 j8 S- p
  166. ; variables_order
    7 f' S0 Q* [3 U# {- T1 a" {+ U
  167. ;   Default Value: "EGPCS"
    9 H9 u' ~! {0 l! w
  168. ;   Development Value: "GPCS"
    4 ?" x) h. v# x; F' j
  169. ;   Production Value: "GPCS"
    4 {6 x# c% m. D1 B. ~5 {
  170. 8 }' z4 K8 N8 b) G# W
  171. ;;;;;;;;;;;;;;;;;;;;1 ^! ~  M+ t: s* [; }
  172. ; php.ini Options  ;/ Q, [9 @  K2 a# z& I
  173. ;;;;;;;;;;;;;;;;;;;;$ x. ]3 P9 j, j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    7 N! g, P- s( D+ u* G
  175. ;user_ini.filename = ".user.ini"! G" n" _& Y" B
  176. 3 A* m' J' D( Z' v* h% Z6 n
  177. ; To disable this feature set this option to empty value) v8 d- g2 O) m9 w
  178. ;user_ini.filename =
      C4 M' l% z5 @' ^4 L* o
  179. , P" T) L( Z3 P2 Q, o& n
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / m" b; b( `; R% j8 p+ I
  181. ;user_ini.cache_ttl = 300+ Y' r6 t$ Q- \) g
  182. ; i$ Z/ J' O2 r$ V
  183. ;;;;;;;;;;;;;;;;;;;;3 c, F! B2 Q  L7 p, ^! O
  184. ; Language Options ;
    3 S! n$ g: g% H* J, s4 n: k
  185. ;;;;;;;;;;;;;;;;;;;;  q* B; F! `* y) V- G- B

  186. + M0 J: K# V, x4 T) t
  187. ; Enable the PHP scripting language engine under Apache.# r- n9 U9 P8 r  c# [
  188. ; http://php.net/engine* r4 S; N5 h1 Q1 Y
  189. engine = On
    , z2 h' c/ S1 k4 `- t$ j8 y
  190. + ?5 i+ S5 j/ D& H
  191. ; This directive determines whether or not PHP will recognize code between
    / V; z0 ^% k0 a4 G2 M, v' W
  192. ; <? and ?> tags as PHP source which should be processed as such. It is( B* O  f1 \, F8 O- u
  193. ; generally recommended that <?php and ?> should be used and that this feature
    6 ~9 Y8 m/ i, H! ^" I
  194. ; should be disabled, as enabling it may result in issues when generating XML
    2 b  u& ~% y4 `- `; w3 [
  195. ; documents, however this remains supported for backward compatibility reasons.5 C6 T3 r( u0 p5 F- u/ D
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & O$ `/ C) {! D5 ?* Z8 Y$ E
  197. ; used regardless of this directive.
    ) N2 ~6 S0 t, d8 d8 K9 N
  198. ; Default Value: On- R; P  @: Y) a/ e) }
  199. ; Development Value: Off3 }. {7 o, \- H5 s* Z
  200. ; Production Value: Off, d' z* y; e3 \
  201. ; http://php.net/short-open-tag) Z+ [- c* b5 ]3 I) Y3 q
  202. short_open_tag = On0 |9 x8 O  Q6 ]& _
  203. 6 d8 f8 K- D3 Q0 b9 z& y2 A, k( X
  204. ; Allow ASP-style <% %> tags.8 ^4 B" w8 G# z& M/ `
  205. ; http://php.net/asp-tags
    4 K# W) T2 e* b, I! q
  206. asp_tags = Off; _, H5 @* L9 t9 C

  207. 7 ~; p1 }* g( K5 Z
  208. ; The number of significant digits displayed in floating point numbers.
    ! F$ |2 T" p* [1 s# @2 p
  209. ; http://php.net/precision
    , }8 _. W: y9 U0 w# `( L2 u. P
  210. precision = 14
      `8 s6 m5 _( d/ m6 Y! j
  211. 1 r; L5 e2 x; h& R2 O& ?% f
  212. ; Output buffering is a mechanism for controlling how much output data0 M" r! E0 e# h- y$ F' M4 p. ^# I
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that- U: b) x6 z) r- y% t8 t
  214. ; data to the client. If your application's output exceeds this setting, PHP  V- n2 ]! ~0 w! [' {* R
  215. ; will send that data in chunks of roughly the size you specify.
    , @6 @9 t6 _) b$ z
  216. ; Turning on this setting and managing its maximum buffer size can yield some. W( t, S5 u6 ^5 o$ p
  217. ; interesting side-effects depending on your application and web server.4 J9 P( t+ Y( |& {+ C  q+ w/ e
  218. ; You may be able to send headers and cookies after you've already sent output! |: [, V) H( @
  219. ; through print or echo. You also may see performance benefits if your server is4 g9 U, @# ^. N3 M# A7 S$ l8 H
  220. ; emitting less packets due to buffered output versus PHP streaming the output1 W1 b5 q# Q# t7 U
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 \' B4 G+ i. E; K' f' g7 ]4 D
  222. ; reasons.0 x% n/ R* a* a; \( r4 F
  223. ; Note: Output buffering can also be controlled via Output Buffering Control6 y) J) b/ y9 O+ Q! ]
  224. ;   functions.7 G  O4 x1 ^2 V- D* O  Q
  225. ; Possible Values:
    1 N! ?8 _1 ]4 O  v: x* l
  226. ;   On = Enabled and buffer is unlimited. (Use with caution); e# s) Y# N) i0 h  f; W6 b: J
  227. ;   Off = Disabled7 `* K" R; {0 r: S2 {1 j7 D
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    % Y! |% h/ ~& {" l* \7 p0 I
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* v6 P" v+ ]: I' \9 Y/ t
  230. ; Default Value: Off; z1 B- H2 W, x# A+ `) ~
  231. ; Development Value: 4096
    6 G6 w% T" @4 J) v
  232. ; Production Value: 4096
    / ]6 L- ^0 `6 Q; e/ ]7 r
  233. ; http://php.net/output-buffering% g4 l# e/ c5 L1 U
  234. output_buffering = 4096
    7 k: U. V' [( F1 _6 t

  235.   u& Y6 X4 b. x1 s$ P) _
  236. ; You can redirect all of the output of your scripts to a function.  For% w' W: ~% H8 x, t9 r7 [& \2 N
  237. ; example, if you set output_handler to "mb_output_handler", character+ b5 Q3 A8 p: D3 y' W$ g
  238. ; encoding will be transparently converted to the specified encoding.2 I/ k- B7 o7 u
  239. ; Setting any output handler automatically turns on output buffering.
    . _3 N2 ?4 N0 {. R$ P9 k
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , X8 s7 P9 I, F" g  F) p5 G' g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    8 O) s  G  I. l8 I8 P+ h& n$ `* A
  242. ;   Using this ini directive may cause problems unless you know what script
    5 A: \: n, L& x4 q( @
  243. ;   is doing.
    , C# ?2 P& c1 q7 m$ a  k! F
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". R& e: h8 F( p  f- {
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! m$ V$ L$ q& f3 k1 G" M; @' E
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 J* i/ U4 C8 U
  247. ;   Instead you must use zlib.output_handler.: D+ k! d1 B9 B7 R
  248. ; http://php.net/output-handler4 f/ w9 E* B, o
  249. ;output_handler =( R2 K) d: v% B6 T
  250. * ~# i4 k3 B+ E6 K& }. H
  251. ; Transparent output compression using the zlib library
    9 m, N  S( m  {# h' x
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size4 g  f* G2 J5 P+ O  F
  253. ; to be used for compression (default is 4KB)- |2 O6 ]6 m- J  A* x) u
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP( \1 \( s* T6 ^! ~2 k5 d
  255. ;   outputs chunks that are few hundreds bytes each as a result of# }- g4 D# N2 {0 q6 _1 q* \
  256. ;   compression. If you prefer a larger chunk size for better
    % V( `$ v; D+ ]7 W, O
  257. ;   performance, enable output_buffering in addition.
    5 Y! Y8 `& r0 Q  b) A& m8 `5 Z3 B
  258. ; Note: You need to use zlib.output_handler instead of the standard
    9 ]% |" K4 n9 h- \  \. ~
  259. ;   output_handler, or otherwise the output will be corrupted.
    / o& t7 t9 @' d& i/ U3 ~2 T6 N: R; a
  260. ; http://php.net/zlib.output-compression: L2 u) f$ l5 Z4 Y4 O5 h6 @' }6 m
  261. zlib.output_compression = Off
    ; v# o$ k2 X" A" q6 G. F3 O( S9 {

  262. 9 Q4 m! E" j" m9 G; @
  263. ; http://php.net/zlib.output-compression-level3 }/ x7 Z4 C) Z/ M. o3 _
  264. ;zlib.output_compression_level = -1+ p8 `- d2 H1 e; \1 ?

  265. . h# \! ~5 `( t3 |+ t, a+ S
  266. ; You cannot specify additional output handlers if zlib.output_compression: c( D/ e; v6 M" `$ I* B
  267. ; is activated here. This setting does the same as output_handler but in9 \# K) H: a6 B+ p  @( y- e: m
  268. ; a different order.6 H# ]% b4 K4 |# C1 T6 h0 S. w
  269. ; http://php.net/zlib.output-handler
    6 K3 {2 p$ N6 f+ U  k
  270. ;zlib.output_handler =
    " c& b- g! k& Y6 N
  271. ( G# ~. \  ~. H) h  ?0 O! o8 h
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 O6 ~0 w, r9 [: {! g8 _5 C8 L+ b* o
  273. ; automatically after every output block.  This is equivalent to calling the5 x& Z. w3 U( x2 a# P( ^4 B+ h8 u
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + x5 x1 w1 j: v! h( A$ z9 ?4 w
  275. ; and every HTML block.  Turning this option on has serious performance# T" {+ k/ e  G3 [& w: ~& K
  276. ; implications and is generally recommended for debugging purposes only.
    7 S, ]) Z3 R9 g" B
  277. ; http://php.net/implicit-flush5 C7 C; @; u7 v6 z& N6 W; K
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , F3 n, O, n( S& \
  279. implicit_flush = Off
    ; |6 w8 O1 p! u1 @: `( {- O

  280. * w, i  T9 N9 Z& A6 \& Q# I7 Z
  281. ; The unserialize callback function will be called (with the undefined class'! X# m7 ~( h5 b
  282. ; name as parameter), if the unserializer finds an undefined class
    ! S, c3 ]( K, Z3 M. k
  283. ; which should be instantiated. A warning appears if the specified function is
    4 B5 |. T  v; F& I1 ~
  284. ; not defined, or if the function doesn't include/implement the missing class.8 |1 Z8 r# G. g
  285. ; So only set this entry, if you really want to implement such a& T8 H! b. |2 |
  286. ; callback-function.
    ' T3 n2 F) Q3 B  p; ?- t  {+ _9 O
  287. unserialize_callback_func =- g4 L$ L4 V9 S' u

  288. 5 L) K, h, T+ w9 Z. u6 W8 A
  289. ; When floats & doubles are serialized store serialize_precision significant) Z- f( T+ y/ f1 ?6 w
  290. ; digits after the floating point. The default value ensures that when floats1 [+ K- S7 X5 A3 V
  291. ; are decoded with unserialize, the data will remain the same.
      L( Z; d# a1 B# e3 a' z
  292. serialize_precision = 17
    , x8 a& E0 \! @4 U0 i* A

  293. & V6 m& W% u, e: m
  294. ; open_basedir, if set, limits all file operations to the defined directory  ^& c3 j$ S+ f- a
  295. ; and below.  This directive makes most sense if used in a per-directory
    7 x9 s" A; K  K( n: Z
  296. ; or per-virtualhost web server configuration file.
    1 ]& C* E9 ]" j5 g
  297. ; http://php.net/open-basedir
    9 `! \1 Z" }; [# s& M
  298. ;open_basedir =
    ( Y# P+ k- M& I, t+ H9 l; _0 V
  299. 2 v* L$ q2 D: L% y# ]
  300. ; This directive allows you to disable certain functions for security reasons.% d3 o; N$ I7 H! `9 _" h/ x8 `
  301. ; It receives a comma-delimited list of function names.' j6 v+ a, l# H! C2 e- @3 {& B
  302. ; http://php.net/disable-functions
    " E1 \; t" Q' J  i$ |. J$ p0 x
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! ]/ c8 X" r, I/ \

  304. 3 p1 L# M9 f$ o. W
  305. ; This directive allows you to disable certain classes for security reasons.
    , t/ s+ \$ |. h) ~9 k$ x( j% X
  306. ; It receives a comma-delimited list of class names.. C4 X+ L3 ]$ m
  307. ; http://php.net/disable-classes- T- X4 f/ e. y0 z
  308. disable_classes =; `+ ]5 q$ d5 Z9 P& m3 R) m$ |7 _4 H
  309. 4 e9 w. F2 w( @; H$ a
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ) f) F8 E( X9 b5 b
  311. ; <span style="color: ???????"> would work.
    0 A8 P3 E5 V1 R5 W* B
  312. ; http://php.net/syntax-highlighting6 ~! D3 M: L; t- s6 G
  313. ;highlight.string  = #DD0000$ @% I9 d' H. l( v% h# G
  314. ;highlight.comment = #FF9900; d# u2 Z* V7 X( E0 B
  315. ;highlight.keyword = #007700
    $ k4 S0 o1 U8 R( i1 G9 X1 _  A/ B
  316. ;highlight.default = #0000BB
    / T' H' _2 C/ n! b: s
  317. ;highlight.html    = #000000- D1 D% S, R( Z  x  Q$ z

  318. $ k. j: f& O8 N9 \
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    " Y  o# i( Q- y9 o* I
  320. ; the request. Consider enabling it if executing long requests, which may end up. ?9 G: c! Y! H. M+ N' X5 G7 ~
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' g% T0 J' o/ N+ |& Z
  322. ; is to disable this feature.* R6 B: P9 Z/ U, B) x( Y% w
  323. ; http://php.net/ignore-user-abort$ |( U  O  R0 |% x$ r) r& V
  324. ;ignore_user_abort = On- V8 ?+ n  D! |3 J
  325.   y; {! s" `" V
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 m) i3 T) D5 |! H. t( ^7 x" p+ v* L
  327. ; be increased on systems where PHP opens many files to reflect the quantity of  U( o- [; t; N5 m# j
  328. ; the file operations performed.- k2 {9 E( _7 R3 P' t
  329. ; http://php.net/realpath-cache-size
    + b. r9 I; j& G+ i
  330. ;realpath_cache_size = 16k+ S3 _4 \2 R$ k: t" I
  331. / j7 P' U* W9 c% O
  332. ; Duration of time, in seconds for which to cache realpath information for a given% M/ c& h7 o/ ]. x! n% c6 I
  333. ; file or directory. For systems with rarely changing files, consider increasing this7 J' U7 Z  x8 v2 b$ J( h, }) h
  334. ; value.
    ! \/ o( v7 k9 r
  335. ; http://php.net/realpath-cache-ttl
    6 _7 D- m, J$ x- @
  336. ;realpath_cache_ttl = 120
    3 w0 t$ K' W2 T0 F4 Q5 m7 N

  337. $ B2 n4 u4 H* Y! w, |3 U& n
  338. ; Enables or disables the circular reference collector.
    ; D  q. b' r' R8 C
  339. ; http://php.net/zend.enable-gc: i/ g: y1 \8 _  x8 }4 l% v
  340. zend.enable_gc = On
    4 V3 Q% P3 r+ e" a5 _' S% u

  341. . f; i% Q2 |. C9 Z; c
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    2 I& k+ O$ z- J9 G0 q* |4 `
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 n2 t+ o. m3 Y- m! ^, r6 _& x0 d* N
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    & z8 w  U- R. X" C
  345. ; Default: Off9 M$ u3 R% e1 G* m
  346. ;zend.multibyte = Off
    + K9 o5 M, y: {, ?& N
  347. * G: N7 L# f; l; g! i* g3 K
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % f; G: ^: o# `6 m% s8 N) g' R2 [* F
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 z/ i: P$ z- Z0 z  [
  350. ; Only affects if zend.multibyte is set.
    . N4 _! L; y- J
  351. ; Default: ""
    . c$ Q* g/ J: [, S+ d8 ?
  352. ;zend.script_encoding =" T% C' r0 Z8 u
  353. * O. L3 Y" B2 v6 D; A
  354. ;;;;;;;;;;;;;;;;;
    0 g+ O8 b) }& ^- N. \- E% _
  355. ; Miscellaneous ;# B* Q$ a/ m0 m
  356. ;;;;;;;;;;;;;;;;;/ e# w5 T5 D& k2 w6 _- \

  357. 0 ~( R& \& A0 I: }' V6 I
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ( K2 Y9 w; C+ [) F
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 c6 H& t% B. v$ q! o2 P
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    % `# p4 i8 I* T* G+ f* s" P
  361. ; on your server or not.
    % k# W2 V& }% K, m% R! w
  362. ; http://php.net/expose-php
    $ u; F1 z/ t) q1 M1 T* E7 X& E" Z  c9 ^
  363. expose_php = On2 R" K3 t4 @' [, X; o5 W1 J

  364. ! m; c# d, |9 S0 Y- G  A! ?) Q
  365. ;;;;;;;;;;;;;;;;;;;
    / {, w& v: O3 m5 F1 N
  366. ; Resource Limits ;$ U/ i/ L% r1 P: t8 U6 E* b
  367. ;;;;;;;;;;;;;;;;;;;1 W# W5 P# k% F* \7 b7 ^# B

  368. . s8 o" \8 ?$ ]" J, p* M; y" L
  369. ; Maximum execution time of each script, in seconds
    + C9 E: ~! x8 z" ]  |
  370. ; http://php.net/max-execution-time
    # D6 r$ u+ s# ~2 J. a
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ) O9 P1 E7 H" R  c  D# F
  372. max_execution_time = 300
    , d: L; j7 R. B( o% i& Q
  373. 3 m5 p5 ]( R% D( @* T
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  T2 W$ h1 `1 m' f  y' \2 W
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 B4 K6 P+ |$ d9 f
  376. ; long running scripts.
    3 s* n, y' V" V, ~1 m
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - m7 P( ^( f. ^9 D, z1 W0 n! Y
  378. ; Default Value: -1 (Unlimited)" i! d( ~3 l, x! E$ ~3 M! Y" o7 w5 D
  379. ; Development Value: 60 (60 seconds)
    ' B* r; K( \+ [0 E, o5 N! L7 S
  380. ; Production Value: 60 (60 seconds)
    5 `0 y4 Z/ l- G$ \
  381. ; http://php.net/max-input-time+ _2 ~3 q' Z1 N. c9 b# n1 d
  382. max_input_time = 605 j4 I8 w1 \. u* e  l' o

  383. $ g. a+ q; r# C; E/ }1 X; r' Z
  384. ; Maximum input variable nesting level
    7 I& d3 g3 N  T9 I3 f& m
  385. ; http://php.net/max-input-nesting-level% M. ~1 f! I1 K- e$ n9 ^$ X4 F& |
  386. ;max_input_nesting_level = 64
    : d/ h% M/ H( k, W1 v6 M0 U

  387.   K1 U! o9 t9 i! M$ A
  388. ; How many GET/POST/COOKIE input variables may be accepted
    ; n! g8 \- F2 W9 q
  389. ; max_input_vars = 10009 C! S) n4 X- a1 G8 ^4 \  f0 J9 E! W
  390. 1 P& x, @: v5 Q6 c' G
  391. ; Maximum amount of memory a script may consume (128MB)# {5 H( [  S- ^3 S* J& {  {
  392. ; http://php.net/memory-limit
    6 s0 \" C, P- I' D9 {; q* ~# B
  393. memory_limit = 128M
    ' ~: O3 \4 N0 h2 F0 q
  394. / h# u. k, l2 S* P- ^' V8 r
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1 ?' y: m" g  c
  396. ; Error handling and logging ;% L8 D. H% |3 N+ z6 p- }; P6 w
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    & m6 m# v+ H- Q: S

  398. + J% P; C+ B5 r2 l9 c; O6 l. F
  399. ; This directive informs PHP of which errors, warnings and notices you would like" S) S4 t9 \# s" B% `
  400. ; it to take action for. The recommended way of setting values for this
    ; f  W) N# N1 ]2 {
  401. ; directive is through the use of the error level constants and bitwise
    7 u" G1 d& d4 A8 I$ F  O
  402. ; operators. The error level constants are below here for convenience as well as
    1 ]6 |" u& Z( ]0 Q: t( W& H
  403. ; some common settings and their meanings.$ Q  v$ ?5 o+ G. R
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% ~6 ~! m# P3 K  G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    & g# x9 V. [- V* h
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    6 `: [& e9 e- X/ y7 `5 J( {: i
  407. ; recommend error reporting setting. Your production server shouldn't be wasting; d8 h6 {( t6 {" o8 o. L6 ~" \( l4 h
  408. ; resources complaining about best practices and coding standards. That's what
    ! K% G. {( ?; f1 |/ A* z  p
  409. ; development servers and development settings are for.
    ; k' J  L+ y2 X5 u# e
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) k& _' f! t. D, g
  411. ; means it pretty much reports everything which is exactly what you want during: X. e. T9 q" e* |' Z: k
  412. ; development and early testing.
    " C# {, \% a% g- n& s6 ]
  413. ;& k7 A( ]3 h9 c; F9 L
  414. ; Error Level Constants:
    , q* c1 W5 e' P! t' t3 Q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)+ a5 D: j# X# s
  416. ; E_ERROR           - fatal run-time errors
    $ \$ g* u9 J4 C
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    3 ?) A# s( ~2 u( W$ j* W7 G. v
  418. ; E_WARNING         - run-time warnings (non-fatal errors)- F. m; e4 z1 f
  419. ; E_PARSE           - compile-time parse errors
      h2 n! J" |5 Z; S: b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result9 s+ {! T8 H' [" |) N; |! u7 Q, F0 K7 u
  421. ;                     from a bug in your code, but it's possible that it was0 o+ Z3 b2 O4 W, ~5 i: T# e- }, Y% r
  422. ;                     intentional (e.g., using an uninitialized variable and
    6 w# G+ d- b: ^9 r  d0 Q6 z/ P
  423. ;                     relying on the fact it is automatically initialized to an
    $ S; k' t1 p3 v# V1 V5 Z& ?
  424. ;                     empty string)
    # V2 H: V! ^8 E6 \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' N  o3 [9 h2 w
  426. ;                     to your code which will ensure the best interoperability4 o/ y1 ~5 G6 c8 D- f/ H2 O
  427. ;                     and forward compatibility of your code
    ' W, T- Y  a( G- i  G  o( h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / F$ ?; s. T8 r5 X- S. U$ T" O! u
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    1 R% a9 f+ r$ X9 M2 e
  430. ;                     initial startup
    & @) |, A  n( `% T
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ w& K) l0 }( j) A* v; Z2 i! d' m
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)9 Q) F& M" C2 j+ E: v8 q8 E
  433. ; E_USER_ERROR      - user-generated error message( R& Y' ~% s4 T9 u0 @& v
  434. ; E_USER_WARNING    - user-generated warning message" L/ a/ O8 V& Z4 o  C% o9 R% S. V
  435. ; E_USER_NOTICE     - user-generated notice message1 U7 s- n+ T( z! v. T
  436. ; E_DEPRECATED      - warn about code that will not work in future versions7 A! K5 U  D% }: ]+ O6 T
  437. ;                     of PHP( X: E# R" q  G+ W. P+ X8 m) @2 T; i
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / _( c' U4 L) ^3 w* ]1 v* @& q
  439. ;/ u; C0 p6 Y& [7 e
  440. ; Common Values:, r8 k- i) J- _3 z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) P1 [; S! r! h  B4 q+ e, X, h
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' O: S% P; T8 X; q* p' v8 {
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 |$ H+ @4 L+ F- g! b8 L) [
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): Z4 {& E4 a+ ?7 U1 b0 H
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ }; }0 f6 {! P& \2 @  s
  446. ; Development Value: E_ALL1 H1 ^6 K) t" [9 f6 n2 n- i; H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT% q! g) D, w/ L9 c. a
  448. ; http://php.net/error-reporting
      p# }0 Z- Q' T# Y$ m
  449. error_reporting = E_ALL & ~E_NOTICE
    & [1 W3 E- d* K+ z" g
  450. % F9 e' I4 z5 i$ E% g( k
  451. ; This directive controls whether or not and where PHP will output errors,% |' O( J6 n7 E/ N0 A
  452. ; notices and warnings too. Error output is very useful during development, but
    $ p& a& V$ Z. T- b+ V' T
  453. ; it could be very dangerous in production environments. Depending on the code
    & I3 R" y8 q) @0 s+ J# M3 t9 C5 p
  454. ; which is triggering the error, sensitive information could potentially leak
    / h5 R5 \% t: _0 q7 Z2 `2 A  l
  455. ; out of your application such as database usernames and passwords or worse.
    5 S6 B2 ~! k5 v( {* X: h* z  F. \7 [
  456. ; For production environments, we recommend logging errors rather than, V, F4 c# Q3 H+ [8 U8 |6 K
  457. ; sending them to STDOUT.& S& M1 R. U$ K9 Z0 a  }
  458. ; Possible Values:7 j8 l1 c2 z( F* G
  459. ;   Off = Do not display any errors0 g7 {5 c* _; Y2 y; |0 Y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& |: b9 ]( p2 |8 l3 d! \- l
  461. ;   On or stdout = Display errors to STDOUT
    % P9 P1 J  ?4 B5 A( t5 @, T
  462. ; Default Value: On
    / y5 X1 \8 E: i. C1 [+ z7 \6 t) i" j
  463. ; Development Value: On2 S. f1 Z  v/ p* X" a
  464. ; Production Value: Off
    % ^( e+ i( b" O9 ?9 ?7 `' M* u
  465. ; http://php.net/display-errors
    1 Y( I0 d5 K& \& {
  466. display_errors = On- i0 v- Z) f1 P# p9 u

  467. 4 r0 `$ E. h( T. W
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ; e7 T; J- _: ]0 }$ u: G
  469. ; separately from display_errors. PHP's default behavior is to suppress those; X# @5 Z+ ^- z9 X, }
  470. ; errors from clients. Turning the display of startup errors on can be useful in" K$ b4 o. B, {4 T# L, ?: j
  471. ; debugging configuration problems. We strongly recommend you
    ( Y& ~8 m  e8 \
  472. ; set this to 'off' for production servers.+ G9 h2 P. j/ ?) l& h6 J% _! F, j
  473. ; Default Value: Off
    % ^$ L7 K& v1 ]7 X1 L* h; h5 f; e
  474. ; Development Value: On
    6 M; m, J2 ]- v5 T
  475. ; Production Value: Off
    / k9 t$ J: W9 A7 C( n6 |* }8 K$ d$ Q
  476. ; http://php.net/display-startup-errors
    / P7 i5 O2 \% o2 q$ o: B
  477. display_startup_errors = Off
    ) \! X1 O3 y9 S% E, u

  478. ! _7 D/ p  h3 M* z( a0 ~
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    7 w9 i- T& |+ E! m
  480. ; server-specific log, STDERR, or a location specified by the error_log2 u; g7 x' R( X5 J
  481. ; directive found below. While errors should not be displayed on productions( B! |4 B0 s* Q: q, G! P
  482. ; servers they should still be monitored and logging is a great way to do that.8 r* z' a, a7 z+ K7 j; k
  483. ; Default Value: Off
    : J1 d$ E: w- V& f6 b) ?- Y/ I
  484. ; Development Value: On
    8 k% {# \; N1 {% f. G  ^+ J5 ?
  485. ; Production Value: On7 w) w+ K. P& ^2 Z, w0 Y7 z% ~
  486. ; http://php.net/log-errors
    5 ?! \! C) _3 N- M! w# r
  487. log_errors = On) [: w% a+ ?/ R0 x* m
  488.   x- W- }$ F$ T
  489. ; Set maximum length of log_errors. In error_log information about the source is/ ?# c2 c0 t6 j
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ; E$ b5 D3 ^  ^, z9 _2 X1 x, V
  491. ; http://php.net/log-errors-max-len) a6 m3 j) t0 U2 Q
  492. log_errors_max_len = 1024; x( B& {* E/ z# F! R- w: U  I( M+ o  D

  493. 8 g7 m  T4 n, q" n/ q8 G
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; N2 n7 x/ o2 S2 {  }, p
  495. ; line unless ignore_repeated_source is set true.
    ; j1 g# B: [7 \. N" [
  496. ; http://php.net/ignore-repeated-errors
    1 R( G5 j$ E+ }4 m. q
  497. ignore_repeated_errors = Off) }7 m- x/ [/ W. z. m+ S3 G
  498. " `. \5 M! V( X, d4 M2 D
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ' Z4 U8 f5 ~' M7 I
  500. ; is On you will not log errors with repeated messages from different files or
    / G6 s- _% J1 |3 ~8 {  ]
  501. ; source lines.8 e, F% U7 Z- L
  502. ; http://php.net/ignore-repeated-source' E7 o2 ~2 _! {7 L" ?
  503. ignore_repeated_source = Off
    4 I) y: }( ~& H! o' t" n

  504. % k+ N- C* B7 g: W# B
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " d/ X% M9 o$ E6 j# b8 A
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + @; ]; v- Z5 d7 V2 i" H
  507. ; error reporting includes E_WARNING in the allowed list
    ; n. t$ ~8 F! g( |
  508. ; http://php.net/report-memleaks$ o! e0 [! G* _1 e) Z% }
  509. report_memleaks = On
    0 X& F. \7 D. c8 ~' d" ]) I
  510. 1 P9 t# ~' \4 H1 P# T
  511. ; This setting is on by default.: V$ V& y- k: ?- b! }! i4 }
  512. ;report_zend_debug = 0
    " M8 f8 J! }  h, c

  513. $ o  p; [7 x% h0 C+ ]+ n5 Z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value2 C; S$ }9 r2 s0 y& B
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    " u$ R8 N+ ^9 e! v: ]( ?
  516. ; however be disabled on production servers.
    1 Y; z! D8 L+ A/ h7 u
  517. ; Default Value: Off- K" g* _( r5 G& \# i
  518. ; Development Value: On, Q. c2 ]6 H6 |0 H3 i
  519. ; Production Value: Off) ~  O5 ^$ ^# w0 }
  520. ; http://php.net/track-errors
    / v. A0 a0 W+ L& L7 z
  521. track_errors = Off
    " l' \* T3 b9 H. y3 ?9 ^9 k

  522. 5 @0 e7 q$ M1 ?% a
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    $ e* K* K2 h# G8 k# t0 }
  524. ; http://php.net/xmlrpc-errors. }9 @# }1 T5 `7 G0 \
  525. ;xmlrpc_errors = 02 B% A$ U7 Y$ J, L, y0 E
  526. , s1 }8 _" d( ]
  527. ; An XML-RPC faultCode; b) l' T& w4 U( b+ I) O
  528. ;xmlrpc_error_number = 0
    ( E/ `) c# }; P* k, u

  529. # W) E- g) T. |6 K% T" H$ M
  530. ; When PHP displays or logs an error, it has the capability of formatting the% J& o# |1 L5 e9 B: [$ o
  531. ; error message as HTML for easier reading. This directive controls whether" `7 r/ s5 w/ p+ b; v- V* z- W
  532. ; the error message is formatted as HTML or not.( Z. c) G3 a* L5 g" ?. @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 j, A1 d) s9 K0 q; @8 i0 n
  534. ; Default Value: On
    : W9 q0 X  K4 u# X- a2 y
  535. ; Development Value: On
    4 n' d! }/ u2 R! d3 q( P# h" F# J
  536. ; Production value: On! K# Y  u2 Z$ H
  537. ; http://php.net/html-errors
    0 r0 n4 {; o$ ^8 x; S& i  s
  538. html_errors = On2 ^: b" p6 i6 o+ C

  539. 2 j. N# S4 a0 v- D  L
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 O- T  y3 o0 r
  541. ; produces clickable error messages that direct to a page describing the error
    ( [( w6 q# F4 f
  542. ; or function causing the error in detail.# B1 C' `6 W& r/ y9 d7 g
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    / P4 e7 Q( A0 i$ I$ l+ V
  544. ; and change docref_root to the base URL of your local copy including the
    $ M( V9 D* [* @
  545. ; leading '/'. You must also specify the file extension being used including/ ^2 O! o5 s* [4 e( \5 M
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    7 R% y4 ^7 C" J5 U" Z' m5 @( C
  547. ; case no links to documentation are generated.5 w9 F8 [% s) t2 G- l
  548. ; Note: Never use this feature for production boxes.
    ( e% [5 ?' ]1 ]! Q5 Z0 B- K0 i
  549. ; http://php.net/docref-root
    2 L5 Y8 Y/ r5 Z% }& Y. ^4 f6 X
  550. ; Examples7 q/ d+ g4 F, H  d
  551. ;docref_root = "/phpmanual/": N* x* `+ r8 `# `5 x% N

  552. 1 s. S. e  y, ]3 Z/ S4 g& ]3 |) {
  553. ; http://php.net/docref-ext3 I* y' d. _6 x/ V$ @1 d5 i
  554. ;docref_ext = .html
    ( h' F" p+ k! o- C

  555. . T+ \# w: N- C2 |
  556. ; String to output before an error message. PHP's default behavior is to leave* P6 J1 O2 d( P# u1 Q/ Y
  557. ; this setting blank.; P* L# T) _2 c% j7 ?3 k
  558. ; http://php.net/error-prepend-string
    - q' d/ `  f3 n$ C7 N
  559. ; Example:
    ' |5 C) v% T. L' x1 f: h
  560. ;error_prepend_string = "<span style='color: #ff0000'>"9 q, Z5 ]# H. R/ N6 E
  561. 6 J* u# ~3 O" O: g' W6 g
  562. ; String to output after an error message. PHP's default behavior is to leave
    ) u* A/ `5 @) W  j" L
  563. ; this setting blank.
      i2 y/ ]+ g3 P- ?4 k
  564. ; http://php.net/error-append-string. i9 _- p2 d% l/ q7 ~: _
  565. ; Example:
    6 V, o5 ^& B/ p) E4 l# h
  566. ;error_append_string = "</span>"
    3 l6 x% S" R7 }# @' Y& B  \/ i
  567. 1 Y+ G4 B1 m" E+ W5 r- e
  568. ; Log errors to specified file. PHP's default behavior is to leave this value. [/ ?9 @; o4 O" u; ?( E/ l
  569. ; empty., S/ P. ]; c" r; z: t& F  T
  570. ; http://php.net/error-log
    4 _0 s4 B. x6 f) Z1 a% A9 x: ]
  571. ; Example:
    9 P& Z: `! R; t. A+ `* e5 [
  572. ;error_log = php_errors.log
    - ]7 K( m1 f+ W9 O. Z
  573. ; Log errors to syslog (Event Log on Windows).) R; k( y: }' ^2 P: a
  574. ;error_log = syslog
    1 O- I+ Z" j2 Q: {
  575. % ?' B- {( P5 Z2 n! s; q: e+ J
  576. ;windows.show_crt_warning6 {2 J) j* o' t7 h: Z$ d$ j& G
  577. ; Default value: 09 p/ ^; q" l$ M# x4 r  |: U6 p
  578. ; Development value: 0
    # `2 C# Q' \9 n" H' a% H
  579. ; Production value: 0
    / H0 S6 Z5 O5 U) b2 Q+ I
  580. * k2 y/ @0 n+ v6 H
  581. ;;;;;;;;;;;;;;;;;
    - P3 i* i7 N3 o9 a" D6 B: z. A
  582. ; Data Handling ;/ O- u& N. G1 @; q9 ?$ J9 `* b
  583. ;;;;;;;;;;;;;;;;;
    ( h; J3 f) e7 y1 V# c
  584. # P! T2 w' P' V* A* a' r
  585. ; The separator used in PHP generated URLs to separate arguments.
    % Q) J) a5 A3 r, O
  586. ; PHP's default setting is "&".2 ?! F: l8 @$ C( ^+ I$ V8 g
  587. ; http://php.net/arg-separator.output+ v8 ]+ I0 [! N7 s2 R
  588. ; Example:4 l( S; ]6 d5 Z" n4 q# Q* c; C' K5 I
  589. ;arg_separator.output = "&amp;"
    " I- a# I$ Y3 |2 I% }# N
  590. 8 q" ]: u) z; o! X8 C4 T, b+ n
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 k6 k6 j) i8 q# c/ b3 A
  592. ; PHP's default setting is "&".
    & n; h5 z4 d& l( m  Y- a
  593. ; NOTE: Every character in this directive is considered as separator!
    ) X+ B. `. Z1 S  ^
  594. ; http://php.net/arg-separator.input; j5 p" C4 l# W$ G
  595. ; Example:
    , a# B. M6 t% d2 t( Y% n, p3 |
  596. ;arg_separator.input = ";&") U9 v/ q) D$ a& e/ _+ p& J
  597. : _- H7 L  |6 y& M" V0 ^
  598. ; This directive determines which super global arrays are registered when PHP
    6 y: g+ T$ V: n8 c* H% T- |
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 ^& K9 Q5 M! q, V' S
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty  k: o! V4 f3 M/ Q+ J; m
  601. ; paid for the registration of these arrays and because ENV is not as commonly) h) b# u6 P0 @7 r: r- C
  602. ; used as the others, ENV is not recommended on productions servers. You/ u5 W) X9 b; y- I  P  R
  603. ; can still get access to the environment variables through getenv() should you
    * y# x( R( E8 r' x. u7 ?/ e7 M) s+ }
  604. ; need to." g; W3 i( `" t# S& O% s
  605. ; Default Value: "EGPCS"
    ' a& @( C! u  i" _' x7 w, C
  606. ; Development Value: "GPCS"4 z4 E2 ^5 U) c: X7 t6 w+ Y
  607. ; Production Value: "GPCS";
    ( R% c2 G' r- q9 ^$ Q
  608. ; http://php.net/variables-order; j& g' v! f/ O6 O
  609. variables_order = "GPCS": f* _0 {8 k1 `, b% s3 @! B

  610. 9 b4 Y3 u* e% L+ F
  611. ; This directive determines which super global data (G,P & C) should be# n, S7 f( b1 L! ?7 R
  612. ; registered into the super global array REQUEST. If so, it also determines/ E4 `& o5 _/ b& a: K# {, K
  613. ; the order in which that data is registered. The values for this directive
    . o4 s  i' ^2 h$ J2 l
  614. ; are specified in the same manner as the variables_order directive,
    ( _5 ]2 z/ ?; Y; ]/ E( E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) D- `( K8 s) o# m0 X
  616. ; in the variables_order directive. It does not mean it will leave the super* A2 S% h- a" C3 _
  617. ; globals array REQUEST empty.; P7 [2 ]# @6 F& M' C% P
  618. ; Default Value: None
    6 ?+ E+ I0 @7 T  R8 r
  619. ; Development Value: "GP"$ w0 @1 m7 |* r' H% W9 ^( U* t
  620. ; Production Value: "GP"
    $ L! Z- E4 w7 s: U5 p8 f, E# U# F: D
  621. ; http://php.net/request-order
    0 M2 M5 O$ n( U
  622. request_order = "GP"
    # h" x& F- i% X$ |
  623. ; H  t5 G% B2 c9 P! y3 a
  624. ; This directive determines whether PHP registers $argv & $argc each time it+ X9 x) D0 P+ ^2 {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script2 S; F- Y. v& p* V3 C/ {
  626. ; is invoked. $argc contains an integer representing the number of arguments
    / }7 x: J+ y, l' j
  627. ; that were passed when the script was invoked. These arrays are extremely
    9 Q+ u# H" X- R# G5 a
  628. ; useful when running scripts from the command line. When this directive is
      L. u9 T* M* q0 ^" Y' f
  629. ; enabled, registering these variables consumes CPU cycles and memory each time; I" R2 j* z3 n5 c# C2 y
  630. ; a script is executed. For performance reasons, this feature should be disabled) Z+ w7 I& {1 v
  631. ; on production servers.
    ( M+ R! u# C% o, N/ I
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( a; z' C+ f  B% Y# _' I
  633. ; Default Value: On
    3 c3 H0 M6 a% f
  634. ; Development Value: Off( k0 F4 x/ e. C8 `
  635. ; Production Value: Off
    ' Y9 B  D: F9 G) ]
  636. ; http://php.net/register-argc-argv* K2 N. R' @& f" n; g/ `
  637. register_argc_argv = Off8 M! ^( l; V- `1 j% v& S- n6 Q

  638. 8 F: U7 L" f! V% P$ g' Y
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! e! E: O( h1 J* n% A( V4 o
  640. ; first used (Just In Time) instead of when the script starts. If these9 D2 r, ~8 M5 T" g6 O: _7 o1 J, m2 X
  641. ; variables are not used within a script, having this directive on will result
    " ?; s& C5 Q7 a' P1 R; F' Q
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ) z$ _, q- R7 F5 N
  643. ; for this directive to have any affect.5 y4 R" k* P4 f: Q' K  p
  644. ; http://php.net/auto-globals-jit
    ' l, Q$ u/ f/ c3 @" q4 Z
  645. auto_globals_jit = On
    6 i" K# y. @; I7 m, s8 h# O
  646. # s; l& U3 {8 c, U4 X, ], d& `
  647. ; Whether PHP will read the POST data.
    6 p- S) w& r! t
  648. ; This option is enabled by default.
    9 v; v6 f/ |+ x0 C
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% M! g0 p/ ~! N
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    0 m! v( O3 a9 Q4 p9 w
  651. ; POST data will be through the php://input stream wrapper. This can be useful% Q  W% a9 f- x8 i0 B, l3 h  |
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., F& x, Z2 G0 P) w
  653. ; http://php.net/enable-post-data-reading# I; q& Q0 u# l. r; B
  654. ;enable_post_data_reading = Off
    2 J& ^2 `, |# s% z3 u
  655. ; l9 h; b/ u; w0 s& |: Z
  656. ; Maximum size of POST data that PHP will accept./ h5 [6 {" D$ q+ L
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& n7 j: w6 Q8 s! q* S& E5 ^
  658. ; is disabled through enable_post_data_reading.& }; ~' o. I, V: ]! P4 h$ u
  659. ; http://php.net/post-max-size
    7 ]) o4 w. A. a; y1 B0 J; q
  660. post_max_size = 50M
    3 _$ l! p) F& G# g& i
  661. + n% p+ l0 V# s9 f
  662. ; Automatically add files before PHP document.
    ) m. W5 R. G" @; o
  663. ; http://php.net/auto-prepend-file( R* M7 S& r6 |- v8 Z9 y# c) A' L& ^# V
  664. auto_prepend_file =
    7 i% @5 K+ j- p: F
  665. ' u4 T9 @6 O' V- Z1 W
  666. ; Automatically add files after PHP document.
    # f# q. y% }* n+ x8 p0 L% @' \# F  @
  667. ; http://php.net/auto-append-file0 Z& n0 s: V8 g- S* o9 u1 R( m
  668. auto_append_file =. I$ i  s6 `6 s2 ?/ {
  669. " w* G( _% |2 {* g: I
  670. ; By default, PHP will output a media type using the Content-Type header. To
    7 U  y( b: J5 ?9 j; G& e
  671. ; disable this, simply set it to be empty.
    ' E6 T9 m3 e& X0 b# w
  672. ;! h- P2 m0 Q3 `$ D7 S
  673. ; PHP's built-in default media type is set to text/html.
    : k; A* _$ y* L- G
  674. ; http://php.net/default-mimetype" @  q7 @% d- p- k9 B! [! C
  675. default_mimetype = "text/html"1 H: y- i: O1 ~
  676. ' I: _9 f2 V6 R1 j- r
  677. ; PHP's default character set is set to UTF-8.7 U- O/ j1 z& P+ }& ?0 A
  678. ; http://php.net/default-charset6 t6 e+ |# p& x1 c/ a3 N4 |6 ?
  679. default_charset = "UTF-8"2 W+ O; _7 j2 u# A$ v( F
  680. % ^; w6 P$ b, l% q% {
  681. ; PHP internal character encoding is set to empty.
    ' K) R3 ]  N4 |0 N) I
  682. ; If empty, default_charset is used.  H; l1 d- l+ Z( S5 }0 T7 }+ m
  683. ; http://php.net/internal-encoding1 p5 x( P$ X3 q, ~% c( n7 A
  684. ;internal_encoding =4 q; O& i- W! y) G3 a4 y* L: n1 r

  685. + P$ v; |( r6 D& ?
  686. ; PHP input character encoding is set to empty.3 N6 V; C. k( m7 c  v4 w
  687. ; If empty, default_charset is used." O0 G9 B) j: M; y, P" ^5 N* S
  688. ; http://php.net/input-encoding
    $ L4 @- T; v5 k1 |" C- {. g$ x: \
  689. ;input_encoding =
    / b" w( D" R# K2 c1 V; O
  690. 0 F- k7 P( `. T& w
  691. ; PHP output character encoding is set to empty.6 r3 n7 p$ P1 s3 k( c5 t
  692. ; If empty, default_charset is used.
    * m0 ]( L- W  n0 X6 K3 e) a
  693. ; See also output_buffer.
    ! r9 s' O  M3 e  l% b! U9 f% c, p
  694. ; http://php.net/output-encoding# L" y0 a% i& {
  695. ;output_encoding =7 P( j) i7 k3 h  w4 H. `% Z
  696. 5 y" c( O: d' l  V/ R5 B9 s8 b
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " c& X. z' R* d1 o8 i0 a2 U* g. K
  698. ; to disable this feature and it will be removed in a future version.4 T! v+ Y# j3 o# k# t6 Y
  699. ; If post reading is disabled through enable_post_data_reading,, Z. Z% p' e, S# h$ D( D
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    5 U/ ~6 A$ z, i* h
  701. ; http://php.net/always-populate-raw-post-data4 [2 B5 O3 R& U: F
  702. ;always_populate_raw_post_data = -1
    ; }/ H5 \& V0 f

  703. 3 K. q. G( K! J! \  T' f( ~
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 G+ x" V; l. `& K- b* ?8 Q
  705. ; Paths and Directories ;2 T# i* m  @5 D0 I: h+ n2 W
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + D( l( @7 ^+ |. r$ e) `

  707. / v* C8 k+ P: n& [# T2 v1 e
  708. ; UNIX: "/path1:/path2"
    * `- n& C/ x' C# W$ o* }
  709. ;include_path = ".:/php/includes"
      Q# v6 T( u! t- ~7 B% I
  710. ;
    : y1 y  d; A5 N3 q
  711. ; Windows: "\path1;\path2"- ]  _6 f- `4 M/ o; T
  712. ;include_path = ".;c:\php\includes"1 K/ N' h3 ~( B% Z) g* z
  713. ;* C* P8 e) c( v: v
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    3 ^9 q# X! ^9 n
  715. ; http://php.net/include-path
    3 @) b% M- V/ K
  716. * @& r% j4 F/ R* I- U
  717. ; The root of the PHP pages, used only if nonempty.7 ~' ]% W0 w, p5 l5 t4 T' R3 o
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - Y0 ]( \/ C* Y5 t0 R# H
  719. ; if you are running php as a CGI under any web server (other than IIS)7 ~& {+ p3 _9 y+ r* D$ s# N
  720. ; see documentation for security issues.  The alternate is to use the1 z6 [) W( F& k8 h
  721. ; cgi.force_redirect configuration below+ q$ a; J& F7 u
  722. ; http://php.net/doc-root6 U' ?! R1 O+ b  |
  723. doc_root =
    ' L+ M* ]0 p- _8 M, Y

  724. ; b: M. G8 h  b3 r2 {
  725. ; The directory under which PHP opens the script using /~username used only. z4 Y- J  ~( v" C9 b* U! P
  726. ; if nonempty.# Q5 A! C% Z2 {7 s
  727. ; http://php.net/user-dir
    / N' q" g$ N0 u3 {' l
  728. user_dir =
    $ s/ c! `) U: H; B8 D( n+ X

  729. 7 b0 u: L! n" e/ E) M7 o. I
  730. ; Directory in which the loadable extensions (modules) reside./ V. q0 Q  [- J3 n2 K
  731. ; http://php.net/extension-dir
    + R% \6 m4 q% Y0 l
  732. ; extension_dir = "./"
    + e, E0 L* I* F# r: c
  733. ; On windows:
    & y( C0 r  p  f: _
  734. ; extension_dir = "ext"
    0 z7 @' R' W: Y3 I: N6 i6 a

  735. 1 [& y/ ^* `6 q
  736. ; Directory where the temporary files should be placed.
    , c& b2 Z/ {; X
  737. ; Defaults to the system default (see sys_get_temp_dir)
    # ~, l; M! k- O+ x/ A8 Z8 t- U
  738. ; sys_temp_dir = "/tmp"
    9 G6 Q* z  {- `
  739. 1 y# @* `7 I( [8 t  h$ M
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , f! J# U2 n1 V, Q
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically6 {) ^) P' j& n1 ?5 d; b* C1 s  E. G" L
  742. ; disabled on them.
    % M# W4 J3 ?) v1 b
  743. ; http://php.net/enable-dl
    1 U* m, s; Z$ i* w
  744. enable_dl = Off
    2 v, J0 N) `# G, q# x5 R* P4 y# d

  745. + `$ d6 z' }& J7 d- p8 s: N) x8 s. H4 N
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under; R3 c1 `9 D4 k  c
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! n' b1 p3 L, i; i# E* L; \
  748. ; turn it off here AT YOUR OWN RISK
    $ \' l" E7 L$ ^5 |( t2 ^' m/ N* N
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - i* G' a/ f4 N- m$ A; p2 C3 _
  750. ; http://php.net/cgi.force-redirect' U1 y* y3 \9 o' o6 w3 Y
  751. ;cgi.force_redirect = 1
    8 B8 \0 p2 g* r
  752. : a" b5 [+ u% P, I! H) M+ Y  B
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # |! L3 X- [1 u8 l& h
  754. ; every request. PHP's default behavior is to disable this feature.# Q4 v5 Q% [" P
  755. ;cgi.nph = 1" A$ I& p" E& Z9 ~% o1 Q  [
  756. 2 n8 G1 @" q: P  T
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    0 J; [9 K( U& v2 F
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 [5 Q/ Y$ D( `
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / i- p; l; n3 f& O/ p
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' Z2 w* k9 K* j. W$ x7 t' T) ~
  761. ; http://php.net/cgi.redirect-status-env: [, s+ ~$ `+ z, f
  762. ;cgi.redirect_status_env =
    1 N% a+ w2 L  C+ f; p* r! V# o  W

  763. ( F  k/ N  z  B* r- ?
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 \! a* R# _# Q& y6 J6 y
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok5 K0 n* ?2 U+ ?6 C7 ]9 ]( y
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 p0 C# V$ _& m" G3 z. _' o* z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ z+ L3 y' \2 l% z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 o$ ~# [6 D5 V! p6 ]- ?
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) X9 P: B: F1 j+ ^
  770. ; http://php.net/cgi.fix-pathinfo  k( a- U+ s, G2 X8 y4 m4 m1 ?2 Z
  771. cgi.fix_pathinfo=1
      X9 ^0 f* A. Y

  772. / A: i, ~, N4 K! ~) r' `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      Q; Q! F3 m2 j- o) z2 ?$ K
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + }, j% z9 r$ G( X" I+ t
  775. ; http://php.net/cgi.dicard-path( t6 B/ d8 {( d) D5 ?  A
  776. ;cgi.discard_path=18 m4 M3 m; {$ h
  777. : m7 S' K0 o$ S* ^" _. W$ \3 W# t- P
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : _( U' W; H2 Y; f; P
  779. ; security tokens of the calling client.  This allows IIS to define the. R" s6 p+ Z; |( l
  780. ; security context that the request runs under.  mod_fastcgi under Apache2 U$ d+ V, ]6 a( U- M5 A0 `9 O/ n9 E' P
  781. ; does not currently support this feature (03/17/2002)0 c! N, g9 H1 h# i# m
  782. ; Set to 1 if running under IIS.  Default is zero.& \  Q; ]( ~4 l( N- A* F* Y& P
  783. ; http://php.net/fastcgi.impersonate# A/ |" G% g0 g
  784. ;fastcgi.impersonate = 1% G: K! {, U/ h. b" R- w
  785. / T4 B( E0 n+ _, z5 G3 ]3 e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    , W. ^0 W' @, Q: o
  787. ; this feature., P+ _2 Y6 I/ w$ Y' n( D9 @0 \. ~
  788. ;fastcgi.logging = 0
    , r% w% z0 E6 L* e" b9 s2 Y7 W6 N

  789. - T) }7 l- X/ {# b( J9 Z
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  ^1 ^' k0 \! f5 p. p- p
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 i+ ?5 L7 i8 x1 n/ n2 t
  792. ; is supported by Apache. When this option is set to 1, PHP will send! ?2 m$ C' W- G) B0 d9 B
  793. ; RFC2616 compliant header.
    " J3 B5 ]0 W5 |% n" u7 B
  794. ; Default is zero.
      C+ E: {/ N, H( H
  795. ; http://php.net/cgi.rfc2616-headers
    # a) f& [) h! Y0 b7 z" A9 o
  796. ;cgi.rfc2616_headers = 0
    % n% f$ [$ w8 v. {) `4 H

  797. # N+ r. N# J" ?/ Q
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 V& C: c+ \& i+ t2 Z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " T' _* ]2 ~1 [8 ]( o, G8 b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 T; k9 _( }* H
  801. ; mode skips this line and ignores its content if this directive is turned on.% q4 P, N: f6 ^& w3 @# v8 X
  802. ; http://php.net/cgi.check-shebang-line* T' _: t' k9 u0 m: t+ b
  803. ;cgi.check_shebang_line=12 u6 C  l: J" @% B1 P9 s
  804. 7 j  K6 k! ^9 N
  805. ;;;;;;;;;;;;;;;;
    + W, ^) o0 S7 j! S) c! r  O3 y
  806. ; File Uploads ;$ i: t2 {/ ?! ~& p; z, }
  807. ;;;;;;;;;;;;;;;;
    % U  J5 r8 {& X( N3 p' k5 E* L

  808. 6 h6 g" v( X$ H' G* a
  809. ; Whether to allow HTTP file uploads.) t& _# D7 y, b6 @9 {9 G& V& Q, Y
  810. ; http://php.net/file-uploads; E3 u8 x+ ]  U0 E) `4 e
  811. file_uploads = On
    - @/ W* p9 {- ]# U$ H& [
  812. : O0 M0 D, g# u1 w: H  ?
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
      U5 c' Q& ?4 K4 n
  814. ; specified).! V) @0 O/ K& B* b- x
  815. ; http://php.net/upload-tmp-dir
    , \/ ?+ R! l( [7 A
  816. ;upload_tmp_dir =* F4 b8 f( `/ X# v
  817. & d! Q' }! |9 i
  818. ; Maximum allowed size for uploaded files./ O+ M+ ]; w. a1 j! n' Q0 [+ R5 V
  819. ; http://php.net/upload-max-filesize8 t5 x& S0 W: D4 x" x; \
  820. upload_max_filesize = 50M
    * H3 V( |, s2 a; U* C  [1 F
  821. $ T% b# v0 L4 d8 z
  822. ; Maximum number of files that can be uploaded via a single request8 k1 x! Q- \3 f# K  W
  823. max_file_uploads = 200 N3 A; V. {9 x( m
  824. 2 [, w: f& O& A# m
  825. ;;;;;;;;;;;;;;;;;;( i9 L. ]" u% |' x/ o/ F
  826. ; Fopen wrappers ;
    * P# G$ ?3 d+ P, b8 ^! s/ E  `
  827. ;;;;;;;;;;;;;;;;;;
    - q7 h9 U2 y& }
  828. 1 |8 m+ G( H) b; D
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + w# ^/ Q7 R& x) N- @
  830. ; http://php.net/allow-url-fopen
    ! R' M) \+ L3 Y4 {9 s% F+ h
  831. allow_url_fopen = On
    : A: k8 ]( L- c( |4 l7 I! o
  832. - G' s5 w9 a( I6 U; U2 W3 z' o) F' @7 a
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.. p* W+ F; h2 z! [4 T$ a
  834. ; http://php.net/allow-url-include
    $ y) E; @  `: T$ x0 G1 T
  835. allow_url_include = Off
    0 [2 ?6 @( k; K1 S) v5 v
  836. 6 j. r  ^0 U2 G# ]
  837. ; Define the anonymous ftp password (your email address). PHP's default setting+ h- {8 j  @- z% Q' |' ^. X
  838. ; for this is empty.4 R1 c1 C# f% m. n( j
  839. ; http://php.net/from: Q* z$ s' O! D/ C
  840. ;from="john@doe.com"
      W7 G. C, W2 z
  841.   f- M  r4 I! W) q1 p( L& S6 C
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ t5 ^5 g- u! ~
  843. ; http://php.net/user-agent6 k  m& \% X' j' {( [9 f
  844. ;user_agent="PHP"% Z/ Z5 R9 P, l- i0 \

  845. ( s! ~$ ]; k' r/ }7 p) W! q
  846. ; Default timeout for socket based streams (seconds), m$ r1 D- I# ~! M$ U( ^4 e4 p
  847. ; http://php.net/default-socket-timeout+ R8 s. L* o' x8 p9 Q6 x1 u  g
  848. default_socket_timeout = 60
    3 b' q* w; c3 N2 m

  849.   S- ^6 g9 T( D) F  X$ p" Q
  850. ; If your scripts have to deal with files from Macintosh systems," Y6 ]) ~! b& r4 f4 \* q: x/ r
  851. ; or you are running on a Mac and need to deal with files from/ G; l& u/ S7 B! O* D! Z
  852. ; unix or win32 systems, setting this flag will cause PHP to( q) Q: O: p+ b. q/ `4 ~9 l
  853. ; automatically detect the EOL character in those files so that
    $ D+ a. s' p; a) Q
  854. ; fgets() and file() will work regardless of the source of the file.- O7 \0 n! G( Q, X3 Y: [
  855. ; http://php.net/auto-detect-line-endings! c) L" y) }$ @3 [% ^& ^. X
  856. ;auto_detect_line_endings = Off
    5 y' h3 f# L4 ^" B
  857. " {$ q) x# h+ G6 U8 ~7 X: y/ z
  858. ;;;;;;;;;;;;;;;;;;;;;;- C- a. I/ p) I& v
  859. ; Dynamic Extensions ;
    , ^6 H0 S# G, `# R
  860. ;;;;;;;;;;;;;;;;;;;;;;' W: G+ q5 d' u5 |# \* L9 X0 e
  861. 7 W7 w8 H, g/ f; n7 I" T5 I
  862. ; If you wish to have an extension loaded automatically, use the following9 G3 z! O5 S/ m
  863. ; syntax:1 D4 w- ^: {, H6 B5 M% ]
  864. ;
    + e% r) `/ ?  o1 C# z+ e
  865. ;   extension=modulename.extension3 M/ a0 a' J) ]4 D  `
  866. ;
      z% _& _$ ^( {3 b
  867. ; For example, on Windows:
    1 R( F4 e# y% ?  |% Q0 G1 l! E8 G
  868. ;' p" j5 C% U! q: z' C
  869. ;   extension=msql.dll
    - {0 K! B) j* }: r) m# g
  870. ;
    6 d# i4 p2 b* a" a1 G( y
  871. ; ... or under UNIX:& }: q  {+ S1 b. N
  872. ;
    / ^0 m" T( \+ S5 C7 u  K
  873. ;   extension=msql.so
    . K6 ]' e1 r0 L! E7 s. E1 u  V( B
  874. ;( M; S1 _' _$ q1 {
  875. ; ... or with a path:/ h( r7 Q* K" A
  876. ;' ]: S0 M: [+ o, B' t
  877. ;   extension=/path/to/extension/msql.so* P; l7 P7 s; p# C& S  ~* R
  878. ;/ M/ _6 A6 p' S7 J
  879. ; If you only provide the name of the extension, PHP will look for it in its
    3 m: I: U9 V& E
  880. ; default extension directory.& n: r3 G  y8 t) W1 E" Z% R
  881. ;
    + q# _# ], l1 N5 A4 G# z
  882. ; Windows Extensions7 O  X; x/ M5 O1 x: b: g( E& U
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    9 P& D( c  e+ d0 F8 p5 `& Q
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    5 n) ~3 H: ?. o
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; z5 b7 b3 p" H" |
  886. ; Be sure to appropriately set the extension_dir directive.
    , T* c+ m6 D$ G5 }" \
  887. ;8 r' R1 J- Z5 f% a. i$ V9 e, I
  888. ;extension=php_bz2.dll
    ; S1 Z6 U$ s2 }2 V
  889. ;extension=php_curl.dll3 r$ c1 q: A- @8 V; I
  890. ;extension=php_fileinfo.dll
    5 {$ I( W! ^/ X/ X
  891. ;extension=php_gd2.dll( v0 p3 B0 ^: h2 R. Q$ _1 _, d
  892. ;extension=php_gettext.dll
    % L+ y4 O  [" o# k+ M: _5 `
  893. ;extension=php_gmp.dll' C) J" t+ A, N/ U2 q
  894. ;extension=php_intl.dll
    0 U$ y/ k' e  ]. r
  895. ;extension=php_imap.dll
    ! @! e$ P/ F" k
  896. ;extension=php_interbase.dll
    & f; X, V$ j1 q1 o
  897. ;extension=php_ldap.dll9 ~: Y& Q" A0 q
  898. ;extension=php_mbstring.dll
    ) a0 r: s. N, c3 w& U* c2 u
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    8 t4 [6 \& G, ~" y9 E
  900. ;extension=php_mysql.dll
    2 f& W! H7 u: K0 Z8 F- p) [5 e
  901. ;extension=php_mysqli.dll
    % @2 Z. Y: n6 o  S1 P
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    % q5 h% |. k4 ]2 _. S. S
  903. ;extension=php_openssl.dll
    - \: Q$ E( L6 y& C, L
  904. ;extension=php_pdo_firebird.dll3 N4 ?: _/ k/ p/ O* R; s4 [, z
  905. ;extension=php_pdo_mysql.dll
    ) C* ^# T5 y* s. ^8 ~
  906. ;extension=php_pdo_oci.dll3 H1 m5 P" b7 Y' V
  907. ;extension=php_pdo_odbc.dll# q1 u, a( W, y, o1 \
  908. ;extension=php_pdo_pgsql.dll9 [3 l+ r/ A! \1 H( e9 z
  909. ;extension=php_pdo_sqlite.dll% Z1 s5 R& ~3 \3 M, Y' u# C8 G
  910. ;extension=php_pgsql.dll# t5 f% q8 e) ~; O$ i* i$ h0 O+ j
  911. ;extension=php_shmop.dll
    3 D& X) ?' T' v( g
  912. . H6 f7 i. J3 m
  913. ; The MIBS data available in the PHP distribution must be installed. $ V/ j0 h/ O5 R3 l' X
  914. ; See http://www.php.net/manual/en/snmp.installation.php ( p* g  h' K+ {
  915. ;extension=php_snmp.dll
    & C& @. p6 h# I0 r9 p/ a% C9 Z
  916. / C. Y. t. G" z3 A# }
  917. ;extension=php_soap.dll
    # X9 q* d& p2 v
  918. ;extension=php_sockets.dll
    # Y) f9 z. L$ T1 u; A
  919. ;extension=php_sqlite3.dll7 N' }" U! h" e" f4 X2 ^* c7 g( J7 W5 ~% o
  920. ;extension=php_sybase_ct.dll
    ) w0 J6 A5 f6 h  A/ E. o6 r
  921. ;extension=php_tidy.dll
    4 K7 H# R: J9 l2 L* a( {
  922. ;extension=php_xmlrpc.dll
    , _! ^. [3 U0 V9 V' M
  923. ;extension=php_xsl.dll
    2 h' J! e2 ^! E
  924. 5 o+ v& M- S0 [# c+ ]& G
  925. ;;;;;;;;;;;;;;;;;;;0 M7 ^% H9 I+ u. [% P
  926. ; Module Settings ;
    4 z8 ~4 b  w9 Q' U6 Q% Z) h# f
  927. ;;;;;;;;;;;;;;;;;;;! t2 t& Q1 g/ O$ j" `( m

  928. ! D1 V. ?4 m, ?8 D( h. h" q- C
  929. [CLI Server]
    ! `1 G4 q/ y$ P% r$ t" A
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 z& W" Z& y2 @! H: e8 P
  931. cli_server.color = On
    : X) \5 O& Y% Z6 U
  932. & T. ?- a# |* q0 ?3 x& h: D' \
  933. [Date]* d) e$ ], h# Y. J* W
  934. ; Defines the default timezone used by the date functions7 u5 v, c( f! v5 M7 d
  935. ; http://php.net/date.timezone% B0 S, Z: y; E7 L2 l! r
  936. date.timezone = PRC) R/ g* x: _6 h
  937. 5 e6 b0 u/ m# H1 N$ V
  938. ; http://php.net/date.default-latitude
    6 |% {# \  N3 [& {# w# G
  939. ;date.default_latitude = 31.7667( L% I' R" @1 g) `8 C
  940. ; o2 @6 K* W% R/ S9 {+ \9 o
  941. ; http://php.net/date.default-longitude
    8 @5 Z5 E! K7 k( B* }. T8 Y
  942. ;date.default_longitude = 35.2333! G* L6 w6 ?& A; [. H4 Q" ^9 F
  943. 5 B5 f& `& S- C; w
  944. ; http://php.net/date.sunrise-zenith
    6 k' _* ]; V; l3 [4 @5 w2 p; ^
  945. ;date.sunrise_zenith = 90.583333
    * @3 i% s, C! m3 ~0 f
  946. , D& E8 {7 c( g1 Q) N+ u7 K
  947. ; http://php.net/date.sunset-zenith
    " ?8 Q9 K: q: F( X/ o0 B- o& B
  948. ;date.sunset_zenith = 90.583333; a+ c2 f6 S  h5 j# L- p
  949. 9 Y% X- }* M- ~* `/ e! Z  _
  950. [filter]$ d6 M0 \" v! _! ~9 l
  951. ; http://php.net/filter.default
    8 N3 v3 h% P; r
  952. ;filter.default = unsafe_raw$ x1 W9 Z8 t' {; J
  953. $ d" k: n4 _. B
  954. ; http://php.net/filter.default-flags. L1 ^" i# U: s3 `
  955. ;filter.default_flags =
    ( S7 t- I3 F& v( Q" R
  956. 7 J7 h( _$ Z1 D6 i8 ]' E. T' U
  957. [iconv]% v; Q* j" w3 v( Q: C/ b
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.5 l9 ~* I( Z! Y" o; x/ i
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 r9 s/ [' N% u
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 Y# T  K4 @1 _) x9 J* R4 p; N1 Z$ |
  961. ;iconv.input_encoding =) G' [* T  v) P# J! Y( P1 p5 J# C

  962. * r0 Q  N. A+ }. K, ~7 R; q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      w: r4 }; Y3 W! ]
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! K0 J, X7 }2 n) `
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + C! o7 x; Y7 N+ A' W0 ~$ @
  966. ;iconv.internal_encoding =+ I3 u# k, p* w( w9 f3 A! g$ K

  967. 4 w# S0 g- ~0 I! h
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' [% U' L& x/ G
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 p' \1 C) F: `' w# {* E
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding9 M& w% P0 @6 r( m5 A1 v" A$ E
  971. ; To use an output encoding conversion, iconv's output handler must be set
    4 s% L9 P9 U' j2 ?2 R
  972. ; otherwise output encoding conversion cannot be performed.- l( @; ^8 d* E  K5 Y8 Q
  973. ;iconv.output_encoding =
    , s' V7 [- M/ O& }! \4 c
  974. 4 R$ t8 |! J" F! k' h) @: N
  975. [intl]' |$ D, a; Y: E5 Y
  976. ;intl.default_locale =
    & E) q2 T8 j% R$ q
  977. ; This directive allows you to produce PHP errors when some error
    4 R* I0 |* g7 M" G2 C
  978. ; happens within intl functions. The value is the level of the error produced.* p5 w( c. L! b: L) x, [( P
  979. ; Default is 0, which does not produce any errors.
    $ ]( _7 Q7 a* L! ~, f: k% U
  980. ;intl.error_level = E_WARNING
    # X: r( G% K8 A% }+ \+ I8 l; ?( z
  981. ;intl.use_exceptions = 0# s9 o& l' J5 e. F: _9 `

  982. 4 H- @) t" o& O: f* m( ~* `
  983. [sqlite3]( x8 Z' L) P) R
  984. ;sqlite3.extension_dir =( r- V* K6 X/ k* c; ^

  985.   n, O. N5 S4 x% {) r2 s
  986. [Pcre]
    4 X6 Q) Y- g  i# A2 \, t
  987. ;PCRE library backtracking limit.% P  n5 [2 I* U
  988. ; http://php.net/pcre.backtrack-limit
    " Z6 C6 U1 `+ _! J5 \0 n
  989. ;pcre.backtrack_limit=100000% }4 w# }$ w- d% t
  990. 6 k1 G8 L# Q5 `3 t
  991. ;PCRE library recursion limit.
    ; ^0 D0 j( r# H, Z. ^
  992. ;Please note that if you set this value to a high number you may consume all
    " g- I$ P: A% R* F9 H  E: H
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) f2 S, U+ V% N$ P- `% @+ y7 C
  994. ;stack size limit imposed by the Operating System).
    " K+ V  H0 F1 k4 e- e7 f. G4 s! x0 }
  995. ; http://php.net/pcre.recursion-limit* a" e% V' c9 \3 ^& ~
  996. ;pcre.recursion_limit=1000006 `% R: _5 A1 G1 [6 K+ {
  997. 4 e- @# r/ B; V" u; K. ^
  998. [Pdo]
    ' y4 P4 e( S, I, U
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"% x' G4 [* o( Q% h
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ' e6 I1 m0 z( J0 I
  1001. ;pdo_odbc.connection_pooling=strict
    & P5 r0 j6 m( |  ^& g

  1002. : Y+ b: J! Z8 @$ o
  1003. ;pdo_odbc.db2_instance_name
    - E, U! Q! c' L: N, ~3 P
  1004. $ g0 ?2 T& Q7 Q$ M- O( e
  1005. [Pdo_mysql]
    $ @+ \: J4 \! I: ^9 c9 G  G
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! T, m7 J" \; i. ?1 R1 E
  1007. ; http://php.net/pdo_mysql.cache_size
    % e- O  W% g/ }/ p
  1008. pdo_mysql.cache_size = 2000
    # q! W5 w+ F9 W- ]3 W3 ~
  1009. : |5 l7 ]6 T* f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 j/ S+ J. r9 T" |' c
  1011. ; MySQL defaults., ]* {5 V3 D6 f# n
  1012. ; http://php.net/pdo_mysql.default-socket
    $ _* m( E0 @8 Y8 f' M6 U; D: I) Y* m$ A
  1013. pdo_mysql.default_socket=
    / I7 @% x3 q. }5 J7 o' J
  1014. ) U8 ?! B' a+ {& r1 d( K; i; Z4 ?: d
  1015. [Phar]
    6 q9 b. V& A  j6 ?5 s4 O- H2 j3 P
  1016. ; http://php.net/phar.readonly
    9 L. e. h6 I: O+ H
  1017. ;phar.readonly = On
    0 j. t, t( |! p: g/ w+ S

  1018. ' k9 R0 x( f& B  X9 l& v
  1019. ; http://php.net/phar.require-hash$ w  [% ^8 [" R( p5 \# A
  1020. ;phar.require_hash = On
    # R5 R1 {' g6 S' c* a
  1021. 3 Z. v" q& v4 K1 G% q1 N6 S* ]2 @9 q, c
  1022. ;phar.cache_list =
    ! B2 {# r( X4 J7 G4 n' }

  1023. 8 w9 U7 Y" J  c) @9 B, U
  1024. [mail function]
    / u2 f" X  }, a
  1025. ; For Win32 only.
    / P# D+ O7 @- L6 P  [( ?
  1026. ; http://php.net/smtp4 N2 P; v: t" x/ E. |1 g
  1027. SMTP = localhost
    ; \! d8 u' c" Q0 i5 n
  1028. ; http://php.net/smtp-port2 N! \9 f' T3 A, y
  1029. smtp_port = 25
    8 l% i* I* J2 T0 R
  1030. - X- _8 c5 O/ I: P, \
  1031. ; For Win32 only.( T9 x8 M0 `0 o. i; V
  1032. ; http://php.net/sendmail-from
    . H5 u+ U. T% |; x
  1033. ;sendmail_from = me@example.com
    ( N! E" Y6 x3 m+ i1 |) F
  1034. 1 [" k7 ~8 h% ^% u
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - ]0 Z- o$ c* e. ]2 _5 s" ~0 ^" n+ s
  1036. ; http://php.net/sendmail-path& a% E& a0 {6 j9 `8 ~. k
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    : Q, Q) k* n: }
  1038. # ?& _5 v3 ]* X) ~0 \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
      W& z( ]2 j1 I3 I: \* R
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) }1 r, U% K7 G
  1041. ; the 5th parameter to mail()./ p* P( Y" ?6 R" w6 V: k. I
  1042. ;mail.force_extra_parameters =& \- A$ Z6 f1 }' R
  1043. 1 M0 H4 h; M4 T* G" _- ^: F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ E! t' `! C" W' t; [
  1045. mail.add_x_header = On4 Z9 t& }7 T0 g4 r% [! ?2 v
  1046. 2 R6 S* L' E8 C' I
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    2 a% e+ d1 V9 ]6 r
  1048. ; the full path of the script, line number, To address and headers.
    ; r! s) z# y% o  u- V
  1049. ;mail.log =9 `) T' I8 X& L: Q2 V0 J
  1050. ; Log mail to syslog (Event Log on Windows).
    $ d6 I9 Z& \- |- H
  1051. ;mail.log = syslog# a5 T) ?% f1 P& y9 S# g
  1052. & J6 K% M8 f4 z- i8 p" y
  1053. [SQL]. m, i& [) m# n0 R  b
  1054. ; http://php.net/sql.safe-mode
    . v+ E2 M* N: g7 k7 ]
  1055. sql.safe_mode = Off
    ) L( E6 K$ E% Z; \9 `% Y
  1056. 0 S* H4 i/ I8 ^: Z: s( P9 i
  1057. [ODBC]: Z; B. `! h4 W
  1058. ; http://php.net/odbc.default-db
    ! @' l" r7 D# n: ~  `  _0 g# Z6 ~7 q
  1059. ;odbc.default_db    =  Not yet implemented! q- @% p+ w) G) m. G2 K" }; _5 s
  1060. - Q7 m- ^, H, f' \% H9 J3 A4 @
  1061. ; http://php.net/odbc.default-user; _% I6 k3 a, `' A, R. Z
  1062. ;odbc.default_user  =  Not yet implemented
    ; D" B- A9 W+ `- A) |- D8 @
  1063. ! [0 M8 _, B, E* ^( n* v
  1064. ; http://php.net/odbc.default-pw% x. ?% \. \( I
  1065. ;odbc.default_pw    =  Not yet implemented; j7 Q  V4 Y* I" U6 R
  1066. 2 c( B; y8 U/ t4 A( @% L
  1067. ; Controls the ODBC cursor model.: B* q$ A" B8 R+ ^2 u) h: p( t! M
  1068. ; Default: SQL_CURSOR_STATIC (default).# w* c' k9 n( r% G" O$ h1 G$ x5 e3 U
  1069. ;odbc.default_cursortype
    2 L- ^3 r7 z* L
  1070. & }0 \  T: d( C$ {
  1071. ; Allow or prevent persistent links.
    9 z; M/ x' o: ]3 y" A
  1072. ; http://php.net/odbc.allow-persistent9 E" c/ C3 J) J9 N) p  P& V! V
  1073. odbc.allow_persistent = On
    5 l, ^9 r6 r/ _
  1074. / y; H, y5 b# @2 m
  1075. ; Check that a connection is still valid before reuse.( R! M" U6 w5 M# `7 t
  1076. ; http://php.net/odbc.check-persistent( `) V/ p2 p$ F& ]* I$ @" o( Y! V
  1077. odbc.check_persistent = On7 f' k# |) l3 t& |

  1078. 1 \: H$ n) G% n# n
  1079. ; Maximum number of persistent links.  -1 means no limit.
    0 ~; Y1 D: J' ^& A2 C
  1080. ; http://php.net/odbc.max-persistent
    2 M* u; r* `$ c+ A7 P6 _
  1081. odbc.max_persistent = -1
    % E; _) |$ \2 k' y3 I

  1082. . r* ?( y, D- j4 `$ G0 ~
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 a  j. d3 ]* }
  1084. ; http://php.net/odbc.max-links! L8 D8 Z( H9 S7 |/ }
  1085. odbc.max_links = -13 i5 g. ?: y1 q7 s& i/ C
  1086. 7 @6 D: [7 o5 o# T$ u5 D, V1 `
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* l" B" X6 u! p: Q$ j
  1088. ; passthru.  W2 d* v- \, g) {8 J/ z# C# B
  1089. ; http://php.net/odbc.defaultlrl
    7 `7 r- i, \6 M8 }. L2 \
  1090. odbc.defaultlrl = 4096
    , Y" F+ R4 G& B2 w
  1091. & N3 @1 ^. o6 ^
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.& [+ X( r! K! `9 j, \+ R" |5 \
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    5 R: O; y2 s3 `5 J" G& Y2 |/ K) s
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( B" @3 C/ \. c4 g4 ~
  1095. ; http://php.net/odbc.defaultbinmode: F5 \! B: B) ]# a. M
  1096. odbc.defaultbinmode = 1
    4 n% ]7 D: D2 N9 M' K2 H! h$ q6 x
  1097. * K9 o# M$ r0 g- l" _
  1098. ;birdstep.max_links = -1  g% N6 q1 B8 @- g  ]* l& u

  1099. - F0 ^* v5 M" B: \
  1100. [Interbase]9 ^& E  Q9 R) K& I1 u1 Z  u8 j8 E1 y
  1101. ; Allow or prevent persistent links.! B: Z' E% V( Q* i' ^
  1102. ibase.allow_persistent = 12 g- i; ]( x3 b% ~: A
  1103. & P; z* h7 w2 l( l5 Q( J9 ^
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ) {4 i/ A0 @! ]! Z8 `+ M
  1105. ibase.max_persistent = -1
    ; o7 H. q6 }8 z; e

  1106.   V5 L+ H. q2 T0 M
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 l" C5 B( t! X: l
  1108. ibase.max_links = -1
    ( J: _% }- M% k8 \0 P

  1109. 5 I, O0 f) d% Y% k
  1110. ; Default database name for ibase_connect().$ k2 T! T6 n' Z: X3 g( D
  1111. ;ibase.default_db =
    - r  @" j0 ^" |4 K2 s" j/ L! k

  1112. 7 u! h8 C8 a  f6 }2 s
  1113. ; Default username for ibase_connect().
    4 ]0 K: M0 F4 L
  1114. ;ibase.default_user =
    " h* d" s1 l8 ~* C8 v

  1115. ' G) H; N5 U  M+ O- q- |
  1116. ; Default password for ibase_connect()./ P; j  ^6 H, ]" b
  1117. ;ibase.default_password =6 k- g3 C2 p* }- @. H; Y
  1118. $ f2 k& m  H  t
  1119. ; Default charset for ibase_connect().& \2 A. c+ A. A
  1120. ;ibase.default_charset =9 v/ t; A/ o" S. \5 p& l

  1121. ( ]$ A) C# I2 {8 [. X
  1122. ; Default timestamp format.. m5 m/ A! Q5 v! v# E  L, J% l1 z$ _
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- J, U: c7 z" P/ w" O
  1124. % F3 m; R& }4 J4 k
  1125. ; Default date format.
    * X" K5 P9 x6 m  m8 j9 E# b# p
  1126. ibase.dateformat = "%Y-%m-%d"5 S% T" J( E* U, s
  1127. & k+ ~; _" q  [, m5 F
  1128. ; Default time format., J( g5 `  O- n! c, E
  1129. ibase.timeformat = "%H:%M:%S"
    - g" G% c8 A" g: Q1 j
  1130. ) b8 x, R# i8 F  |: w  w
  1131. [MySQL]+ X: I- N! R5 ]  D' o8 H- v9 @
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    8 C( E- `* ~' k) S" ]7 E) n2 g" Q
  1133. ; http://php.net/mysql.allow_local_infile
      W" `/ G* m( H5 E* O' a4 o
  1134. mysql.allow_local_infile = On
    * {0 y* P( `8 M
  1135. . X$ \8 R9 z1 g' ?  w
  1136. ; Allow or prevent persistent links.
    + H5 n' C2 r8 U- q+ T& R
  1137. ; http://php.net/mysql.allow-persistent
    ( c% M" f, J0 g
  1138. mysql.allow_persistent = On
    1 n# e1 `+ t. y( R

  1139. 2 ^  k- C" _; e! d4 L
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 W& ?8 a3 Q2 Q7 T
  1141. ; http://php.net/mysql.cache_size
    % i( J2 e. S2 q
  1142. mysql.cache_size = 2000
    + c1 B9 p+ ]* T; K9 \
  1143. . F# K7 `; U6 c% f1 U5 R+ R# p
  1144. ; Maximum number of persistent links.  -1 means no limit.; N) N7 a: [6 B# N( B: ]6 p7 `
  1145. ; http://php.net/mysql.max-persistent
    6 J, |6 P- [0 i% F5 }: S; T# b
  1146. mysql.max_persistent = -1' u% ]( X6 s( `
  1147. 4 v  T; q; _/ r; P4 i& a
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! \" P3 K* E% n* i5 U8 N
  1149. ; http://php.net/mysql.max-links  `/ y" T$ {1 J- t
  1150. mysql.max_links = -1
    + Q4 k/ @+ p: ]  @$ v& W
  1151. ; J% \* [/ u5 n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use; z( E+ B/ c: U: \% v
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    / g) R* X7 k6 D2 r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. s9 e1 L, Q2 g
  1155. ; at MYSQL_PORT.% J, r# w7 D3 j) w: l
  1156. ; http://php.net/mysql.default-port
    2 g5 s# s- j% S1 O- G
  1157. mysql.default_port =
    ( w, C2 S8 A  t  m
  1158. 0 x  M5 i1 e$ U6 z- I: b3 B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 Y1 D9 ?' s; i  D7 s4 i9 k. S
  1160. ; MySQL defaults.  `+ `' G! X! N/ K
  1161. ; http://php.net/mysql.default-socket
    4 o7 e& l" Q( p5 ^; J8 ?/ c# k# c3 c
  1162. mysql.default_socket =1 z+ e9 v0 [3 S6 F
  1163. $ \* ~8 p. h$ ?; u
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode)./ H% D+ N! z5 H2 W3 ?7 l
  1165. ; http://php.net/mysql.default-host1 p- X; P4 ?" \
  1166. mysql.default_host =) u8 S8 v. S. `+ d1 O6 ^% C1 k0 c
  1167. & D4 d% ?$ [1 B2 T$ ]
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 W% E8 m$ S& {* U- O/ m
  1169. ; http://php.net/mysql.default-user( t  D6 |: f) P7 G
  1170. mysql.default_user =, P$ K- f3 C! S6 ?0 ]% Z' C
  1171. 2 ]3 ?5 i5 W! f' ?% ]
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ' ^6 W4 w0 `+ E' R; E+ Y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ y$ V% P  f1 X' ?+ X  P
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")" Y- R! h+ M& {
  1175. ; and reveal this password!  And of course, any users with read access to this
    ; _; I* {# ]1 j% o
  1176. ; file will be able to reveal the password as well.
    1 g. z# c9 |. ]8 X# Z  }, C
  1177. ; http://php.net/mysql.default-password( B( E# K  `/ x  Q5 Z& Z: }
  1178. mysql.default_password =
    7 R( D9 a6 N' m* ^6 T4 `
  1179. & w. h1 q! g9 n9 }. Q5 [7 Z* K
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ \" k; q/ M( G9 R8 `  E
  1181. ; http://php.net/mysql.connect-timeout
    * g6 P* ]0 f5 ?6 ?0 i8 |* ~. p0 a
  1182. mysql.connect_timeout = 60
    # P4 p; j7 c* d) P- S

  1183. 0 ]( l; K1 ?. Y/ E, F2 ^+ A
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
      T4 r; Y2 |1 Q: o- G4 ?) L+ M
  1185. ; SQL-Errors will be displayed.: W6 H4 I$ C: P1 |7 \! a
  1186. ; http://php.net/mysql.trace-mode
    4 e/ [% C: @3 F: L
  1187. mysql.trace_mode = Off
    ( W0 F: f  v4 L4 j: u8 C* X
  1188. ! T- v# L% O! @! m
  1189. [MySQLi]
    1 Z3 ]& ~! K" T# O/ n
  1190. / j/ ~4 k' [! u& r) n) h) ?
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ! u6 U4 ?- X' b% d* d1 p( E
  1192. ; http://php.net/mysqli.max-persistent4 \/ W1 H" P; I# n' S/ _
  1193. mysqli.max_persistent = -1
    4 U% q7 ?8 C( ?( `" Q" _. W- }
  1194. 9 m% p% N$ [3 |8 U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 ^# o1 o& H* V( o' ^! i4 ?! o9 N
  1196. ; http://php.net/mysqli.allow_local_infile# q1 [/ J6 s* J: o
  1197. ;mysqli.allow_local_infile = On& ~8 d8 ?8 |/ i. B" v% H

  1198. ) n+ M/ ~+ S- D0 S4 f9 F
  1199. ; Allow or prevent persistent links.3 u! }" @* B; G' `: x
  1200. ; http://php.net/mysqli.allow-persistent
    0 _9 O! Y& E8 I1 j% u) _& ?. W
  1201. mysqli.allow_persistent = On# |3 P# e: l+ w6 U7 B; k
  1202. 2 V5 N- a+ g, Z: j( }
  1203. ; Maximum number of links.  -1 means no limit., r2 j9 p  c% T
  1204. ; http://php.net/mysqli.max-links2 Q/ K9 Z, V  r& d$ J/ f0 k# t
  1205. mysqli.max_links = -1
    6 A: q6 ]7 E% v6 H! }7 j
  1206. ; L4 J. n6 n; ?& Y; b
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 b0 ?* x( Q" c; D' B  h
  1208. ; http://php.net/mysqli.cache_size
    , k; V9 k- n& v  X+ [% R( q
  1209. mysqli.cache_size = 2000
    " Q$ ^8 K# t4 [& V5 ^
  1210. $ ]. K' `! {' j% G9 e$ f
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use- W4 t* Y- W9 \4 o( R
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 T0 t  j: S, U) o$ N
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 Z% y/ O& [/ Z; }1 N; i
  1214. ; at MYSQL_PORT.
    6 v/ L, T2 n* i3 a
  1215. ; http://php.net/mysqli.default-port
    5 c( L5 ]( {. a: ~0 L
  1216. mysqli.default_port = 3306+ u2 f& ^) b8 r. C

  1217. " R' D. |9 P: y) T
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 W& D/ q' N2 {$ @8 V
  1219. ; MySQL defaults.+ `" X" W! j2 a  q. k& g8 p# ^
  1220. ; http://php.net/mysqli.default-socket! T" Z2 P. a" s
  1221. mysqli.default_socket =
    & e- ^, r" e, a  j& g6 [, [+ A

  1222. 9 m( V0 }& i, B9 h# `- i
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).9 h3 g6 n) `: V, E5 x$ L2 h$ K
  1224. ; http://php.net/mysqli.default-host* }% y0 s! F. }- q" d- |
  1225. mysqli.default_host =
    0 D3 G  I# j" I

  1226. 1 P( w. O( \+ s+ K; N+ ~2 K
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).' u# T9 E, Z& P9 D! S) @/ F$ ^8 R, T, F
  1228. ; http://php.net/mysqli.default-user
    7 s4 W- S. R& g# I7 I
  1229. mysqli.default_user =, y3 l1 F7 ^+ D+ p

  1230.   Y) }% C: G+ J  M0 b
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 `3 U$ [6 c6 h& h
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.) {% k' K/ g2 [7 A: o: ?
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    # C0 T9 q0 s7 J# b' O+ z7 j% I
  1234. ; and reveal this password!  And of course, any users with read access to this" H2 x3 D7 h% x# x5 V
  1235. ; file will be able to reveal the password as well.; E. w. R* i7 J* K: y9 z
  1236. ; http://php.net/mysqli.default-pw
    % ?  c  t% a. \7 T) J/ }- N8 D# ^
  1237. mysqli.default_pw =; c" e2 s% h  i/ t" Y

  1238. - w- _+ o$ e$ H1 s# P6 e# `  B. i
  1239. ; Allow or prevent reconnect
    . S- {- a, d$ a2 j, F  N$ _3 [
  1240. mysqli.reconnect = Off% A3 j8 O1 m5 I) p  M3 y2 A1 p& B! e
  1241. 3 [2 r8 t* y- d0 A( G
  1242. [mysqlnd]
    2 T/ ^! i5 ^9 h* I, }
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + U- ]  u7 L- X
  1244. ; used to tune and monitor MySQL operations.4 P( o% O8 Y. u4 W9 e; I& j
  1245. ; http://php.net/mysqlnd.collect_statistics' Y# _. }! I7 W& V/ ^8 j! e+ e# S; x
  1246. mysqlnd.collect_statistics = On& X1 @3 Z# s& ^4 b

  1247. - g, V5 q. s& d1 Q5 W
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , X3 B; O9 L  z/ W; K; V
  1249. ; used to tune and monitor MySQL operations.7 m. ~: _! m3 f3 U2 W" J
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 j" r& q) q3 F6 U. N' P4 v5 m
  1251. mysqlnd.collect_memory_statistics = Off& r' Q. x' q8 V
  1252. 0 U3 y. ]0 x& R0 \5 W  ~7 s5 x
  1253. ; Records communication from all extensions using mysqlnd to the specified log& z) b* Q. u) w6 T# g
  1254. ; file.0 X' w) s9 C( D  |5 \
  1255. ; http://php.net/mysqlnd.debug
    * ?% n( o" N0 X; V0 C/ H5 V) G. E
  1256. ;mysqlnd.debug =
    0 ^3 x9 _$ y. }4 T1 s

  1257. 2 P/ I, ^8 r* K0 l1 O. g1 t
  1258. ; Defines which queries will be logged.
    ) a: @2 e& E% a- j8 H
  1259. ; http://php.net/mysqlnd.log_mask6 G6 d/ ^# K) i& f) A, c
  1260. ;mysqlnd.log_mask = 0
    1 j# v: o. m2 I7 a% O/ I2 D  q2 Y
  1261. & \, N7 H8 P- k5 }# j& _
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) ^8 e* l9 o& j6 y! F6 n
  1263. ; http://php.net/mysqlnd.mempool_default_size
    6 m4 z1 w5 e- o6 k8 b9 f
  1264. ;mysqlnd.mempool_default_size = 16000
    ' S6 M2 p% o5 x- T0 R

  1265. 0 t9 n2 n" G1 R2 z8 D
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 v, L( x7 z: ~* J: }* _$ }7 r7 f% V
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size* q# a3 m2 u; O- Z% \
  1268. ;mysqlnd.net_cmd_buffer_size = 2048. b/ v$ {) ^5 J/ o+ ]& r
  1269. ; b5 Z5 T" d+ Y8 Q. V
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in! o( F2 m0 g! `2 O8 J
  1271. ; bytes.8 M% R( Y0 x1 l3 S7 \
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ! o) q1 T. G) M
  1273. ;mysqlnd.net_read_buffer_size = 32768# B& [6 H( z, `6 Q) U; `6 U
  1274. " g$ U% E3 J% k
  1275. ; Timeout for network requests in seconds.
    / K8 W6 @! ]; k( w; t+ _# t
  1276. ; http://php.net/mysqlnd.net_read_timeout
    0 ^' I; D/ Y" L, H& v( h
  1277. ;mysqlnd.net_read_timeout = 31536000
    * L2 j% w2 G2 H

  1278. + n+ e1 R; ~# I. X( q
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 a0 b# V( @& R" z6 C* G7 d
  1280. ; key.
    / P- X: m! c. w2 ^' R2 L6 V- J6 e
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    " g5 Y0 U( f" k
  1282. ;mysqlnd.sha256_server_public_key =% ^) ]! c8 Y# |3 I1 ]/ G

  1283. 6 A5 x2 E; a( ?4 Z1 r  _
  1284. [OCI8]
      \0 a. t6 b7 v( v8 |, E( @+ U9 V

  1285. 6 _- b0 d$ _# N0 I! D4 Y
  1286. ; Connection: Enables privileged connections using external6 \0 ]3 v$ Q8 @
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 G6 Z' t5 D& L. L+ t) ?" h
  1288. ; http://php.net/oci8.privileged-connect, r. Q3 Z5 ^; Y
  1289. ;oci8.privileged_connect = Off, I9 L% [8 [! S* B

  1290. ; K) V9 N# x6 g$ r2 {& _7 \! \! t
  1291. ; Connection: The maximum number of persistent OCI8 connections per# s9 w- ~+ Z4 o
  1292. ; process. Using -1 means no limit./ b) x! u$ E/ u3 Y. }- l
  1293. ; http://php.net/oci8.max-persistent
    3 l3 ~; p6 Z& x2 w* |' l/ x8 D
  1294. ;oci8.max_persistent = -1
    8 _7 ]2 C$ Q* P* N  _: K- U
  1295. 1 h/ [' N& O  J( V0 h3 g
  1296. ; Connection: The maximum number of seconds a process is allowed to
    * R  b  Z' f5 `$ P3 \! b
  1297. ; maintain an idle persistent connection. Using -1 means idle+ o7 N3 T6 {/ V9 k( `: P" W
  1298. ; persistent connections will be maintained forever.
    ) k: U: W% j: H, D' o( X8 |" H1 v
  1299. ; http://php.net/oci8.persistent-timeout. x( ?) g0 G1 K; }
  1300. ;oci8.persistent_timeout = -1
    - i2 x7 T, c. A, J- \9 e' p

  1301. ( L9 v" E( W8 ^8 H3 e
  1302. ; Connection: The number of seconds that must pass before issuing a8 }" B6 ^; }1 E( j2 ?6 o
  1303. ; ping during oci_pconnect() to check the connection validity. When. v# Z: E0 j# u; j$ E  x6 D$ R; {
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * G# K1 d" g% I# |8 |! P
  1305. ; pings completely.
    " {+ t8 }, y, g- P# Y" x
  1306. ; http://php.net/oci8.ping-interval
    % d# x) Y5 \' S  L% |* `4 Z. T0 J6 w
  1307. ;oci8.ping_interval = 60: C6 R9 b+ b# u2 h
  1308. , n0 f) C. `7 }, o; }
  1309. ; Connection: Set this to a user chosen connection class to be used
    8 H  x9 h( c# n* ^4 ]
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    / C) h$ C/ i' t4 \# D- G
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # q( Q% x9 l1 Q8 L. E5 T/ p
  1312. ; the same string for all web servers running the same application,
    - Q2 p* h9 W; ^; h; u  Z
  1313. ; the database pool must be configured, and the connection string must' Y6 H0 P$ _* c# E
  1314. ; specify to use a pooled server.
    + N. y1 Z! \8 r
  1315. ;oci8.connection_class =' T$ V, E% |$ D, Q! s6 L
  1316. . s7 U+ n( n: u8 N+ q  @
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ' ~* j( j& C" K- e6 @1 l
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 j; s+ y5 e( e; m( D6 [2 d, Q
  1319. ; database must also be configured to post FAN events.
    ' Z  z3 [$ x* U6 E9 J# ?4 c& x2 }
  1320. ;oci8.events = Off
    ' J3 }6 v5 A6 E* J
  1321. 6 c9 o5 B$ o; i8 m! e- _& u, p1 q
  1322. ; Tuning: This option enables statement caching, and specifies how
    7 ~- a3 M  a% U+ d. }
  1323. ; many statements to cache. Using 0 disables statement caching.
    4 q9 n' |# E& c  l
  1324. ; http://php.net/oci8.statement-cache-size
    9 E7 i* @; Z, B  O
  1325. ;oci8.statement_cache_size = 20) e2 ?: E, L5 @' M8 x( G) R
  1326. 7 j: q. ~# ?( U- H% r; O6 A! N; a
  1327. ; Tuning: Enables statement prefetching and sets the default number of6 v* l% v1 ]) f( [' s; Z1 k% S+ V7 ^
  1328. ; rows that will be fetched automatically after statement execution.
    & A  b$ R4 _4 o, t$ O
  1329. ; http://php.net/oci8.default-prefetch: H5 J5 R' Z7 D5 \7 d& D
  1330. ;oci8.default_prefetch = 100
    * H6 V/ j9 L6 `% g) l
  1331. 5 j; m7 V8 n! {% [) z
  1332. ; Compatibility. Using On means oci_close() will not close* Q! q" F5 K! j# D( m% G
  1333. ; oci_connect() and oci_new_connect() connections.& M" ~: m0 q! v# ?: o" z
  1334. ; http://php.net/oci8.old-oci-close-semantics  T' k5 u' z; k1 K
  1335. ;oci8.old_oci_close_semantics = Off
    " e8 Z- R: r+ g) l

  1336. ! O- B8 e# l# X- O- C
  1337. [PostgreSQL]
    ) |7 y: z% M  z8 n3 ?. a9 o/ y' Q
  1338. ; Allow or prevent persistent links.2 E1 \- I2 x. V/ l! k# N) t
  1339. ; http://php.net/pgsql.allow-persistent' e1 ]/ l6 a; k& ^9 }0 H
  1340. pgsql.allow_persistent = On4 y! b4 D& h( L7 I
  1341. - b( o+ D; Y+ N* ?
  1342. ; Detect broken persistent links always with pg_pconnect().1 t5 E1 e0 \7 |6 b* z: B3 d! |5 n
  1343. ; Auto reset feature requires a little overheads.
    : S/ V# u& d: W1 _5 P
  1344. ; http://php.net/pgsql.auto-reset-persistent
    * w1 o4 N8 K% z# v) Z$ k7 ?% ^: l8 H3 G
  1345. pgsql.auto_reset_persistent = Off- c3 Z/ T( _9 o# S+ G# G! J, k1 j
  1346. ! _8 h0 t" n3 O, D
  1347. ; Maximum number of persistent links.  -1 means no limit.6 z3 h+ p$ r2 r. y% O5 U+ B8 a
  1348. ; http://php.net/pgsql.max-persistent
    # a* e4 k6 }7 K+ i0 r9 y+ u
  1349. pgsql.max_persistent = -1! \- R" N6 H! g  \
  1350. + H- V4 w, {# `$ L% q* s
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . S0 Z" w! R* Q! S& n5 a
  1352. ; http://php.net/pgsql.max-links3 p: E9 t4 F3 M! b0 Y$ H
  1353. pgsql.max_links = -1
    6 [$ `; m4 w" S' e7 S9 N
  1354. 8 U9 ^5 O( I% T9 [' r5 y2 Q; h# y
  1355. ; Ignore PostgreSQL backends Notice message or not.; J4 b& }, t5 y9 q1 T$ W1 R
  1356. ; Notice message logging require a little overheads.. _' E+ B; m/ a
  1357. ; http://php.net/pgsql.ignore-notice
    9 T/ I3 W. D% y( w
  1358. pgsql.ignore_notice = 0
    7 M- a- R1 r2 i, h

  1359. ) W. G& V' K% ]( ~. [
  1360. ; Log PostgreSQL backends Notice message or not.6 w6 D% F7 X+ r. O7 o  O
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    - W* x) d% d4 g" ~* q6 }; \
  1362. ; http://php.net/pgsql.log-notice! C  P5 `& N" K! p' ]7 y* A5 K
  1363. pgsql.log_notice = 0( E2 a2 }, {6 x+ w3 h3 [1 @) e
  1364. ; _7 _! L9 n" B" c# M3 Z8 F
  1365. [Sybase-CT]
    8 J. C, L: r" i1 l2 d% T
  1366. ; Allow or prevent persistent links.  l2 R7 i3 l( Y/ J: T( U
  1367. ; http://php.net/sybct.allow-persistent
    2 i% d# W: k& E' O6 R
  1368. sybct.allow_persistent = On" i! i! e" e, L& b" l
  1369. ' }3 J( e6 y1 R! m* M6 k- I$ |1 G
  1370. ; Maximum number of persistent links.  -1 means no limit.
    / f( k" D: ^* I) }  q; m6 F9 k6 S# W( o/ M
  1371. ; http://php.net/sybct.max-persistent. ^8 L( k1 [  E& u! B4 M
  1372. sybct.max_persistent = -1
    7 R* {8 [2 D: J6 y# }
  1373. : A  A5 H" W( b
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ w. P0 b  D1 p
  1375. ; http://php.net/sybct.max-links* N, n6 W" `* A) ~. `+ X. j
  1376. sybct.max_links = -1, n( W/ E+ P- x' o/ T; z
  1377. 6 C5 n3 }4 M* ]+ t
  1378. ; Minimum server message severity to display.
    6 w  `3 w8 f' K3 Z8 c
  1379. ; http://php.net/sybct.min-server-severity5 K1 ?7 f% G' u. T" A6 w0 j# h
  1380. sybct.min_server_severity = 10
    3 g$ e6 A7 Q6 ^+ D" q( Z' U
  1381. % D2 A1 a7 g3 {
  1382. ; Minimum client message severity to display.2 g* p- ?0 m' d" a7 O0 z: f
  1383. ; http://php.net/sybct.min-client-severity2 i* X+ i7 W  U( O# }
  1384. sybct.min_client_severity = 10
    / t; Z' V% b0 N" N! w/ A6 \- X6 v- c

  1385. - ?# T) }: z8 ^! l% ]( _9 I& Y) U' v. u
  1386. ; Set per-context timeout! \7 w) u0 _' C! T! p$ t
  1387. ; http://php.net/sybct.timeout3 n, s/ A! Y; \
  1388. ;sybct.timeout=( A! n$ c# }8 r1 N8 c/ y) x$ N7 U
  1389. ) u9 L) g* O2 A. w7 f- U
  1390. ;sybct.packet_size& e1 i6 g) V$ n7 y. w

  1391. . C7 D" w: c, N7 N: U
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    + C- T/ R, I% F+ m' D+ r. c
  1393. ; Default: one minute
      G9 q- s2 t) ^+ U2 J
  1394. ;sybct.login_timeout=
    9 U7 A! Y4 a# q1 Y5 D

  1395. ! C/ j. m" F, p: o# c! r7 B
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    1 \1 |! E+ r% a. F$ ~
  1397. ; Default: none/ m+ J. i6 i" H
  1398. ;sybct.hostname=
    9 M, W" p+ g# s- |' h2 Z  t
  1399. " v# R- J; w0 {9 `! N
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # H' m# H- F% e/ y) \" I
  1401. ; Default: 0
    6 V* V) r9 S9 Y- }4 _7 O! i% G
  1402. ;sybct.deadlock_retry_count=
    & ~+ M9 ]! G, v7 y4 g5 e5 i
  1403.   c% S' D( m4 H# P6 G+ J
  1404. [bcmath]' n' ]& D# ^) B& }
  1405. ; Number of decimal digits for all bcmath functions.& T( A7 I0 {# g% J3 ]
  1406. ; http://php.net/bcmath.scale
    + l" N2 Y9 j& [# u
  1407. bcmath.scale = 0  X2 E% V9 }% L
  1408. % N# e* V: o) v
  1409. [browscap]
    / n) s3 M7 [3 I
  1410. ; http://php.net/browscap
    ! p- h7 Z. A8 R4 h' o9 |0 Y
  1411. ;browscap = extra/browscap.ini
    3 E$ R- l6 d+ G7 O( B, d; _
  1412. 8 z$ O! z% n! `% K/ y' |: N
  1413. [Session]
    ( ^; ]% I+ x3 Z7 o5 G2 T) S
  1414. ; Handler used to store/retrieve data.
    $ n! j3 k+ R# G. A- m
  1415. ; http://php.net/session.save-handler  M+ _# a, m( n
  1416. session.save_handler = files
    7 y0 S% n9 s7 P$ ]# L. J

  1417. * c+ \5 o) B; X
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    2 J7 Y' @! B/ v+ E. R/ M
  1419. ; where data files are stored. Note: Windows users have to change this
    ) V' k% m7 G) N  ]
  1420. ; variable in order to use PHP's session functions.
    ( b; k2 H( L: b( v
  1421. ;0 K4 r! E7 u1 }/ f0 o) @
  1422. ; The path can be defined as:
    / c$ b8 `  l# T8 h4 ~: r4 r: x. G+ [
  1423. ;
    " }$ h5 B8 G! V
  1424. ;     session.save_path = "N;/path"" f- V+ M% b4 e9 Y+ \7 U
  1425. ;( O3 C5 \2 P- F: ?2 N
  1426. ; where N is an integer.  Instead of storing all the session files in
    5 P8 \/ I( V8 V; m6 i  r
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    ( I: Z! F5 h! d% Z0 X8 J. c. _
  1428. ; store the session data in those directories.  This is useful if) ]& C) K7 c0 [  I5 Y7 o
  1429. ; your OS has problems with many files in one directory, and is* N  }: D8 B" |. u' T7 D' M& i8 t, w
  1430. ; a more efficient layout for servers that handle many sessions.
    " G( a" s  w' ]/ r' _1 t
  1431. ;
    " U% \* }+ s/ u1 Y8 p# Y. L& L! v
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    / E& I" _( u/ R" O1 h2 C& L% h
  1433. ;         You can use the script in the ext/session dir for that purpose.& J/ R+ d7 _6 ]7 }- T
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    9 I9 U( ~: _3 K0 M  F4 V7 B4 G
  1435. ;         use subdirectories for session storage
    % F, y; {- p3 L8 j: |- e5 n
  1436. ;
    " c$ H- U9 l* B8 O
  1437. ; The file storage module creates files using mode 600 by default.
    . u) _; y. t8 W0 n8 o* g( X- U
  1438. ; You can change that by using
    / ?8 \9 k  b2 Q" X* D2 T8 }
  1439. ;
    # p; F# D. s! q6 v' ^! ]& e
  1440. ;     session.save_path = "N;MODE;/path"2 y( o0 Y: [8 }2 d) G, y
  1441. ;
    $ Z( r! C4 y% O- \, C! E! m
  1442. ; where MODE is the octal representation of the mode. Note that this. E* J+ P+ Q  e; [- s
  1443. ; does not overwrite the process's umask.7 a! _; K0 F8 v
  1444. ; http://php.net/session.save-path
    / l3 e9 ?6 i; y* \+ u0 }
  1445. ;session.save_path = "/tmp"
    9 q( f+ U# W3 }7 j$ R

  1446. , |7 N- ]- I& @3 b' p% Q7 N8 M& j
  1447. ; Whether to use strict session mode.
    . z: H: c: W7 V# h$ I& g
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate% @. G' A+ f$ x* |
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 g8 i7 T0 D4 T, D
  1450. ; applications from session fixation via session adoption vulnerability. It is
    : Q5 ^& L% ]! ]' g) e: o
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 b2 Q9 W# d4 B
  1452. ; https://wiki.php.net/rfc/strict_sessions: `, {6 x" e+ ?# _& w+ H
  1453. session.use_strict_mode = 0
    ; a3 o$ f' y- t% ]
  1454. / K2 p1 L6 z2 z  T
  1455. ; Whether to use cookies.% G- y0 S) N0 i5 ?3 c7 b
  1456. ; http://php.net/session.use-cookies
    ( f- F2 b- g" q: N' x
  1457. session.use_cookies = 1
    $ V8 _9 ~" y3 Q: g
  1458. 1 D$ H2 S9 i' |1 C
  1459. ; http://php.net/session.cookie-secure
    # a8 B: R, Q& U! N/ }1 d) k
  1460. ;session.cookie_secure =( W, s- ?6 s7 m  @) M

  1461. 6 d; F* ?. Q" b* L
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining. w' x( ?( |, K1 c! z" f% M7 d
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ( J* B3 _, z0 Q+ |0 r5 z9 `+ Y& v
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 U  v( S& p6 ~, r! j3 l$ `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.9 @' B7 z5 ^6 {9 A4 U7 y
  1466. ; http://php.net/session.use-only-cookies
    ; P. c: S2 o& v& a
  1467. session.use_only_cookies = 1. p8 Z4 n5 ]( O0 K- K( P

  1468. $ w; v& v! R, p! V% O; [
  1469. ; Name of the session (used as cookie name).
    0 V  A" G8 [1 A0 K, v) \4 g
  1470. ; http://php.net/session.name! {! J7 r7 U- J5 y# o$ W
  1471. session.name = PHPSESSID; a0 o4 r( @+ d3 K
  1472. # L4 b- V& t2 ^: ~: c8 J
  1473. ; Initialize session on request startup.: G4 B0 e& y: }. |2 e- C
  1474. ; http://php.net/session.auto-start
    ! h+ Y* W" Y4 m3 _+ Z" p
  1475. session.auto_start = 05 W6 z, T. N/ ~; o6 I
  1476.   h& |8 w1 k* o
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * ~' {- H" j; v) [8 Z2 [- N
  1478. ; http://php.net/session.cookie-lifetime, W9 P% h; X$ q" D' E6 B; c  Z
  1479. session.cookie_lifetime = 0
    - e# t4 N/ p/ F# K% j+ F
  1480. - \9 [4 j; z4 ]$ L
  1481. ; The path for which the cookie is valid.
    # l& z2 s! o9 d8 f' ^( X
  1482. ; http://php.net/session.cookie-path( i0 [: I. l% ?3 {4 A% G
  1483. session.cookie_path = /
    * o2 D7 B3 g6 j- Q5 }5 r) R
  1484. ( C& m" x) ^1 u5 [6 N
  1485. ; The domain for which the cookie is valid.& }% ]! @7 s; t0 c
  1486. ; http://php.net/session.cookie-domain
    % d; T2 V; g+ e" _/ O9 K$ {9 y
  1487. session.cookie_domain =  M8 B# w7 M) v4 e# L! v

  1488. 2 }, ]# @0 |  F
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 D" l, A( E, m; ^
  1490. ; http://php.net/session.cookie-httponly/ E3 M; t- r8 Q# p
  1491. session.cookie_httponly =  `9 c( j( N- J1 {: ~

  1492. : d  B9 C( r4 _' e1 Q( x' p
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.4 v5 s1 E4 V; @7 m$ n, b8 H+ e; @
  1494. ; http://php.net/session.serialize-handler4 O1 d3 q8 v: o$ a" J
  1495. session.serialize_handler = php0 D; Z; `$ `. t5 T& |# h% J

  1496. " q1 f/ ^- I' _
  1497. ; Defines the probability that the 'garbage collection' process is started/ Y- W! p+ g9 h7 P
  1498. ; on every session initialization. The probability is calculated by using
    5 N& Q; i& H# G
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. e( y  ?) T# j' H, X7 M3 h3 |3 F
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " v( S3 F( Z+ m) J
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" @1 Q0 c+ I' i: E
  1502. ; the gc will run on any give request.
    " U$ L! A. l2 D* _2 t7 I- B
  1503. ; Default Value: 1
      E% s8 T& j5 l3 P
  1504. ; Development Value: 1$ @* e, L* h/ u9 H( f( x
  1505. ; Production Value: 1
    * |, N: [3 v* e' K
  1506. ; http://php.net/session.gc-probability
    $ ?1 L! f' L4 G. S
  1507. session.gc_probability = 1
    * H0 Z! Y% x' _/ A, B/ g5 W5 J

  1508. : A9 X  ^3 l& N: r1 h4 q3 e
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    , @" o* C; M% n; n# ~
  1510. ; session initialization. The probability is calculated by using the following equation:
    . z3 n+ Z# h1 ?5 S: p" ^
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 P7 d3 P0 B/ d7 |4 y  m
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( n" P& H2 ?! A
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 G' I7 j$ L6 F
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 }4 C: Y, P; L
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,8 H! H( q7 [) z! j+ i1 k
  1516. ; this is a more efficient approach.
    , d+ V" C) Z7 P  f& A3 K& ~1 i1 O
  1517. ; Default Value: 1000 i+ P' _8 O5 e+ Z6 [( U  W
  1518. ; Development Value: 1000
    4 N3 [- q5 h4 u- m4 [
  1519. ; Production Value: 1000
    - N* Q4 m1 i) M/ t6 J
  1520. ; http://php.net/session.gc-divisor
    + z0 ]& q( l' V" a, M
  1521. session.gc_divisor = 1000
    % P: K9 x( l6 {5 {% B/ K6 A
  1522. " q% r  R9 F% |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and# l  |% B8 j/ }. p6 ~8 R% j. n( R1 R
  1524. ; cleaned up by the garbage collection process.
    : g+ T: {0 y) v3 o- B. }  ]) R: s8 D6 f
  1525. ; http://php.net/session.gc-maxlifetime
    : f  h- y2 c% H0 J, K. Z. D
  1526. session.gc_maxlifetime = 14400 C! x4 X6 a' v( [% I
  1527. 0 k9 j) [4 k+ w
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    1 X% V- `* w' R
  1529. ;       (see session.save_path above), then garbage collection does *not*# ^3 k2 O: y& {
  1530. ;       happen automatically.  You will need to do your own garbage
    ' Q1 G0 p0 A- b1 {0 ]
  1531. ;       collection through a shell script, cron entry, or some other method.
    & u5 m: ~) j+ I( f  y# b
  1532. ;       For example, the following script would is the equivalent of. T6 G7 t; y. L" k* \
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):2 A/ L- ?- F# E1 s- e
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm! r2 D7 B, c7 Y9 A5 `, Z
  1535. $ r. E$ J- G# H0 c: w
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 h4 }+ k  u  A( z# r" L
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    2 Q# b$ ]. E# _6 E, |/ H
  1538. ; considered as valid.( {: j4 R9 G9 q. T
  1539. ; http://php.net/session.referer-check$ ^1 B+ z  h) K) T1 n# p
  1540. session.referer_check =
    * L6 F" m+ s5 Y$ S, ^( J% k) x) e
  1541. ' p8 f( [6 t2 y# Q8 }) _, O- E
  1542. ; How many bytes to read from the file.
    5 k* _( b6 ~, U8 A
  1543. ; http://php.net/session.entropy-length) U+ d, p% R  `" q) F( B* d9 }
  1544. ;session.entropy_length = 329 J9 C9 O, u' Z: p. U, r$ t
  1545. 1 z0 `6 u2 W. X# j2 h6 T
  1546. ; Specified here to create the session id.! x% S8 B' ^8 q. u8 _
  1547. ; http://php.net/session.entropy-file
    * r0 S2 {- N( @" \& v1 n4 D* }& G
  1548. ; Defaults to /dev/urandom
    0 e) H* X+ T& }: ^2 W* W; s, }
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 n8 H2 T% P8 G2 D! G
  1550. ; If neither are found at compile time, the default is no entropy file.
    * f) {5 {; ]* s+ L
  1551. ; On windows, setting the entropy_length setting will activate the
    ' t6 m5 b+ I0 ]: D* j
  1552. ; Windows random source (using the CryptoAPI), y+ P% `  G. D" s' p
  1553. ;session.entropy_file = /dev/urandom- u( Q9 e' I9 _( D* d& i
  1554. & w& j" k" [+ I. N/ S* ?0 r7 C
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects7 ?* w3 o4 C% C( a: ^
  1556. ; or leave this empty to avoid sending anti-caching headers.3 G9 M! L$ T% ]: T/ k
  1557. ; http://php.net/session.cache-limiter- I5 t# o+ d4 y6 G8 x+ b
  1558. session.cache_limiter = nocache
    2 B6 \* K- l8 |; z+ G1 |1 U

  1559. $ X6 y- C. Y- a. {* A
  1560. ; Document expires after n minutes.* h" N( Q, V) W7 f% z
  1561. ; http://php.net/session.cache-expire8 {, Z+ O0 M3 b: u' _( T
  1562. session.cache_expire = 180! u9 g! l9 o3 w1 z- b6 @' e
  1563. / Z! \0 K  E' h3 U; o
  1564. ; trans sid support is disabled by default.+ m# X$ R3 U- S# [1 C' _
  1565. ; Use of trans sid may risk your users' security.
    + }, E+ n5 k3 v% p7 z
  1566. ; Use this option with caution.
    ' y' Q4 A/ W2 M0 U
  1567. ; - User may send URL contains active session ID4 l8 Q/ U& n' x3 c/ S
  1568. ;   to other person via. email/irc/etc.
    7 {- ~9 A* S; M" A
  1569. ; - URL that contains active session ID may be stored5 H! ^9 {; [% C' |; H
  1570. ;   in publicly accessible computer.$ y1 \, P% ?- Z. a  S5 {* {4 Y
  1571. ; - User may access your site with the same session ID
    6 J8 y6 a  F' a& s, R9 d/ r
  1572. ;   always using URL stored in browser's history or bookmarks./ \; G% `+ y9 U6 c( ~
  1573. ; http://php.net/session.use-trans-sid
    2 t3 ?/ B& O9 W0 e( ^$ F
  1574. session.use_trans_sid = 0( W/ H/ T1 d& }* o% u
  1575. . i9 F2 b1 X3 m% M6 t" Z
  1576. ; Select a hash function for use in generating session ids.
    , Y' {1 H2 I7 V6 Y8 }- w0 u0 O
  1577. ; Possible Values
    + z& G* N. p! Y) l* y
  1578. ;   0  (MD5 128 bits)8 f9 @2 d) C+ T0 S& ]! y; S
  1579. ;   1  (SHA-1 160 bits)
    ( A) a& Z( Y9 ], k4 @  P9 u
  1580. ; This option may also be set to the name of any hash function supported by
    4 u1 k9 O, S. }+ f) ^: M$ d
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): l- v( Q$ F7 _4 h6 C
  1582. ; function.
    ! g3 \5 C: C1 l! W5 P3 Z) a: _
  1583. ; http://php.net/session.hash-function
    , ~9 }6 M% q, x' Z9 f3 x
  1584. session.hash_function = 0! o) Y9 {) Q  I3 t& m

  1585. / s- |* }" n! ~2 D& e- r
  1586. ; Define how many bits are stored in each character when converting. u: O$ k" C0 y8 ]
  1587. ; the binary hash data to something readable.
    * U7 d; m8 W7 u$ u: P
  1588. ; Possible values:
    " M. H( f$ n, |' {8 r! r/ S
  1589. ;   4  (4 bits: 0-9, a-f)
    ) G3 f+ n% D4 s, v. ~, d2 o
  1590. ;   5  (5 bits: 0-9, a-v)
    ! }; n1 B4 P& {7 O% y# t/ l
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    8 I$ f4 ?& k4 h2 o1 e5 l& I
  1592. ; Default Value: 45 x9 M! `/ i; W- h
  1593. ; Development Value: 5  S" N4 f# J' A% p  m: q
  1594. ; Production Value: 5
    ; H5 K- p4 g: A4 g& r8 U. K5 ^5 q
  1595. ; http://php.net/session.hash-bits-per-character% y' u5 W% p0 U
  1596. session.hash_bits_per_character = 59 K, X2 Z- g1 v1 ~1 M: e! B
  1597. 7 G7 k7 _; H' o& Y, G
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    2 N! ~- H+ ~2 d4 t
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    " z7 U6 v( A% l/ K
  1600. ; add a hidden <input> field with the info which is otherwise appended
    : [' |+ T1 `' j8 F# J! H2 r
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.3 d( I/ k. M# k) e* b, q: V, r  e
  1602. ; Note that all valid entries require a "=", even if no value follows.
    " u0 F# _( r0 Z# E. `+ C# _
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    % ]+ q9 _1 J4 s# x. `) F( w
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 {& w2 x3 p; d; l* P8 B& s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 O" c7 _/ m2 g6 U7 ?
  1606. ; http://php.net/url-rewriter.tags2 W( T. k" S& b- h. g6 ^; G& \' s& a
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 n4 V4 D$ d+ H

  1608. 7 i" g7 y& O  m  S4 A* ]& V- R
  1609. ; Enable upload progress tracking in $_SESSION
    ) h7 {8 E- S$ @% D/ R
  1610. ; Default Value: On
    5 D/ s, T9 W* E
  1611. ; Development Value: On% q" [5 l0 Z. P& b" w- D( B/ r# {5 r" ~
  1612. ; Production Value: On
    0 Z4 x+ H9 s; Y4 P
  1613. ; http://php.net/session.upload-progress.enabled
    2 [: X" s4 F0 @8 S" R- g
  1614. ;session.upload_progress.enabled = On
    5 {1 x6 I! {. w! U0 U* m' \+ v; y

  1615. : H5 v' b  U; q5 x
  1616. ; Cleanup the progress information as soon as all POST data has been read
    : a( l3 O1 X0 o+ F
  1617. ; (i.e. upload completed).
    7 R. t$ `3 h- u8 s, J
  1618. ; Default Value: On
    6 e9 o; E. E7 W8 |7 }: w# E5 y/ R9 e
  1619. ; Development Value: On
    * O6 G8 x; m: [' S4 i
  1620. ; Production Value: On8 u- p, ~9 `$ M6 z" l- s. q0 k% D! Q
  1621. ; http://php.net/session.upload-progress.cleanup
    & ?6 m( R  p: s: `- d( v" G
  1622. ;session.upload_progress.cleanup = On/ T8 w# y  Q; j

  1623. + b3 ?$ }$ U' {% k7 a. X. ?
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 W- R( d  N5 N- s) W2 j  C# {
  1625. ; Default Value: "upload_progress_"
    4 C  u2 t% K$ h4 h) t
  1626. ; Development Value: "upload_progress_"6 N' U+ i7 Q& r. O8 k" }# X! ?
  1627. ; Production Value: "upload_progress_"
    2 B9 p/ n; ^$ d4 t  @3 W
  1628. ; http://php.net/session.upload-progress.prefix9 C# h% x  E( c: |3 z, ?3 o- ~
  1629. ;session.upload_progress.prefix = "upload_progress_"" `. z5 V- z& ?# n1 a% H
  1630. # s0 E6 `' _# J- N# r, x! U
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    3 E: _1 i6 I' v
  1632. ; containing the upload progress information4 J1 Q9 ~: i- i( a8 t& H- d' g* C
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" p- X* S2 K, P( t# I
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS") L, _* }" V: S7 e
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 Z6 W; G6 L: |1 E( ~" [
  1636. ; http://php.net/session.upload-progress.name
      i/ z: h2 u! s# Q* W
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  m" a) [; n+ f- d

  1638. 3 b* b4 x& Y# H" @
  1639. ; How frequently the upload progress should be updated.) ]- o$ ^7 @2 N$ e9 ^, {
  1640. ; Given either in percentages (per-file), or in bytes/ Q/ U/ `% \3 T9 `8 `4 G
  1641. ; Default Value: "1%": w5 q5 `7 Q& Z& M
  1642. ; Development Value: "1%"
      d# ^% W0 Y* s, H
  1643. ; Production Value: "1%"4 L+ Q+ l1 {* l6 T* {7 Y
  1644. ; http://php.net/session.upload-progress.freq+ t- f+ T0 L3 h) b% E
  1645. ;session.upload_progress.freq =  "1%"' r9 M+ A: B8 t4 F

  1646. . a3 H" [4 U4 S# y% G- l0 j
  1647. ; The minimum delay between updates, in seconds
    0 C' U+ g  t: c: q! d
  1648. ; Default Value: 1
    & V3 d( v: b: T$ |. W. `
  1649. ; Development Value: 12 }1 I2 i4 U" z* l7 A
  1650. ; Production Value: 19 n" f# {! U/ L) n  a# D. M+ G: g( z
  1651. ; http://php.net/session.upload-progress.min-freq- \' N8 }5 S8 d7 t6 ^
  1652. ;session.upload_progress.min_freq = "1"
    . P# Z7 E- H' H. k
  1653. 9 |& Z( C1 k* B3 u
  1654. [MSSQL]2 y! g4 T6 E$ e; o0 F! r6 @( G
  1655. ; Allow or prevent persistent links.! D6 u5 \3 [) x" U9 S4 @8 B$ j
  1656. mssql.allow_persistent = On
    # N4 q) S( N( k

  1657. 2 m* _* O# x9 L7 {! a3 c: f
  1658. ; Maximum number of persistent links.  -1 means no limit.
    2 J5 x. w) b9 Y& U8 z7 \
  1659. mssql.max_persistent = -1
    5 J. n0 L8 b$ _5 V$ E1 u) M; x; x

  1660. % w9 L' d: c% Y- Y+ `
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% u. U- Q: R0 w
  1662. mssql.max_links = -1
    ! F2 |; c# G/ h. y

  1663. 5 F/ J2 I6 D: ]' S3 @- v5 J" {( Q  R
  1664. ; Minimum error severity to display.  w' J+ H* M7 y0 j! J* a0 H0 p+ w
  1665. mssql.min_error_severity = 10
    ) S7 `! F+ n4 g8 P% [( p0 v

  1666. + q% U* g+ H! x( j$ O" X* i' s
  1667. ; Minimum message severity to display.
    / G6 C' j. J% B# W7 m) _1 r
  1668. mssql.min_message_severity = 10! E# Q6 e% Q. ]/ H
  1669. 0 i- b7 V: h9 {7 v
  1670. ; Compatibility mode with old versions of PHP 3.0.( f6 b: v2 s  U, H$ A
  1671. mssql.compatibility_mode = Off
    9 ]8 T! g. Y  _* h( ~# L- H

  1672. ( I1 P+ v  H9 X9 I$ q& P6 t8 t
  1673. ; Connect timeout! f% p$ v# ~6 r0 V% D/ n
  1674. ;mssql.connect_timeout = 5% ?! z6 a7 `! k7 q7 s4 I
  1675. . x) w: J) q  p# X: \
  1676. ; Query timeout
    2 j) L8 U4 G/ v* ]2 t
  1677. ;mssql.timeout = 60
    : w( l( ^- ?" _: P: u

  1678. . `# u" ~, K" O) P8 x( o
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      e. o$ t. n) n  R3 I8 B
  1680. ;mssql.textlimit = 4096
    & V% V9 y/ e/ m/ }% G  w: x1 l
  1681. 4 }; \& k* ^$ w7 Q5 J
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    6 Z4 W; l' _3 g( A9 i
  1683. ;mssql.textsize = 4096
    ! o: h3 j) Y" P% B- P: ?

  1684. . ^7 |4 ^7 [3 Y% _, r3 W
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    2 o+ C2 V: ]; [" I/ ?* x. c4 e
  1686. ;mssql.batchsize = 0
    ( l3 D1 D' w9 V. H# o3 G1 v

  1687. ; u& x8 w% [! m  K
  1688. ; Specify how datetime and datetim4 columns are returned
    " c- F" `7 Q; M4 B9 }+ U
  1689. ; On => Returns data converted to SQL server settings
    ; }1 }0 ^; f- y! D/ p6 M* _
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    6 F1 Z8 N' L5 {
  1691. ;mssql.datetimeconvert = On. j& d" g. d/ }; B8 t( z
  1692. , I- ^& E  J. m. A3 I
  1693. ; Use NT authentication when connecting to the server% X8 g2 f# |. n* o% r' r0 |
  1694. mssql.secure_connection = Off
    " b6 a7 {) I6 S  a8 h
  1695. 9 L! `. Z5 T6 F5 T
  1696. ; Specify max number of processes. -1 = library default2 m/ {2 `1 Q+ Z7 O  N& e7 g
  1697. ; msdlib defaults to 25
    1 |) ^% `* G( A0 Q7 O2 p( R( ~
  1698. ; FreeTDS defaults to 4096% H1 p' {) Y+ C0 ^
  1699. ;mssql.max_procs = -1+ h( h$ W0 D! G
  1700. 6 y7 d8 d% s2 S1 X
  1701. ; Specify client character set.- w7 ^% R* P4 E7 @
  1702. ; If empty or not set the client charset from freetds.conf is used# n1 r* W7 ^8 Q" u! }
  1703. ; This is only used when compiled with FreeTDS
    1 T% u* V6 F# d4 F- ?! C( H; q( c
  1704. ;mssql.charset = "ISO-8859-1"
    ; r1 [; M! {. y2 A

  1705. % t% u0 Z  m/ F5 \, N/ L
  1706. [Assertion]6 ~, |( e& q! z# T
  1707. ; Assert(expr); active by default.# b+ ~9 o4 G8 R% M& o+ p; f( u
  1708. ; http://php.net/assert.active
    * n1 E: V* m$ j& s
  1709. ;assert.active = On
    5 \/ [: G' B' M* A$ w. d3 _
  1710. ' ]) L& K8 {5 s' C
  1711. ; Issue a PHP warning for each failed assertion.! t& Q8 z( V- s7 l( _! O
  1712. ; http://php.net/assert.warning
    & T& M  Q  Z' o$ h
  1713. ;assert.warning = On
    % e& s3 ^2 }8 F; Z2 {& \
  1714. ! ^; D% [- r9 W, Q4 V- x
  1715. ; Don't bail out by default.( h, N' {4 E3 }& ^4 Q; {; g9 o
  1716. ; http://php.net/assert.bail
    5 E6 Z9 d: n. ^$ s$ Y
  1717. ;assert.bail = Off2 k" O& i1 K6 ]5 w: |1 w3 B

  1718. / n% h6 o' {: F7 W
  1719. ; User-function to be called if an assertion fails.
      h5 [" g, v/ T7 G$ w
  1720. ; http://php.net/assert.callback2 y+ K2 p! H/ |4 H5 c- n& l
  1721. ;assert.callback = 09 u* X9 U. k& I2 b: a& W+ Q/ z2 ]( v

  1722. 0 W4 F% {2 Q* X: z3 T4 e& r
  1723. ; Eval the expression with current error_reporting().  Set to true if you want9 W: o$ B/ \* p! v5 f' _
  1724. ; error_reporting(0) around the eval().
    , O0 [9 O% p* j! {# M9 g
  1725. ; http://php.net/assert.quiet-eval1 T4 F6 l1 n, k! D5 B( `$ [" m& `
  1726. ;assert.quiet_eval = 0+ [9 x! ?6 E6 N9 \; t

  1727. 1 c3 g3 ]& x: x. k
  1728. [COM]
      v: |! O5 e5 g' f) M, s& y+ U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    + Q* w- N7 I% s) d
  1730. ; http://php.net/com.typelib-file- I5 x3 \; ^) z6 p  Y  s
  1731. ;com.typelib_file =
    1 M5 \, h6 K7 W" `' M$ U8 n$ f

  1732. " K$ K2 ]$ m( T/ S+ F7 v: I. ^2 u* T
  1733. ; allow Distributed-COM calls
    # P) g2 J0 q* U. r7 `( A
  1734. ; http://php.net/com.allow-dcom( a7 e+ H8 a% W7 d; v% }% s2 w) s
  1735. ;com.allow_dcom = true& P1 }% Z) a1 w0 @

  1736. + i1 r( g4 }8 Z1 ?. Q
  1737. ; autoregister constants of a components typlib on com_load()
    / O3 f6 |* F+ C# e
  1738. ; http://php.net/com.autoregister-typelib* g( Q% S2 `; {' X8 M
  1739. ;com.autoregister_typelib = true" l7 W! q0 o3 X  M. f
  1740. & D4 B0 [7 g8 ?$ S8 d3 l& _; w" _1 q
  1741. ; register constants casesensitive1 M2 j/ |8 [; K+ k8 k
  1742. ; http://php.net/com.autoregister-casesensitive' G) r3 G- @& b5 A7 W1 f/ e
  1743. ;com.autoregister_casesensitive = false
      Z* G# b6 ^6 O7 j; j: U3 ~; o

  1744. ) n: n+ n! _) N$ n$ b$ ?- v" Z
  1745. ; show warnings on duplicate constant registrations
    4 ^9 |9 q- W& a2 ]* P$ F0 P, y
  1746. ; http://php.net/com.autoregister-verbose
    0 K7 x" ]% s" P9 F0 u
  1747. ;com.autoregister_verbose = true
    5 A3 O8 G5 o! M) ^0 {
  1748. * W  T, w6 T" F- t% o9 e
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 H5 Y  E5 q- C8 D4 {; A$ w% R( D# K
  1750. ; Default: system ANSI code page
    3 Y' U' u- J2 C% G/ p
  1751. ;com.code_page=
    8 s7 x& X8 Z) O! H$ r' v, ^4 `0 h

  1752. 5 k% A, Y' v3 ^+ y
  1753. [mbstring]
    " s" l6 U  b) o9 B. d$ h9 Z
  1754. ; language for internal character representation.3 s( W# G9 w. `/ n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.: W9 n  c& A- I& \; ]8 g$ {* ~
  1756. ; http://php.net/mbstring.language7 Y& L' M! l- E+ n" n
  1757. ;mbstring.language = Japanese
    * s8 B+ G; d3 g

  1758. / i3 I$ |! i# x8 f$ v" H
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 W0 e2 y5 B; K8 [
  1760. ; internal/script encoding.5 ^# L' {! A3 N( {0 {7 ^
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' ^* o3 R; `; S/ p* ]
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: |+ K+ M( b/ |6 W
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ Y+ o& B: K$ N' ]* V
  1764. ;mbstring.internal_encoding =3 s7 W& }. s8 v/ I

  1765. 2 _, f0 o3 G) K. K3 ?& P9 I$ k8 c
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    # _, l- M, E/ C" z* b$ U0 j
  1767. ; http input encoding.
    , F9 c6 C& ]8 C6 Q. w. e: S% A! a9 _
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , P+ c; c4 Z3 j* P$ r& D/ l
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.+ Q# i5 ~3 {& V
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 l5 z% d& z% g7 Z+ h8 @6 A
  1771. ; http://php.net/mbstring.http-input
    9 c4 {3 p# ]3 v- E
  1772. ;mbstring.http_input =
    % b0 `$ x  ~" T4 t" E

  1773. 4 U& Z4 j6 @" @. q( B, `
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % j+ I8 ^1 k$ v0 I7 R
  1775. ; http output encoding.
    & q% A) F) w7 S0 R# m
  1776. ; mb_output_handler must be registered as output buffer to function.
    1 ^% y/ Z  j, G* X5 g
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 E' A+ [% x1 P
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output6 I# m; ^% u$ F
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    9 y6 A7 r0 V$ b# G
  1780. ; otherwise output encoding conversion cannot be performed.
    , X) u- Y5 j3 l4 ]6 w; B5 Z5 K
  1781. ; http://php.net/mbstring.http-output. w7 Y% _  Z9 M/ P; L/ K
  1782. ;mbstring.http_output =
    ) [# ]) e; X* J& ?+ c* ~2 S
  1783. 1 z4 J6 R3 f$ l8 K
  1784. ; enable automatic encoding translation according to
    ' K1 H! B# C" ~* ]. n
  1785. ; mbstring.internal_encoding setting. Input chars are& N: G, s7 d+ J. P( q( ~
  1786. ; converted to internal encoding by setting this to On.
    $ }& n$ T) ?; z" S$ l5 [
  1787. ; Note: Do _not_ use automatic encoding translation for
    . V$ @* }4 j  e0 K/ e/ m
  1788. ;       portable libs/applications.; H* F9 b6 A# ]
  1789. ; http://php.net/mbstring.encoding-translation$ ?8 [  m+ k+ R- o  u
  1790. ;mbstring.encoding_translation = Off4 y/ ^. Z8 _0 R! l# k
  1791. 7 {0 k% o' b: C: I2 ?
  1792. ; automatic encoding detection order.' p, \6 A2 d% f9 `7 |; _
  1793. ; "auto" detect order is changed according to mbstring.language& F+ {+ m( W0 |! m
  1794. ; http://php.net/mbstring.detect-order& h$ }/ U6 m! P$ P5 m
  1795. ;mbstring.detect_order = auto
    ' Z5 b0 V; }/ P! I0 m" o

  1796. ! h8 m, [) ], j- e6 i, U2 S" X
  1797. ; substitute_character used when character cannot be converted
    8 \1 y1 l; d) |$ R: o
  1798. ; one from another: J6 ?, I- g& j
  1799. ; http://php.net/mbstring.substitute-character6 K" ~& S/ x% S- E* T# a5 ^
  1800. ;mbstring.substitute_character = none
    ; _5 q, k0 \% Y4 T
  1801. ) T- w. U  e, J5 P3 G
  1802. ; overload(replace) single byte functions by mbstring functions.
    6 p0 T& N0 g! O6 ]0 b( m
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    6 s! U# i: s4 X0 s2 ~# O+ s( y3 O3 z
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' Y: }) }; f  ~
  1805. ; For example, 7 for overload everything.
    , h$ z- S4 g) C
  1806. ; 0: No overload
    1 r+ V* X0 b& m. u+ D
  1807. ; 1: Overload mail() function2 J/ A  H7 x& ]/ K  ?8 ^0 y
  1808. ; 2: Overload str*() functions
    ! D- B* A# s3 r" Q9 |8 @
  1809. ; 4: Overload ereg*() functions
    0 M  J- T4 f  @# B* |5 K8 X
  1810. ; http://php.net/mbstring.func-overload
    7 n3 Z9 i& @3 f6 V
  1811. ;mbstring.func_overload = 08 ~/ r, Z; {+ G4 W
  1812. " u1 X" Q% u4 s* J* y7 b# C
  1813. ; enable strict encoding detection.
    & S: Y' N+ k& R9 t0 t" @
  1814. ; Default: Off
    2 \; f, v- ~4 v/ t& F
  1815. ;mbstring.strict_detection = On
    $ N# |* L1 z. _: f& K' r8 w" n
  1816. $ ~; M8 Z6 _3 l8 _* N+ |1 {$ K
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : G1 p* u( g. U) M" a
  1818. ; is activated.' [, u& U$ c3 i  x( ?$ f
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)7 s' d- o3 r. g! u! e( X! M
  1820. ;mbstring.http_output_conv_mimetype=7 ^" _9 I( w7 d# j& `. }
  1821. - I8 w' X" |* ]
  1822. [gd]
    0 n" S3 t4 i* J6 S* Z& C
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    2 _- D% J+ t2 [# G/ ?3 Q
  1824. ; a gd image. The warning will then be displayed as notices
    2 U4 ^2 y! k; w) B( ~1 v2 a
  1825. ; disabled by default
    6 j3 y9 r$ R0 E' w
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ' B# ]5 o! Y: S: o9 H
  1827. ;gd.jpeg_ignore_warning = 0" H$ s7 P3 `; a  }* n6 D8 r

  1828. / J" \" d6 Y- r0 D
  1829. [exif]- B* h4 C0 W8 @" E) ?# d3 b% f
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.6 U2 F5 `% _/ A: I( c. i2 E# V. C
  1831. ; With mbstring support this will automatically be converted into the encoding
    4 n4 r) A. O9 {: K6 d$ t
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding% \/ y# L9 i# y: n( U% p
  1833. ; is used. For the decode settings you can distinguish between motorola and* L+ A0 x+ E! n) a
  1834. ; intel byte order. A decode setting cannot be empty.3 h5 g3 |- w0 y% u$ N( [# K
  1835. ; http://php.net/exif.encode-unicode
    1 m) N+ s+ M- R2 |1 k' p. a
  1836. ;exif.encode_unicode = ISO-8859-15- j) ?% u3 N0 q& z' g1 P- `
  1837. - W- d+ G* r8 H8 ?0 x* R
  1838. ; http://php.net/exif.decode-unicode-motorola
    % E; I( G; l5 N# o9 L% F6 }8 N
  1839. ;exif.decode_unicode_motorola = UCS-2BE: ~/ F6 h2 G- u9 }: V

  1840. % ^$ |6 J- N" e+ f: i& o; Y
  1841. ; http://php.net/exif.decode-unicode-intel
    " s% z, T' P$ I: R7 {
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 d- j# ^8 z* m9 U

  1843. # F9 l/ c4 H# _- r' z
  1844. ; http://php.net/exif.encode-jis: A! D; R" Q2 \) g2 M0 k
  1845. ;exif.encode_jis =
    0 i  Q9 ?% S3 q3 D7 G# `$ s

  1846. : I2 N! E( J1 j
  1847. ; http://php.net/exif.decode-jis-motorola
    1 f% j0 L  g! y/ C- ~
  1848. ;exif.decode_jis_motorola = JIS1 }6 g, o. Z# ^  o) h# P9 n$ z. r

  1849. " G. _( ]+ D+ M5 }0 |" h
  1850. ; http://php.net/exif.decode-jis-intel* z! b1 w# I: M2 u1 M- t7 H
  1851. ;exif.decode_jis_intel    = JIS
    $ J' R( K+ Q% }; y' |

  1852. & m4 [7 b  t9 ]
  1853. [Tidy]2 ?% a4 {) A& X0 v7 ]( u
  1854. ; The path to a default tidy configuration file to use when using tidy
    + k9 ?3 {. r5 ^, e3 \
  1855. ; http://php.net/tidy.default-config; E2 L* H6 e! B% t2 E9 q  ?
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg$ i5 H# r$ s$ Z1 N4 k) d
  1857. * n6 f5 P# A8 M2 V) l! G
  1858. ; Should tidy clean and repair output automatically?7 Y! f( n7 S# J2 }3 _; g: C
  1859. ; WARNING: Do not use this option if you are generating non-html content
    # M" X. [2 D. q& p1 b
  1860. ; such as dynamic images
    6 P6 Z' {: |- H' [/ Y; x
  1861. ; http://php.net/tidy.clean-output$ K. O3 K+ t2 Z  I4 ?" ~2 m
  1862. tidy.clean_output = Off7 W+ z! t8 n! @$ m5 @' K
  1863. & d8 J& u3 O  D6 [' j" c+ k
  1864. [soap]5 U1 c7 V4 q+ {% V& b! h
  1865. ; Enables or disables WSDL caching feature.3 Y- ~9 L, O+ j2 _! y! n  ~
  1866. ; http://php.net/soap.wsdl-cache-enabled
    * \4 a. L, h$ T- U# k2 f6 o5 c
  1867. soap.wsdl_cache_enabled=1
    ! Y) u9 o2 C/ a

  1868. 0 Y9 J" A5 H7 @3 @
  1869. ; Sets the directory name where SOAP extension will put cache files.0 c0 X) [% Z# d/ b/ ?! Z( S+ k
  1870. ; http://php.net/soap.wsdl-cache-dir
    , G' L' d( [" O  |6 a7 F$ C
  1871. soap.wsdl_cache_dir="/tmp"7 _( o' e9 z# S8 D" [: I4 A& U
  1872. : V1 \6 F% w; n' t
  1873. ; (time to live) Sets the number of second while cached file will be used
    " ?+ N' g5 Y- B5 Z; C* n3 _# e  f1 |
  1874. ; instead of original one.
    " ^7 M; e; R. C( K6 }" }. ^
  1875. ; http://php.net/soap.wsdl-cache-ttl
    + w# B& F3 Y" h" u% }5 m( H3 h3 d
  1876. soap.wsdl_cache_ttl=86400" q9 g" k% o( w, g# J% H

  1877. ( P5 R& F8 N7 d4 T
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). W$ n; S4 r/ o3 k7 P& m9 |1 J
  1879. soap.wsdl_cache_limit = 58 K& d6 ~- R# D
  1880. 8 _9 d  @4 ]: i
  1881. [sysvshm]
    ' k' `$ W* s, k) I& T
  1882. ; A default size of the shared memory segment
    + w6 E' P/ n! b( K7 H& T% X7 h! M' z
  1883. ;sysvshm.init_mem = 10000
    $ w0 \8 ]% M  b
  1884. + S) R7 G: a) ]9 c* ~
  1885. [ldap]4 K1 `9 Y; ~  S& d0 p# p6 g
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    / R0 h2 k% K  U; C. c
  1887. ldap.max_links = -1; a' h" W7 t) c5 Z, d3 M

  1888. 4 {3 `# ?" ]9 Q/ s1 V) I, v3 v
  1889. [mcrypt]
    8 l, f: K1 M* u+ s# }; F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' g- W. ^, p" u) _% \
  1891. 8 J4 A% o# M( S7 C* a6 w& D
  1892. ; Directory where to load mcrypt algorithms7 P( |4 U+ N1 J" W. h
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & Q) ?, H( q7 B9 I0 y5 y8 W0 h
  1894. ;mcrypt.algorithms_dir=
    6 N0 x" B7 j1 [1 R0 y

  1895. . r, I9 L0 S7 G( y. v
  1896. ; Directory where to load mcrypt modes
    + I8 Y  \3 o+ l) W' n) A8 A
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) O1 _. w3 Q$ h7 j
  1898. ;mcrypt.modes_dir=! l1 O8 H# S/ l* n( q4 `6 N. Y

  1899. " c& j, i8 N  N5 R
  1900. [dba]
    6 f: y* O+ S# c8 W5 k: a9 C* ?
  1901. ;dba.default_handler=
    9 r9 m% @; f  e! K. G
  1902. 5 D: t5 i+ e$ d' x" Z9 {
  1903. [opcache]
    " H" _& L. @7 z9 `- y: o
  1904. ; Determines if Zend OPCache is enabled' n+ P; X2 l% |9 N
  1905. ;opcache.enable=0
    % r4 i7 A  `7 P6 c6 Y

  1906. 7 ?) a  R* s9 o0 |2 u
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , L! l$ L, Z' ~( D9 W( l0 {9 d" P0 u
  1908. ;opcache.enable_cli=0
    ) A6 A1 V9 \: Y! |3 N9 A: g
  1909. . c9 Q3 M- H' p. f* `+ M; ~  x
  1910. ; The OPcache shared memory storage size.
    ( {" t0 m$ c4 q# D, K
  1911. ;opcache.memory_consumption=64
    # @! P( y1 ]4 D! l
  1912. # h/ Z5 e3 w) }+ N
  1913. ; The amount of memory for interned strings in Mbytes.$ V+ ]2 ~& j& r1 P: h) ]
  1914. ;opcache.interned_strings_buffer=45 n1 H7 i& Y  d

  1915. " j) `" H4 V- l& ?% K
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.( Z4 @+ f5 u6 F
  1917. ; Only numbers between 200 and 100000 are allowed.
    9 [) l; r* d5 m
  1918. ;opcache.max_accelerated_files=20004 h/ z  H2 p! {

  1919. 1 L! Z8 V) I& u( o" o  i4 ~
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.. `8 P! e& a( p" x) o; _# j9 l
  1921. ;opcache.max_wasted_percentage=5& e. M9 A  O7 W2 }

  1922. - p7 p' j, Z8 I8 {. X# @$ C
  1923. ; When this directive is enabled, the OPcache appends the current working- u; p& C- f2 A# ^, g5 y3 X" O
  1924. ; directory to the script key, thus eliminating possible collisions between
    : Q% D, ]0 d# k! I, W- |* q& h
  1925. ; files with the same name (basename). Disabling the directive improves
    . p# w0 ?( o; F% E, K: A
  1926. ; performance, but may break existing applications.6 L- t+ v# W& B; F) N
  1927. ;opcache.use_cwd=11 q, \4 R  s" L' w  F  `3 e

  1928. / o0 w2 q3 c& u, L
  1929. ; When disabled, you must reset the OPcache manually or restart the2 a- C8 V7 ~* u2 g9 f) a- X' {
  1930. ; webserver for changes to the filesystem to take effect.9 m( w5 D; _5 ?/ L
  1931. ;opcache.validate_timestamps=1
    . |' a  {' I# \( u/ K/ D" X6 z
  1932. % M2 b6 J1 O  E* R! }% h' ]0 c
  1933. ; How often (in seconds) to check file timestamps for changes to the shared6 ~$ o1 e% h: B( @4 x
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    7 I6 p2 q5 W/ f
  1935. ; once per request. "0" means always validate)
    : W* K  y6 R' g
  1936. ;opcache.revalidate_freq=2! g9 g7 h& b0 a; Z( A1 o

  1937. / ~! [! o( Y- Q' z5 j
  1938. ; Enables or disables file search in include_path optimization
    : g0 a, W) R7 E2 f+ I: U2 j
  1939. ;opcache.revalidate_path=00 @9 I8 D1 c7 F+ L! y

  1940. / r" w, c! ^5 C. D8 d1 Q
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the& Q$ Z  n5 s. H
  1942. ; size of the optimized code.4 \- a1 w# h. I6 Y
  1943. ;opcache.save_comments=1
    9 p) f/ n) W" y. s* q* e+ K
  1944. 4 U# N+ f* ?; F/ q+ Y
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    0 u5 j+ C4 G# L
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ' y! S) v3 l/ P+ d
  1947. ; that don't need them anyway.
    7 d2 i2 b" _! {1 I& N8 U3 Z
  1948. ;opcache.load_comments=1% f* w/ Q0 B# ]8 R( M% _; @
  1949.   s0 l) M" O: ]  V
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! _& n. H  Z/ C
  1951. ;opcache.fast_shutdown=0
    ' p* k1 I% w1 i% D, Z
  1952.   k( J( Y1 o9 n2 C& f* }) b9 ?) i
  1953. ; Allow file existence override (file_exists, etc.) performance feature.5 u2 o& e2 e1 L( I7 `
  1954. ;opcache.enable_file_override=0( B% X" O/ D& }. ?+ n! v, g

  1955. ( _! Q3 R7 J) _! w! d8 Q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache& k+ C& s9 f9 U) c* I  F: B
  1957. ; passes" R: P* D7 J9 g0 [# |: b
  1958. ;opcache.optimization_level=0xffffffff& i1 e7 M: `8 o# u# C" J
  1959. 9 \" g+ }+ R" R! P+ l! k- S
  1960. ;opcache.inherited_hack=1
    ) Q( `/ b1 S4 G% n( o
  1961. ;opcache.dups_fix=0
    7 H1 B; Y7 X4 D# ?7 T
  1962. $ V# d2 H  d* t3 o5 O6 H2 i- ?
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 D; p; t$ z6 X( ~
  1964. ; Each OPcache blacklist file is a text file that holds the names of files! h$ ?+ }1 J3 K3 f
  1965. ; that should not be accelerated. The file format is to add each filename
    6 Y% c) U# R' I6 m$ _
  1966. ; to a new line. The filename may be a full path or just a file prefix. I/ ~1 d7 f: F. T" y- x& b
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    / m1 n0 w0 r3 q: ^
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    , u- l6 i3 A0 {! A5 L) B+ x
  1969. ;opcache.blacklist_filename=/ V; O4 B. T& \5 b# B# o. s8 z

  1970. * N4 p2 p" p& `5 W
  1971. ; Allows exclusion of large files from being cached. By default all files
    + W$ m& G8 Q. W' k1 R' p) G
  1972. ; are cached.
    # b  Z8 y* k4 g2 q- A
  1973. ;opcache.max_file_size=0" b1 n  P" O) U% u0 d" n" _

  1974. 3 n- V# ?0 ?! a4 y! Q% w/ Q1 B
  1975. ; Check the cache checksum each N requests.# e/ t7 I1 D. s0 A' a$ r
  1976. ; The default value of "0" means that the checks are disabled.; l% F5 x( n. C  R# H+ q
  1977. ;opcache.consistency_checks=0  }2 V- |4 q0 k8 }) \+ c
  1978. 0 Q2 m) ]1 ?9 K+ h1 Z( {0 k- M
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache/ o6 u& j! L( p! E- ^& Q
  1980. ; is not being accessed.* f3 r: L) E! [1 j
  1981. ;opcache.force_restart_timeout=180. L5 r$ s8 B% o5 U" ~! k0 H2 i% y
  1982. : _1 s+ L/ ?$ ?: ^
  1983. ; OPcache error_log file name. Empty string assumes "stderr".- r" M" p2 |4 H
  1984. ;opcache.error_log=
    / t( o7 V  B* e* {

  1985. 3 h( f7 T' M1 v
  1986. ; All OPcache errors go to the Web server log.- E+ x; E% a* l+ R, J7 E
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    , x4 `+ o; L  |4 n: C
  1988. ; You can also enable warnings (level 2), info messages (level 3) or0 m/ q3 y) K9 W6 X$ l  D" `/ j
  1989. ; debug messages (level 4).
    - c. L4 {. k% E6 {: f
  1990. ;opcache.log_verbosity_level=1
    / z/ R+ C0 k" J4 N% k

  1991. ! z+ S! D" a: u( A3 H$ J# e
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% x6 q' p1 T9 F, [  x% F
  1993. ;opcache.preferred_memory_model=
    4 _" O# W8 a1 ~# i
  1994. 3 {% ~5 }6 L# v( L' i: B" Z
  1995. ; Protect the shared memory from unexpected writing during script execution.
    * m2 ?" ?2 M+ x$ _" O6 i) ?9 Y
  1996. ; Useful for internal debugging only.
    ; ^) e5 d/ x& ?% z9 o0 c
  1997. ;opcache.protect_memory=0$ C' z! b0 G8 ]- h) U0 X. a

  1998. ' W9 M9 \7 }$ n$ v$ a9 X
  1999. ; Validate cached file permissions.
    + Y7 I1 l0 J1 W' |- ?  Y; Q
  2000. ; opcache.validate_permission=0, ^! `1 ^% w# v- P4 y) O
  2001. ; U3 H" X% j2 q+ {2 r
  2002. ; Prevent name collisions in chroot'ed environment.
    & `/ m: ?; O! y4 W. \6 U
  2003. ; opcache.validate_root=0+ y5 I- B) p* j* Y  m1 E, P0 n4 M! d
  2004. - P% Y0 f6 p6 Z  `8 x6 O$ s' N
  2005. [curl]
    ! W; [8 [9 Z4 h) t+ E
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    3 S3 t8 S$ c" J% L( w6 L4 l1 p! Y" K) a
  2007. ; absolute path.7 e# s. O; L) a  o
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      {# y8 B: p7 u& l, W  a5 f1 d( o

  2009. 5 J! }( k; w8 Y6 x4 A
  2010. [openssl]
    ) F. r# W3 c& J9 c
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem  q' Z# Y0 Z5 E  e/ a
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # h) V! Y/ ]# p- l. |. w; c, n
  2013. ; not specify a value for this directive as PHP will attempt to use the
    $ g5 R# B8 i$ E5 M$ h
  2014. ; OS-managed cert stores in its absence. If specified, this value may still! K7 m' a0 g; g6 G: S) V
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 `) M# [" F+ G1 n& W+ H
  2016. ; option.
    5 i" n* s0 v4 y3 v
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 v  b% X3 s* V5 ^) i

  2018. - S$ r4 Z: A$ E
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    / w& q, Q/ P0 [8 Y- F' f
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    8 Q. Z. ]+ I- E+ \1 d5 S" X, x
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    5 I  v' k3 A, r( J
  2022. ; Most users should not specify a value for this directive as PHP will5 x- o5 K% e  I& X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    " C( _6 I3 x1 K9 X' c6 z
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 H/ z5 S6 _- ?& z, n
  2025. ; SSL stream context option.+ C) N( D' F5 d8 R3 x
  2026. ;openssl.capath=
    : g& I7 g  a7 v/ t- i

  2027. . N3 k4 ?; x, |5 f9 f+ S
  2028. ; Local Variables:
    , V( J/ V" R+ g; _/ A: D9 A0 H
  2029. ; tab-width: 4
    : ~% c& g4 F" X$ f( n
  2030. ; End:0 w4 ~7 x7 P( q9 B
  2031. ' i  z! D8 B1 Y3 H0 k( Z$ @
  2032. ;eaccelerator
    + \& [3 C! N' A: q

  2033. 7 Z* y/ z, U9 Z. q+ S
  2034. ;ionCube
    ' ^& h7 H& |5 K$ c
  2035. " b2 Y' W. y" \4 @
  2036. ;opcache, u, z9 F/ t) B! x
  2037. ( H, @2 k* a8 F) Z6 K1 r
  2038. [Zend ZendGuard Loader]
    $ F2 x; U3 @- |' P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so. N; z  Q6 x5 v+ U
  2040. zend_loader.enable=1
    ' O& j* x3 ]' h) S* t
  2041. zend_loader.disable_licensing=0
    & L7 X% f& A& a" i0 m! l: N
  2042. zend_loader.obfuscation_level_support=3
    / j' t7 p3 u9 P7 z3 n
  2043. zend_loader.license_path=  w7 u9 a2 y) S, ?
  2044. : V' ^& s( g9 m" X5 e0 m+ r
  2045. ;xcache2 R" ]1 l2 C: H/ K3 J; a+ ]% e

  2046. - V  I$ N6 c; M& l3 `
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
, `, j8 k/ F* O/ c9 C
3 J. K2 G0 F7 F& k6 P2 W( I
! X4 l: k( g( C* \. R' }* RDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,: U6 Y3 H. l+ H$ v

7 [4 A( C" y  `; Z5 u9 X# n, I% ZDiscuz!程序版本选择:" R1 q& P6 j2 _
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
1 B4 c& Z+ e6 A+ y- R& N( I不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:& U' |" w" U9 I+ x( y0 P
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。3 X6 @/ p0 \) X' u4 d0 _7 _, r

& }( {4 E/ c- Q7 M0 w. C: w. WDiscuz!插件模板版本选择:, C7 C4 e- g( k+ d" M% q8 G
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,8 V5 r) b  _# w, \
针对这个问题做个统一的普及:
1 h* e; i* {) L* i4 RX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
3 E. E$ ~5 D3 |  _8 z" u: l2 j1 v: `  g; x0 \  l
所以# E- }% \3 |5 g$ Z
适合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的二级域名。6 X' \: I& z9 B5 O/ P
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
; |2 ^7 F9 m- o) ~4 \注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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