分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 S( ~3 B6 Z5 ?) d
/ _7 ^" n: y4 G$ C  d! }
  1. [PHP]0 I8 |/ \8 }% ?+ S' o
  2. . a$ {4 z0 @: c% m% t
  3. ;;;;;;;;;;;;;;;;;;;
    ' H5 [- ?( c2 R6 \3 S7 O1 D4 K, c
  4. ; About php.ini   ;
    2 F5 P/ Q7 z5 Q% ]" w2 \
  5. ;;;;;;;;;;;;;;;;;;;& A. F8 ~6 \" ]8 f
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 l* I+ @2 w$ ~  H: |. Z
  7. ; configuring many of the aspects of PHP's behavior.. S) N+ ~& P3 h, U( l6 a
  8. ' i+ _+ N8 T3 x
  9. ; PHP attempts to find and load this configuration from a number of locations.
    3 ~1 [, b: B  U5 j9 o& N
  10. ; The following is a summary of its search order:
    # B9 @0 }$ b( i& O( j
  11. ; 1. SAPI module specific location.' R  ]) a4 `2 h6 U4 t6 v& t) u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)5 h* k1 f1 @* b7 m( j! x
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)5 y6 ~; _# M6 L, ^
  14. ; 4. Current working directory (except CLI)
    ) @  x4 t" h7 D, o  x; N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- X& c: A% h2 T2 R5 t: [
  16. ; (otherwise in Windows)( F% `6 E2 S" k1 m9 m! I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - }9 e0 \# D, O! u* j
  18. ; Windows directory (C:\windows or C:\winnt)0 u( j1 e0 _- E  n4 o; x& q
  19. ; See the PHP docs for more specific information.- g$ |& M* K4 C; e; K' N, \" t: N
  20. ; http://php.net/configuration.file
    3 ?1 _: O! H6 I+ p- I

  21. 7 K- g' J" J, N+ G
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ! Q4 u; I2 N( H; X; h; M& [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 Y+ \. Y2 z- h3 X+ E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though; c- X" E. H" o6 j! N
  25. ; they might mean something in the future.0 p& f3 r6 @7 B' F9 l, }; k
  26. 7 ~# n" @) R9 B* R
  27. ; Directives following the section heading [PATH=/www/mysite] only
    8 Z( D! l) H/ a
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    $ j% X& ~( x$ X" V" [
  29. ; following the section heading [HOST=www.example.com] only apply to
    3 }+ }% b: b: j1 G1 v
  30. ; PHP files served from www.example.com.  Directives set in these
    ! ]. G* u$ i$ b: C/ F5 t2 z, j2 A
  31. ; special sections cannot be overridden by user-defined INI files or' d$ A; i: [$ `/ g5 R) C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" X+ r; H# }# Z  i. s
  33. ; CGI/FastCGI.; T1 }' B: o6 j3 [8 G+ [
  34. ; http://php.net/ini.sections
    " u1 [  ^3 ]: Z; r

  35. 5 W( G% P& I. U9 z( [
  36. ; Directives are specified using the following syntax:
    " X+ S$ ^- v  K. D7 u$ G
  37. ; directive = value
    ) |3 |5 B/ x( i. u7 j: H$ X
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.6 `' i$ L( [# K4 j- B
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ; I" ~0 g  a0 F: B. b
  40. ; There is no name validation.  If PHP can't find an expected% U' F! I$ M. ^# y2 I/ w2 O2 ?
  41. ; directive because it is not set or is mistyped, a default value will be used.7 [1 O0 E- J6 E! ]2 Z6 ?

  42. , w; L/ S; K( N, @3 Y9 ]6 c
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + t; M0 K* e  z% l& i8 Q  t
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    8 \: G# Q& J" F+ n( |1 ~
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a4 n4 H6 @, N/ x  w% q( r, P1 U
  46. ; previously set variable or directive (e.g. ${foo})
    % P9 X5 @$ a# W$ a% \; O
  47. $ h4 D# ^: k/ X/ p2 J3 I: T
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:4 @0 N, n& j8 O' n: E
  49. ; |  bitwise OR' C% `* k2 r9 Z7 l8 X: K
  50. ; ^  bitwise XOR5 Y: H) I% {8 {
  51. ; &  bitwise AND
    ( M4 h& U& S1 H( h; B
  52. ; ~  bitwise NOT- J7 `5 a2 ]- i! i; M
  53. ; !  boolean NOT
    ) {& M* s) x9 T9 m: \
  54. 8 x: y' D5 j/ Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 @2 j& ]0 A% V2 F" _
  56. ; They can be turned off using the values 0, Off, False or No.$ }( K$ T# Z- m

  57. 5 p# S! c4 \- J- H0 J
  58. ; An empty string can be denoted by simply not writing anything after the equal$ {2 q1 `9 h& A! ]
  59. ; sign, or by using the None keyword:
      x9 W$ \- e; ]8 Q1 _

  60. 2 [* ]$ u0 d1 W' e+ Q2 J% K
  61. ;  foo =         ; sets foo to an empty string7 _! M. U. F, q) _6 b  w% N
  62. ;  foo = None    ; sets foo to an empty string
    3 c. l! B" H+ B. h# P
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + b! ~9 \6 X5 p$ z$ I# v; w5 ]  n

  64. 2 u# s7 h, _  j3 Y9 C$ K
  65. ; If you use constants in your value, and these constants belong to a
    ( w$ O6 F5 t' p
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),$ D0 @2 |& f+ a! D
  67. ; you may only use these constants *after* the line that loads the extension.- p, v4 @% ~$ {' m

  68. , O2 r' t/ t# W- g
  69. ;;;;;;;;;;;;;;;;;;;
    / Q6 Q* U3 A+ q! d* t$ R$ V9 r
  70. ; About this file ;
    $ n/ u2 [7 l$ E/ ?
  71. ;;;;;;;;;;;;;;;;;;;
    $ ?& [2 N0 l2 l: @; c& T
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # A- r0 h: X% H$ j
  73. ; in production environments and one that is recommended to be used in
    9 p1 Q5 K3 I# f
  74. ; development environments." @( J/ |( g# I0 o
  75. ! o# Z) J2 v/ g, ?  G( @% L7 ~# r
  76. ; php.ini-production contains settings which hold security, performance and
    3 L  Z' `& O  o" [3 u1 m
  77. ; best practices at its core. But please be aware, these settings may break; Q& F# ?2 f3 U2 i
  78. ; compatibility with older or less security conscience applications. We) T1 d' i# x* }& ^2 P
  79. ; recommending using the production ini in production and testing environments.! @% S! M3 H1 t3 d" n- o( D" _
  80. - I3 p$ a/ z1 f/ `' y4 R7 m
  81. ; php.ini-development is very similar to its production variant, except it is
    1 G1 `% u) ~2 v8 e) ^
  82. ; much more verbose when it comes to errors. We recommend using the
    " B9 A. O! y. b$ n. F
  83. ; development version only in development environments, as errors shown to
    * ^. U8 t1 {" R) o  E
  84. ; application users can inadvertently leak otherwise secure information.
    * H$ t6 F& v: d: U
  85. 5 o$ ~  P3 x9 Q6 l. v
  86. ; This is php.ini-production INI file.4 v& i# D/ g( I& p3 o: e+ x' j

  87. " D% A9 M; V; ^$ C0 u# k
  88. ;;;;;;;;;;;;;;;;;;;
    8 M6 Q9 g5 L( L% W0 i' ~
  89. ; Quick Reference ;! Q+ s) c( i( x: G( A
  90. ;;;;;;;;;;;;;;;;;;;
    / R, f- K2 I: O/ n4 U2 c
  91. ; The following are all the settings which are different in either the production
    1 N8 [2 E( x) b: H( |. i& d6 ?* n
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . f  g) D$ F0 i+ x
  93. ; Please see the actual settings later in the document for more details as to why
    ' a* Q' o+ m! u; s
  94. ; we recommend these changes in PHP's behavior.
    3 N) G! w4 F7 R
  95.   B' t% s' q) I5 Z3 _
  96. ; display_errors. E# f! a9 f# p, H6 I8 N) l  d
  97. ;   Default Value: On: ]! l; _; t9 N$ }6 h! d6 w
  98. ;   Development Value: On
    " {; o0 d/ d/ C# l% d% ^* W
  99. ;   Production Value: Off  E; ?. L# c( x
  100. 1 A1 l$ L, ~! f7 D
  101. ; display_startup_errors4 m0 _* T8 c6 ^7 F) S
  102. ;   Default Value: Off( a  m  K' M' v& ?9 a7 j
  103. ;   Development Value: On6 ^$ G, }0 U- @: t* P- p6 b" l
  104. ;   Production Value: Off/ O- H) K# A$ a: o5 Q# _
  105. ( r6 H/ M( I5 X* F) c  O4 c
  106. ; error_reporting6 @2 b' v9 n* h4 u- d2 x4 T
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 X: x8 f+ T' O0 |, L! \, L
  108. ;   Development Value: E_ALL" H  {) p* H/ C* T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 V" I+ d' B* |7 B7 J) q
  110. 6 O1 S' |. Y) \% N4 Z2 ?
  111. ; html_errors) d% ^$ K, [, T2 ?* Z
  112. ;   Default Value: On# k+ e3 |1 f- b! _
  113. ;   Development Value: On
    , z; S* b- t3 d( b% q9 s! P. ]
  114. ;   Production value: On
    ; I% M* r! d: F2 s

  115. 9 Y' O$ W7 L/ K! |( j- [6 C
  116. ; log_errors$ k& {, N$ a' ^* p: {6 K
  117. ;   Default Value: Off, F; j( V+ M% A  D7 r7 {
  118. ;   Development Value: On$ R/ l$ t( E/ G2 W# b
  119. ;   Production Value: On: v8 g% R& G& K! a5 c# ]
  120. " q  E9 X% k& _" k5 y
  121. ; max_input_time
    . s8 N$ `( C: d- [' m) u% A3 p
  122. ;   Default Value: -1 (Unlimited)
    ( z7 K# T+ t$ J% |
  123. ;   Development Value: 60 (60 seconds)
    - G& |% j2 }1 r' q' f$ l- _! D
  124. ;   Production Value: 60 (60 seconds)
    0 Q1 c- A7 r" \- S$ R9 ~

  125. 4 P% T+ ^3 c. ~; Q6 _- p
  126. ; output_buffering
    / ]7 W' J( l3 F6 y
  127. ;   Default Value: Off
    9 V  y! W+ p8 A1 @( U" q
  128. ;   Development Value: 4096" ]; w" t* u; j4 R7 k; V5 ^
  129. ;   Production Value: 4096
    6 f3 ?) @5 _# T( Q; n

  130. " w+ n, ~+ ?& g; k4 ]5 C
  131. ; register_argc_argv4 o: V: r' @& L0 ~. [
  132. ;   Default Value: On
      A. Q, W9 b: d% Q+ d9 Y! v
  133. ;   Development Value: Off
    - O6 d) O4 u0 Y0 j" q' J+ V
  134. ;   Production Value: Off5 ~/ t7 E4 V5 a

  135.   E/ q/ i7 ~% \7 C% h. ~3 o
  136. ; request_order
    3 w% _" w; ?; C  x3 d; d/ C4 B6 z
  137. ;   Default Value: None
    $ C# n- K1 t! g8 b% o
  138. ;   Development Value: "GP"
    / f+ j5 |+ B$ C: {& P  j0 ^
  139. ;   Production Value: "GP"$ ^& \  H; x7 Z1 P$ Y- M, n
  140. ) B4 O* s- ?) d( `' \
  141. ; session.gc_divisor+ M! p" ~+ W7 E! H% P
  142. ;   Default Value: 100
    9 q0 T8 |  D. ?7 o! \- ]; ^5 m
  143. ;   Development Value: 1000
    : F6 k" A* j) x5 H+ [0 S2 O
  144. ;   Production Value: 1000# Y  O- B8 C1 G( Z
  145. 5 w  M  |$ e7 m* O9 x# d
  146. ; session.hash_bits_per_character7 v+ n4 c+ r. o! f
  147. ;   Default Value: 4; ^: y  H% Z$ j3 L4 f
  148. ;   Development Value: 5: K7 z- n# d: t
  149. ;   Production Value: 5
    ) F) f6 ^# e3 }$ h; H
  150. " }; b* q4 u* b, i; Z9 `) S9 Q7 U
  151. ; short_open_tag: i% D# t2 r2 M& c. \. x
  152. ;   Default Value: On
    & C  V+ E% |, ~3 m8 e* O6 i
  153. ;   Development Value: Off. @7 ~. I- Z9 F4 w4 u1 u/ m
  154. ;   Production Value: Off
    6 r) h& s. U8 ]) E3 S

  155.   w, m- S9 ]9 N
  156. ; track_errors# e9 g/ b+ w3 P$ Q( z
  157. ;   Default Value: Off$ q8 u. B  O5 _9 a$ @
  158. ;   Development Value: On
    ( E7 r$ E  Y) H
  159. ;   Production Value: Off7 f6 ?3 y7 J& e( r; T$ K, x
  160. ( v5 Q$ \& C& f* e& ?9 |- t
  161. ; url_rewriter.tags
    3 z! R/ a* N9 B# r9 b( J4 Y
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="; _7 [$ e$ z4 }! A. g
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* z/ a  B: k2 t2 E( z# Z- L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 Y% k. y1 C2 ^( h# F. w) T4 q

  165. : F2 u4 y7 {2 ?/ k7 [; }% I4 @
  166. ; variables_order
      l3 j( m. w* c5 _8 n# F: L- N
  167. ;   Default Value: "EGPCS"/ E+ V- o' \8 w/ S+ r
  168. ;   Development Value: "GPCS"
    ; l$ v! a4 [% o9 V* u* q% m' _: J% U
  169. ;   Production Value: "GPCS"
    4 @' }8 w. I8 t, e" Y$ w! i

  170. 7 p( Q; ~+ L* @2 g2 e1 x
  171. ;;;;;;;;;;;;;;;;;;;;4 @/ d1 i! T4 N
  172. ; php.ini Options  ;/ d  H! g8 [" H
  173. ;;;;;;;;;;;;;;;;;;;;
    6 ?3 k- h& Q1 y' f* E: x5 w
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & v% y! @+ x8 W
  175. ;user_ini.filename = ".user.ini"! p8 Q: X: z: a$ |9 _* g

  176. 3 O6 P/ L  L- [8 A; H
  177. ; To disable this feature set this option to empty value
    5 Y5 q1 V. J/ {. _
  178. ;user_ini.filename =/ Y5 J' K7 p& O0 l7 [

  179. % Z' U% d4 B/ d
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)* Q3 ]9 J/ V7 E( W  S5 ?; R
  181. ;user_ini.cache_ttl = 300  O+ B' m4 u! q; P( \: m" K4 i

  182. 2 N. _- Z; G( w2 s! H
  183. ;;;;;;;;;;;;;;;;;;;;* B0 u0 |' A& k& J
  184. ; Language Options ;
    8 H# q9 q" [% w) ?2 x) T
  185. ;;;;;;;;;;;;;;;;;;;;* U1 j% m$ S  O5 X2 f! q9 R7 o

  186. : X4 z- }: ], b+ _, V! B. e
  187. ; Enable the PHP scripting language engine under Apache.
    2 S( i9 l, Q; a, x  |- F6 o5 X
  188. ; http://php.net/engine
    ; E* g! g: Y; v( _  U
  189. engine = On& S& A) U# y+ k! q

  190. + S! V7 m) k3 V2 p" O8 B. A" x
  191. ; This directive determines whether or not PHP will recognize code between
    , _$ j% Z0 E9 R* p1 K- _: T3 q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% I: X2 Z3 P* A
  193. ; generally recommended that <?php and ?> should be used and that this feature6 h# N4 K+ `7 o: g: K. f
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) V- v/ W% F& _$ T' B. \
  195. ; documents, however this remains supported for backward compatibility reasons.- n! ~" y: T& i7 a; P
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 M7 }$ N3 }! a: _# Y: N' _( Y9 N( Q
  197. ; used regardless of this directive.$ S4 q- T+ e1 C, h5 p  {  X
  198. ; Default Value: On
    : F4 X+ L7 c+ ^, ^
  199. ; Development Value: Off
    1 v/ N1 s' g5 O: }8 H! ^
  200. ; Production Value: Off  z! w. h0 Z( A& _+ d/ _
  201. ; http://php.net/short-open-tag; @+ d# _, m+ M$ b; a5 V) k
  202. short_open_tag = On& j+ q1 F- b- h: s
  203. 6 A( t* M, G+ {4 t) P
  204. ; The number of significant digits displayed in floating point numbers.8 _% Y4 f7 S  ^& ?
  205. ; http://php.net/precision
    " R6 q0 X0 Q: A  T0 z  N5 \% y; }% D+ M
  206. precision = 14/ w( M- N7 ?. h) t/ d

  207. * C% K/ l7 v2 l. C: x" O
  208. ; Output buffering is a mechanism for controlling how much output data( b# O+ p' Q8 f4 a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 B( M- H+ L, J" L+ K9 \" y; D
  210. ; data to the client. If your application's output exceeds this setting, PHP$ t/ h6 j6 l1 ?/ d
  211. ; will send that data in chunks of roughly the size you specify.
    & w. `  M8 x/ c. c  e
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    4 N( _- `5 K$ _
  213. ; interesting side-effects depending on your application and web server.2 N/ p& [6 _! W$ t0 L/ \8 d( i: V9 j
  214. ; You may be able to send headers and cookies after you've already sent output& N2 q+ @. `: v; w& W. {+ B- q
  215. ; through print or echo. You also may see performance benefits if your server is5 b6 B2 `5 w! U
  216. ; emitting less packets due to buffered output versus PHP streaming the output. Y9 g; l5 q1 Z) V$ \( c1 C6 U
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    1 e7 t' h. |$ W: _
  218. ; reasons.
    # v# [: J. ?  D1 V
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ! {5 r# S, w+ A  N1 Z( L/ ?
  220. ;   functions.
    + W# B1 Q5 q& t' Q# Y
  221. ; Possible Values:
    0 A& M# k: P0 H0 P+ c. ^
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( z6 ?6 H- c: e, d0 N! d
  223. ;   Off = Disabled
    4 ~: U! E9 M' I0 ?: y$ N3 U5 L0 u
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    , z, ~% L- ^1 [
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI$ L" }/ @% m! L  x" c0 h
  226. ; Default Value: Off  _+ D: i0 O. o( t$ P
  227. ; Development Value: 4096
    : r9 @, K) y7 {. @4 ]5 k" H5 G/ |! D
  228. ; Production Value: 40964 [; \: M# }- |7 H, D
  229. ; http://php.net/output-buffering% X7 w: Z& o. P2 t: Z# Q
  230. output_buffering = 4096
    / m- m0 |9 n1 d, l5 D, {. @8 L

  231. 6 X2 ~. Y1 h# }6 D- P, }
  232. ; You can redirect all of the output of your scripts to a function.  For3 j' @$ d8 M  P. u
  233. ; example, if you set output_handler to "mb_output_handler", character
    - o1 Z4 c$ H2 [: u$ S0 J( h
  234. ; encoding will be transparently converted to the specified encoding.
    # p3 P/ N8 |, J- P
  235. ; Setting any output handler automatically turns on output buffering.
    6 z. G* R0 [  @( ?
  236. ; Note: People who wrote portable scripts should not depend on this ini
    & S  B5 i' X+ w6 g& q' q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    / q& ?! Y$ `: F# s/ `. T2 {
  238. ;   Using this ini directive may cause problems unless you know what script
    # [8 G9 i$ o8 \
  239. ;   is doing.3 G% b+ y% G1 Y6 ]
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 ^$ [3 \& w; d
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 \  W* m( M* L5 G
  242. ; Note: output_handler must be empty if this is set 'On' !!!!/ m8 a0 R* f. t- q. l! p
  243. ;   Instead you must use zlib.output_handler.
    5 B, O9 O2 h$ g* C
  244. ; http://php.net/output-handler
    . `# o- T/ T3 y. i5 d  i6 e4 b- w
  245. ;output_handler =/ _6 Y; M' C, B% h' U

  246. 5 c- |% }: I3 E
  247. ; Transparent output compression using the zlib library  F* Y0 ?! [9 J& z! x2 {
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    8 Q7 Q, m7 W. L" B) C5 c- Z5 J
  249. ; to be used for compression (default is 4KB)6 i# V: K8 v. L
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP) Q$ T' `. ?' X
  251. ;   outputs chunks that are few hundreds bytes each as a result of3 ]7 Q! _! Y! p8 U5 Z+ h1 l7 A6 t
  252. ;   compression. If you prefer a larger chunk size for better! j. r+ M- o9 A  w  r! }* S- n+ s
  253. ;   performance, enable output_buffering in addition.
    ( }: i; K  \( ^2 Q% d/ \
  254. ; Note: You need to use zlib.output_handler instead of the standard& {. `# t. ]* w3 K6 y7 U0 m5 k
  255. ;   output_handler, or otherwise the output will be corrupted.' }! R& J/ u  A" d
  256. ; http://php.net/zlib.output-compression4 v/ O% q( Q; m! ^/ Z3 U- K
  257. zlib.output_compression = Off% F% `- \! b; \) u3 m7 y

  258. % [7 z+ @3 l4 @# M3 T* m2 i
  259. ; http://php.net/zlib.output-compression-level; v1 Q/ [: S! `1 W
  260. ;zlib.output_compression_level = -12 T5 t, w! F. \% M$ z; p9 h0 Q

  261. 4 C" q5 H9 N5 L& C
  262. ; You cannot specify additional output handlers if zlib.output_compression
    + r% G* x% W2 |5 \7 f
  263. ; is activated here. This setting does the same as output_handler but in0 p; {+ k/ I4 P# A/ v8 _
  264. ; a different order.
    ( U6 c# v: _/ j/ I6 i: V2 `
  265. ; http://php.net/zlib.output-handler
    + j- i! t) O# S5 R& _. ^2 y9 B
  266. ;zlib.output_handler =! [) u- z* N( q. }+ l
  267. % e8 K1 ]# |. G( x$ O- c
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 e/ |( E3 T' W3 M" l- Z+ p
  269. ; automatically after every output block.  This is equivalent to calling the
    ; l8 N2 z9 X; ?! i5 y5 P6 R
  270. ; PHP function flush() after each and every call to print() or echo() and each1 A. P, T8 ^8 h) x/ W0 {. d
  271. ; and every HTML block.  Turning this option on has serious performance
    - {1 {8 ^; P) ~8 M
  272. ; implications and is generally recommended for debugging purposes only.3 s0 @1 ?: q; A: o
  273. ; http://php.net/implicit-flush
    7 p8 Z" j' p# e0 ?3 m8 o; ^9 |
  274. ; Note: This directive is hardcoded to On for the CLI SAPI4 b) l( A2 i. N% e  e! L- a6 Q
  275. implicit_flush = Off$ K4 m1 u. D2 ^. P

  276. 5 i* d: }2 b  F9 Z4 ^4 w) e
  277. ; The unserialize callback function will be called (with the undefined class'
    , C4 T( c: i7 F1 C5 E1 m
  278. ; name as parameter), if the unserializer finds an undefined class  [. d7 V% l; g# P% T! R
  279. ; which should be instantiated. A warning appears if the specified function is
    " f' q+ _  G8 L3 @: h0 K+ b
  280. ; not defined, or if the function doesn't include/implement the missing class.
    7 k% q7 ^6 ]* q4 N# A' P
  281. ; So only set this entry, if you really want to implement such a
    1 I6 C( o# u% p+ R, w1 H
  282. ; callback-function.
    ) n/ W: p; J- D" {% Q
  283. unserialize_callback_func =
    2 N: U  J# p* H8 N, P

  284. : p2 {1 N- X" `1 r/ A
  285. ; When floats & doubles are serialized store serialize_precision significant6 ~* }3 U7 g# {" V- y" a1 i
  286. ; digits after the floating point. The default value ensures that when floats
    * R0 K# A  t  Q& N2 g
  287. ; are decoded with unserialize, the data will remain the same.
    ) J  Y* e( D/ a% H
  288. serialize_precision = 17
    + w% [3 n' U- H6 w  f: R
  289. 3 h. t9 e0 c7 G/ _% O; ?5 I
  290. ; open_basedir, if set, limits all file operations to the defined directory, G8 T0 J) `  j" \2 t2 B
  291. ; and below.  This directive makes most sense if used in a per-directory* r. v- k4 U% X& f
  292. ; or per-virtualhost web server configuration file.
      _3 _# Z2 B% d  c# a
  293. ; http://php.net/open-basedir
    - O4 b& }9 K; n( Y# _2 g
  294. ;open_basedir =4 y* x' H8 o* c0 H8 Z

  295. : G3 d1 y" P2 Z* c0 p& E5 y7 J0 I" y! O
  296. ; This directive allows you to disable certain functions for security reasons.5 r+ W; L0 d  w; n
  297. ; It receives a comma-delimited list of function names./ h: p6 m9 ^, X8 \+ @' `3 j
  298. ; http://php.net/disable-functions8 Q; |" h  \$ I( K4 g$ [. J
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 p0 X% f, B5 S$ M* b! z; Y- O8 ?

  300. ; [2 Z, D0 F7 @! `+ @/ i$ T' T
  301. ; This directive allows you to disable certain classes for security reasons.2 C$ m1 h, u0 o7 o. l2 ^
  302. ; It receives a comma-delimited list of class names.
    5 O" {4 N- t' Z# E1 d9 E
  303. ; http://php.net/disable-classes( h! `+ ?: X6 F, D! F0 f, U0 ^
  304. disable_classes =: O% V0 l* p  d) F2 M. t

  305. , H; R7 [; `# }. G2 C! |
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! j7 a( m6 k$ z' X" b, K- x
  307. ; <span style="color: ???????"> would work.6 Z: f5 ?7 u2 D$ k$ @# R7 X
  308. ; http://php.net/syntax-highlighting
    ) x( q* Z/ Z7 a; v
  309. ;highlight.string  = #DD0000
    0 b& @$ A* G2 v, [
  310. ;highlight.comment = #FF9900
    5 X3 `! o% O# j, q' h
  311. ;highlight.keyword = #0077002 W, J+ N8 ?% F" S; H3 |
  312. ;highlight.default = #0000BB0 _& Q4 g  L0 F' s
  313. ;highlight.html    = #000000
    . \* ~  g7 Q% X* }: m8 y

  314. ' _8 L0 o! ^: {& {" t0 b
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    * q- @) m* H  [6 A: T3 y3 p
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ( ]7 H' Z6 g4 Z
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 Z2 K+ u0 i+ q. f& _( R, M
  318. ; is to disable this feature.+ h& K( r$ U  e/ ?) h
  319. ; http://php.net/ignore-user-abort3 x0 W% p5 k  F0 s7 |
  320. ;ignore_user_abort = On; ^7 c5 W: c4 K- @& C1 @: p
  321. ) F6 @4 F* G) a" H) r
  322. ; Determines the size of the realpath cache to be used by PHP. This value should! [" ^4 O7 c7 S1 x; b  e
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 @; |+ f0 H! ?. L
  324. ; the file operations performed.
    & v! i$ Q! x3 U. t
  325. ; http://php.net/realpath-cache-size
    5 X& g! {1 e3 ^) {
  326. ;realpath_cache_size = 4096k$ R' Z1 W  F% I0 `. f4 C) T6 _5 ]
  327. - k; o3 m0 W# c, z: ?% P3 W
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    3 Z. a0 f, a3 o+ @  o
  329. ; file or directory. For systems with rarely changing files, consider increasing this) M% ^: N) f( U0 Q9 i
  330. ; value.0 B) A1 P8 a# }# ?* z
  331. ; http://php.net/realpath-cache-ttl% t/ Q4 a1 w; P% F9 K' e( p
  332. ;realpath_cache_ttl = 120
    5 g2 i* Z5 t/ e9 [* R2 q" z

  333. ) ?1 s3 f4 G) ~; o/ W& k
  334. ; Enables or disables the circular reference collector.
    0 @- E; A; g7 ^* j% j
  335. ; http://php.net/zend.enable-gc
    1 q1 E( [7 d8 j: p
  336. zend.enable_gc = On6 `! R2 n5 [6 u! J# v
  337. ! h/ F- C. H" w/ Z* X
  338. ; If enabled, scripts may be written in encodings that are incompatible with
      x6 I# y  c- l" [
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : S+ a# i7 ?# t9 P5 c% V4 z
  340. ; encodings.  To use this feature, mbstring extension must be enabled.$ D, F2 u! b6 F3 E/ w
  341. ; Default: Off5 }9 T: Y( ]2 n7 K1 g
  342. ;zend.multibyte = Off
    0 X/ ^# m/ J* n7 y: n/ H
  343. $ K# ^4 z; ^0 _; N5 K# M7 s. z
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    3 j  j  {3 l  p3 F! F5 j: f
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    4 y8 W# k, e0 S
  346. ; Only affects if zend.multibyte is set.
    - N8 _" Q5 M) y. l) R3 {. H* `
  347. ; Default: ""* j% q5 @* e% I! ~) M8 Y
  348. ;zend.script_encoding =
    9 y' n. P8 h% k* q' l* f

  349. 3 y$ w- x+ V6 P& r: h) d, u
  350. ;;;;;;;;;;;;;;;;;: |% _' k, P  h% Z
  351. ; Miscellaneous ;
    $ U% z1 s( b) B  \
  352. ;;;;;;;;;;;;;;;;;
    " t# i- Z: c2 ?2 ^9 C4 p

  353. 6 e/ H* k( g; J. M( \3 u
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ) }% p" V6 I2 s8 Q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    1 n, s+ R  @( a! E
  356. ; threat in any way, but it makes it possible to determine whether you use PHP* R5 z2 V% M0 Y5 X6 R- \- r3 _
  357. ; on your server or not.9 b3 J( A" J9 ^9 x( ?0 j
  358. ; http://php.net/expose-php
    % \* F; o" t, k1 ?3 i: W
  359. expose_php = On
    $ m/ I" m2 q( D) I4 L0 ~

  360. 2 p; g6 z3 Y8 q% ]/ y/ M/ d  p9 K
  361. ;;;;;;;;;;;;;;;;;;;, b  D- U% T# G8 r5 }3 `! M
  362. ; Resource Limits ;
    - a$ W7 d1 ?/ ]& K' W
  363. ;;;;;;;;;;;;;;;;;;;8 X6 J: b+ p2 O' Y; A

  364. 2 q2 X5 t# h: y# y
  365. ; Maximum execution time of each script, in seconds
    * h" J, [) ^: [' M
  366. ; http://php.net/max-execution-time# C" o; C2 Z7 ^. B! m8 D% ]9 @0 F
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI( v8 ^; w6 \- v5 [2 ]
  368. max_execution_time = 300
    4 k7 G( W* W* s3 _7 ?
  369. ! [9 K# v9 E, H! v' T6 f
  370. ; Maximum amount of time each script may spend parsing request data. It's a good5 v6 m, |* m/ m: ?# R: Y+ A
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / Z# Z! h4 w1 J3 e3 c" |6 N7 V" F
  372. ; long running scripts.2 r( ^: \6 N. t8 L
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI$ w: R) ^0 B7 z  ?  k" e
  374. ; Default Value: -1 (Unlimited)
    " Z, x% }2 {6 E. f, I1 D) W
  375. ; Development Value: 60 (60 seconds)
    3 W* x+ g) f6 o3 X, R. f
  376. ; Production Value: 60 (60 seconds)
    : E- n% |' N/ h2 P
  377. ; http://php.net/max-input-time
    9 l9 i) H2 b" o; O- @
  378. max_input_time = 60
    5 p& N; [' ?+ h1 h8 G

  379. - a) F% M# f" O4 `
  380. ; Maximum input variable nesting level. S9 m. @9 s& `0 |" F
  381. ; http://php.net/max-input-nesting-level# s9 w% V+ i! o8 Y
  382. ;max_input_nesting_level = 649 d- T# y2 P( L2 e7 R! U* L

  383. 5 s9 }8 l# a# ^
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ; q4 q6 j, R- w* y! _) H
  385. ; max_input_vars = 10002 w$ N0 E5 ]# I, S. u+ I2 V' u' J7 ~
  386. 6 U( `: X/ L0 H7 U9 Y
  387. ; Maximum amount of memory a script may consume (128MB)
    7 n# i0 ]' |$ g0 {6 @6 @8 H3 ]
  388. ; http://php.net/memory-limit
    / ^0 ^. N2 z7 ?" y' b( I
  389. memory_limit = 128M8 x5 r4 b' k# G# A0 I; }
  390.   W" A9 H" A0 N6 C& l5 M
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 n* j% B( }4 N4 m9 V0 N
  392. ; Error handling and logging ;8 H% a' H+ ?: n6 D9 e) o
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" y8 V8 G- n: x3 v* v
  394. 6 \2 k* u% z" r* Y5 v6 ]
  395. ; This directive informs PHP of which errors, warnings and notices you would like' L; i; z4 `' ^4 T$ v( a" r% V% s
  396. ; it to take action for. The recommended way of setting values for this8 Q, p$ u" K7 ~; a
  397. ; directive is through the use of the error level constants and bitwise8 G# E8 `+ c/ t+ _  t, L6 k' @! l: T8 P
  398. ; operators. The error level constants are below here for convenience as well as
    : B% {' U7 q& Y5 G. w% K) C
  399. ; some common settings and their meanings.
    5 P4 }* @0 l% `" }1 T  t
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT6 d* V8 T# |3 \0 A3 k- L" p/ S# e
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    & ~$ n! x9 T2 a8 M
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    & Y8 c( a3 ~# _0 R) d
  403. ; recommend error reporting setting. Your production server shouldn't be wasting0 q2 x1 e5 D6 K
  404. ; resources complaining about best practices and coding standards. That's what
    . a  M3 _; ?: s* V" ?& {% ?6 S
  405. ; development servers and development settings are for.
    $ F/ y1 }1 n; S
  406. ; Note: The php.ini-development file has this setting as E_ALL. This$ E+ g/ d" D$ J! R
  407. ; means it pretty much reports everything which is exactly what you want during3 E' `" P8 m  A) `! Y! X
  408. ; development and early testing.
    6 t! @0 U( f2 m" |3 X$ |
  409. ;
    , X8 w8 [0 O4 U4 D% L5 ?
  410. ; Error Level Constants:8 C; o% K+ J$ u4 t+ H
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + w0 }' V* V; K2 e/ P) e4 B4 Z
  412. ; E_ERROR           - fatal run-time errors
    9 t0 N) r! m! b4 D/ n& K
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% K6 ?6 o+ o, c+ V. O1 `4 K1 J
  414. ; E_WARNING         - run-time warnings (non-fatal errors)- `2 a$ D( g0 u1 f! o
  415. ; E_PARSE           - compile-time parse errors+ z& h% E9 k% d' {; O( ^
  416. ; E_NOTICE          - run-time notices (these are warnings which often result: L$ H% u* f& U7 R# K" y" ?
  417. ;                     from a bug in your code, but it's possible that it was6 N0 x$ a- Q* H$ Z5 \1 c
  418. ;                     intentional (e.g., using an uninitialized variable and: X; P) @7 X' |( l  @& a4 o2 ^
  419. ;                     relying on the fact it is automatically initialized to an6 y) _/ ?4 U7 T+ R) g9 N
  420. ;                     empty string)& `% M+ j- `1 p( U- ]
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 P; _+ @& w% J) `+ m
  422. ;                     to your code which will ensure the best interoperability. x% }0 W/ w( t( @% d! q, l
  423. ;                     and forward compatibility of your code1 ?! @& ]# q  D2 O
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / ?# A5 f! M+ D& V" @
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    / M, i  \( C. p2 M. X0 Y
  426. ;                     initial startup
    3 v  D1 U5 E: G# A7 [
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ! J" \9 l$ V7 E, w4 x
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * J9 C7 N' S, X' O6 x! N
  429. ; E_USER_ERROR      - user-generated error message' g; \4 Z. J( A4 t0 ~
  430. ; E_USER_WARNING    - user-generated warning message
      n7 H! \% r6 I$ [
  431. ; E_USER_NOTICE     - user-generated notice message
    9 [- i" F8 I9 O. w& a9 u
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ( q, q2 @% ]9 `) ]$ k' i
  433. ;                     of PHP
    # b) V4 F9 L% q/ l" `9 Q1 S6 U+ q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings" q' A! R, l4 a8 N$ q- _3 D/ n) V
  435. ;
    & R6 o+ p+ M/ r0 d
  436. ; Common Values:( z& g7 a4 u5 Q- h5 ~! H. b3 {+ y
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 _$ ^6 I' D+ B3 D, A
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 ?% X. P7 v, ~
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
      C! t) k$ L1 w2 l2 w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 ^7 c% R# ^/ q' n" I5 ?9 y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" R  {# {2 P7 w, n7 m6 s; k' ?
  442. ; Development Value: E_ALL: u& n/ F+ Q4 d  z/ E& @
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( o$ T7 g+ W2 l9 h* J
  444. ; http://php.net/error-reporting" \, s/ x  |7 W0 D. i4 b) Z9 A  I
  445. error_reporting = E_ALL & ~E_NOTICE
    7 i& D1 B) M. f5 B& i; Z  {

  446. 6 i/ L4 X+ \) C: H' V
  447. ; This directive controls whether or not and where PHP will output errors,* e; q- O8 u4 h+ I( i7 X$ R
  448. ; notices and warnings too. Error output is very useful during development, but' x# I  c4 n+ }. T/ d' M: t2 X
  449. ; it could be very dangerous in production environments. Depending on the code" Z6 q( v* O9 N4 o; z8 [! P
  450. ; which is triggering the error, sensitive information could potentially leak6 O+ T& b* `4 n/ b+ ^% D( S
  451. ; out of your application such as database usernames and passwords or worse./ W: F3 a! }! e( R/ N
  452. ; For production environments, we recommend logging errors rather than
    - n' A+ \# Q5 _$ u+ b; |
  453. ; sending them to STDOUT.
    0 w0 g( [- @2 H5 q: o  R7 i) w% a
  454. ; Possible Values:9 R! V# S& ~9 ]' h. v
  455. ;   Off = Do not display any errors, q0 U1 K: L1 @) k+ |) M6 n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 k1 E2 D% G4 `
  457. ;   On or stdout = Display errors to STDOUT
    % W3 C7 o! ^- |3 y4 S7 Q( E) o
  458. ; Default Value: On
    & x" g' |) c' Q% d% ]
  459. ; Development Value: On: }$ ?  ~- U  s
  460. ; Production Value: Off8 v' ?$ C( a  {7 p
  461. ; http://php.net/display-errors/ w6 R2 @0 _; i5 t1 ^& b$ X& k
  462. display_errors = On
    " `# G! }3 f  h* D7 E

  463. 4 m7 x7 q  n1 _2 z& s# s) v- _8 L
  464. ; The display of errors which occur during PHP's startup sequence are handled1 G; a' }6 J- s0 r- [3 g' q8 {6 ^
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    4 J! g% y7 K' i9 ]4 e1 X- `8 B4 H
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    5 ]5 P/ E2 ^9 T5 z
  467. ; debugging configuration problems. We strongly recommend you0 C# Y- m1 ]9 C
  468. ; set this to 'off' for production servers.5 S: W" e- W4 A; m
  469. ; Default Value: Off- ]2 u1 e; V3 e& U( r9 U
  470. ; Development Value: On
    . H% N# ~' I) T, t5 ^& O
  471. ; Production Value: Off! d& J0 @! O& X: `7 E3 ?
  472. ; http://php.net/display-startup-errors9 h9 D8 q3 ~. ?; m2 ~/ \
  473. display_startup_errors = Off
    - f- `( t% |- m6 _: I+ G) I
  474. 6 `( {8 G8 L$ U+ l2 {
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! j  m5 y0 J. S: S& F  u
  476. ; server-specific log, STDERR, or a location specified by the error_log
    " x) x& r( n8 V% W
  477. ; directive found below. While errors should not be displayed on productions
    8 @% f( S6 _. x" e2 ^
  478. ; servers they should still be monitored and logging is a great way to do that.4 @1 F! ~3 s, z' Y- _0 ?
  479. ; Default Value: Off
    , D+ C0 ]0 B5 T+ S$ M
  480. ; Development Value: On
    9 @, Z: V( M4 F0 i1 S- }7 {- t) O
  481. ; Production Value: On$ a0 U% @% X1 S5 t. e/ S  {1 V, j
  482. ; http://php.net/log-errors
    8 o$ L/ S! J9 d" T$ |' d
  483. log_errors = On
    7 ^5 i9 e! z5 ]5 s% X2 E9 q- `* c

  484. 2 X' Q  E% m* h9 E) `) ]6 @
  485. ; Set maximum length of log_errors. In error_log information about the source is* }  n( E" H) z4 T5 G* l3 `* {1 c  B3 \
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 ?- q* L: L. w, h8 M1 }$ F; z
  487. ; http://php.net/log-errors-max-len- p! P, M9 v1 G9 m1 D  d7 f
  488. log_errors_max_len = 1024% M% t+ K6 ?3 @) ~7 C1 J
  489. # [6 {- q$ {7 Q/ f5 g! \
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) y( g- ^4 I; c( @, W) c7 ~. }5 ^
  491. ; line unless ignore_repeated_source is set true." i& L9 x/ t4 q1 `
  492. ; http://php.net/ignore-repeated-errors
    " K" m( _! C1 d2 _6 s8 j
  493. ignore_repeated_errors = Off/ q  n5 g. o% Y# w1 r

  494. 9 X" {) U: `4 |1 X2 L# y7 q
  495. ; Ignore source of message when ignoring repeated messages. When this setting1 [( Y1 |9 N1 i0 J: W' G! W* T
  496. ; is On you will not log errors with repeated messages from different files or+ I. ~8 h9 P2 U& z7 F% g
  497. ; source lines.& [2 B- t- c1 D  R
  498. ; http://php.net/ignore-repeated-source' A0 p8 Z" T% i4 N4 W
  499. ignore_repeated_source = Off
    & e0 ?0 B0 e* K. r9 x

  500. . Y- i  ~, t' Q8 p. R6 w& A  T1 o
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on7 D$ d3 o# ^9 [# d4 Y5 X' z, W8 d( G
  502. ; stdout or in the log). This has only effect in a debug compile, and if* f% c: x; Z1 Y+ W" g; X
  503. ; error reporting includes E_WARNING in the allowed list
    5 B) X0 Y! ~3 c% u) x* o! q
  504. ; http://php.net/report-memleaks
    * Z* l1 I2 j& T0 p- Q4 ]" m9 w
  505. report_memleaks = On7 J( [8 ^( T' T- O

  506. ( y8 |0 u5 [' t- Q: `
  507. ; This setting is on by default.6 b8 y3 j% p' K6 p+ n' a& H
  508. ;report_zend_debug = 03 _; t, C$ Q( f& s2 M" O

  509. ! @9 J, B6 R, D8 }) R  c+ r9 [
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    # c+ J/ B4 F2 n) k; l2 v
  511. ; to On can assist in debugging and is appropriate for development servers. It should6 y: L2 ]( I; H7 Q  K3 d( A2 N
  512. ; however be disabled on production servers.2 k, I+ O2 d9 P5 r: I4 n
  513. ; Default Value: Off
    ) {& a" G2 ]6 o- F7 `4 b" J
  514. ; Development Value: On
    # s2 P2 R# X8 j5 T
  515. ; Production Value: Off: ]5 ~2 Q! v2 p) P4 q" o
  516. ; http://php.net/track-errors& ^8 Y1 t/ U% j9 `2 |
  517. track_errors = Off
    ' C- U6 s  q1 }" Q. g/ U/ j
  518. ( y. R4 G! M( o2 [6 H
  519. ; Turn off normal error reporting and emit XML-RPC error XML; x6 j' M+ i% _* Y: h/ z# N' T
  520. ; http://php.net/xmlrpc-errors% p+ l1 _: X; r9 g0 U; Y
  521. ;xmlrpc_errors = 0+ h* W; p  ^6 |, b' n* V
  522. , r4 |: Q  L4 F2 x0 V9 I1 K
  523. ; An XML-RPC faultCode
    0 K0 T$ v7 O( M1 r# z  N
  524. ;xmlrpc_error_number = 0
    6 B7 S& g+ l" Z
  525. ) J; Q, u5 J8 Q, m1 ]
  526. ; When PHP displays or logs an error, it has the capability of formatting the% r3 s$ S; f( P( {' a! M7 t
  527. ; error message as HTML for easier reading. This directive controls whether
    7 d: k; E) [+ ~8 X6 L1 y1 o  H9 q  }
  528. ; the error message is formatted as HTML or not.8 Z4 Z# r, v( H
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + a6 l' _( R; c
  530. ; Default Value: On
    & T: s! A. L; t+ B
  531. ; Development Value: On( u1 [9 y3 D0 ~, S* U; y& U' a
  532. ; Production value: On
    % @6 i* V) {5 k! `
  533. ; http://php.net/html-errors2 a6 F. T  T) s9 X, S, }, B$ {
  534. html_errors = On; W6 m/ C& c3 B0 J- ]( c+ h

  535. - R# _/ b2 \6 ^; `% D: j6 a
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ M6 t; Q" o( Z
  537. ; produces clickable error messages that direct to a page describing the error
    7 s1 T5 \# P6 s( S. J
  538. ; or function causing the error in detail.- ?' m( A" r* h' i3 R. x
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 G& {" r2 _' Y5 _( S! O/ `( j  n
  540. ; and change docref_root to the base URL of your local copy including the
    1 B2 k9 J$ E& d8 ^0 D/ d
  541. ; leading '/'. You must also specify the file extension being used including: o9 T9 b: |% L* p. i. @1 B
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which) h  y, {9 F% T- h* }6 p
  543. ; case no links to documentation are generated.3 p9 ~  ]0 |& h" w4 K3 n' Y
  544. ; Note: Never use this feature for production boxes.5 r2 K; L% {4 H: B; }+ w8 H3 s
  545. ; http://php.net/docref-root! V* j6 K* r# B1 \/ a4 P( [
  546. ; Examples
    5 Q% K3 ?' o9 K5 e; V% ~, {
  547. ;docref_root = "/phpmanual/"
    4 U1 ^! ]/ R* A' p
  548. - [7 N$ d' d/ E' e& G! G/ g
  549. ; http://php.net/docref-ext
    0 N' q+ n! B4 B: G# \! ~3 i/ D* w2 H
  550. ;docref_ext = .html
    ' |3 U" q5 s: v- \! s5 b3 ^
  551. 4 d  A5 u" u/ Z' ?0 k3 x/ H
  552. ; String to output before an error message. PHP's default behavior is to leave  r$ x8 h( ^6 h+ h9 Q4 R& w( I
  553. ; this setting blank.
    2 R  q0 h% w) p- b0 P% q
  554. ; http://php.net/error-prepend-string
    ) k+ }/ I! O' b9 n1 A' [( E, c: d6 S& c
  555. ; Example:
    - Y5 [- q4 o# |- A4 K9 T
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    * I: o& }; X! y7 c; S+ g6 i9 L$ e0 s
  557. ! n# e2 P! b9 Z: \! F
  558. ; String to output after an error message. PHP's default behavior is to leave3 k% B* u! \9 q0 h1 P; O- S
  559. ; this setting blank.( _2 p9 g2 H, p! q
  560. ; http://php.net/error-append-string
    / {1 O& \3 |" j1 g
  561. ; Example:
    8 G* G; i7 }7 v- L" D3 ^. w- Q
  562. ;error_append_string = "</span>"" i: ?6 j/ B( f& Y. f

  563. 5 a7 [* d' W6 u% n% A) M" v! w3 b
  564. ; Log errors to specified file. PHP's default behavior is to leave this value  f/ Q. W' r4 `! t8 R3 D
  565. ; empty.
    ' r; u6 x' I: \+ u9 S' Z) h9 W
  566. ; http://php.net/error-log
    5 E# X! t' J3 s# J: A; `8 P- [
  567. ; Example:
    8 P+ y( \5 O. I4 Z) l. T
  568. ;error_log = php_errors.log; C5 k& q- }" ]- n6 K' o  C; s( f* o
  569. ; Log errors to syslog (Event Log on Windows).
    ! b* @! R5 g7 L3 f' y* E
  570. ;error_log = syslog# Y4 p) X: m5 H  }% Q

  571. - f/ k; u: i: Z7 @
  572. ;windows.show_crt_warning, C. @+ v. I8 {
  573. ; Default value: 0! U: C; w4 m! P' H
  574. ; Development value: 0. C. z7 t9 t4 _3 h3 N$ K$ Y
  575. ; Production value: 0( q, A9 s  K; ~4 @, S( e" e+ V

  576. - o' w) l& Y4 I6 L8 }, g2 a
  577. ;;;;;;;;;;;;;;;;;
    ' J! s, d+ H# r; k
  578. ; Data Handling ;
    / V- {- R& y5 y( [0 |' }; [
  579. ;;;;;;;;;;;;;;;;;; h. I1 |! f+ F  C, Z4 G: D/ q

  580. 7 ?/ m( Q$ N: D1 ]: P1 L
  581. ; The separator used in PHP generated URLs to separate arguments.  F/ q. [$ n! F5 v: K, S
  582. ; PHP's default setting is "&".
    , L8 u6 J6 w: [0 k8 i/ B
  583. ; http://php.net/arg-separator.output
    : x' F/ {- r0 u/ C
  584. ; Example:8 b' q4 P, E+ N! m6 j
  585. ;arg_separator.output = "&"
    0 r5 D. u- B/ Z6 t

  586. + O4 C7 U. w2 a" S( Y( q) f6 Z% s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    / K9 [/ N! R0 k. s
  588. ; PHP's default setting is "&"./ Q! ^3 {4 P/ `7 l9 O
  589. ; NOTE: Every character in this directive is considered as separator!
    0 k6 i$ y. D$ S8 `
  590. ; http://php.net/arg-separator.input) u8 R7 M1 e0 B+ r' p$ h
  591. ; Example:: Y# ]7 E! Y+ J4 r7 {
  592. ;arg_separator.input = ";&"
    3 z$ e- U' ^0 q7 O5 q7 Q- a

  593. . m7 O: h; l$ M/ @; H
  594. ; This directive determines which super global arrays are registered when PHP
    % u7 V7 {% x5 U7 I2 U+ r* h- W; |
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' B: L. E2 v7 O- K+ K3 ~
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty7 I) @0 H1 Y; }$ D
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    " E: N6 Y5 [3 I( c6 G
  598. ; used as the others, ENV is not recommended on productions servers. You
    & s; A8 _! C  ^2 h7 t  O9 n# r/ x
  599. ; can still get access to the environment variables through getenv() should you
    $ n- X8 M# m/ b
  600. ; need to.! x: J. i! C6 [$ d- L- G
  601. ; Default Value: "EGPCS"
    ; Q; A( @$ F* g9 O' p# `: v
  602. ; Development Value: "GPCS"4 @( y1 N; M8 Y" C. M- F( A. J9 ?
  603. ; Production Value: "GPCS";. `6 h, q9 s, ]" p: c# h7 S
  604. ; http://php.net/variables-order
    $ F- b# G& Q6 e
  605. variables_order = "GPCS"
    / S3 S; V. T( @5 z- b- P
  606. / }$ [- K1 O. n: O5 ]  G
  607. ; This directive determines which super global data (G,P & C) should be& V) Z8 G3 W9 \. K' r3 D. B
  608. ; registered into the super global array REQUEST. If so, it also determines
    ' n6 a% a$ s# S! t! H; \' U
  609. ; the order in which that data is registered. The values for this directive
    % m+ Y$ T5 d: z6 Y% }0 Z
  610. ; are specified in the same manner as the variables_order directive,
    / _5 u3 u" \+ P: r2 n
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set7 }7 N0 E3 K, S% o) b/ z
  612. ; in the variables_order directive. It does not mean it will leave the super
    2 j+ z% x% W5 U2 ~4 G
  613. ; globals array REQUEST empty.
    ' H% L# f6 M. q% C
  614. ; Default Value: None
    9 z7 h& O- }2 p; y" H( L" i, p
  615. ; Development Value: "GP"
    - k* |- C$ b) z$ k& ]
  616. ; Production Value: "GP", Z3 g7 W5 \- g# k
  617. ; http://php.net/request-order
    - C) v( p9 \2 q, a
  618. request_order = "GP"
    5 _' ~. c9 ~8 _  m# r& x1 M/ ~4 l
  619. ! C7 t5 L* ]1 T7 K* [4 w  w  Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    : D7 a  P: v$ ~! F) d7 h
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script* J. t# o4 `& n4 A+ t0 u6 Y/ X9 n
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ) B) W! @! V; l2 h& \( d
  623. ; that were passed when the script was invoked. These arrays are extremely# A! N, r, m7 P
  624. ; useful when running scripts from the command line. When this directive is
    4 Q" U. i& P) W! K; Z. `; g9 Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time1 |- k* f* N" E2 O6 P( a
  626. ; a script is executed. For performance reasons, this feature should be disabled! Z2 R6 h* V4 E- S
  627. ; on production servers.
    , y" |; ]) ^) n
  628. ; Note: This directive is hardcoded to On for the CLI SAPI' x- b! C" Y; o
  629. ; Default Value: On7 b7 k( {8 [: q
  630. ; Development Value: Off
    8 N, j% _3 ^+ x( W. a5 b
  631. ; Production Value: Off0 T9 k# q$ w$ w2 B# d: X0 S' v
  632. ; http://php.net/register-argc-argv
    / W; G' D! x- O  X9 {- d0 W
  633. register_argc_argv = Off
    1 d3 G0 r# a; W, }" y- A
  634. 1 m; ^8 V9 c$ t# A3 O( b) o
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 \. H, L; m& Y' f) C  T; X1 P. l
  636. ; first used (Just In Time) instead of when the script starts. If these
    . }9 F  c+ G6 ]- B# Z
  637. ; variables are not used within a script, having this directive on will result
    ) p, j* F  n6 J1 t3 U
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    + x, `) T3 T; {9 |
  639. ; for this directive to have any affect.
    ! V# a7 U' Y$ N7 t
  640. ; http://php.net/auto-globals-jit
    / K- L5 a- Y" Y( d9 {
  641. auto_globals_jit = On" V2 K, {. X0 x- d) J7 d' W7 @

  642. 2 H* N8 Z) I8 f* {" T" {
  643. ; Whether PHP will read the POST data.
    , I3 Z- Z) v" ]! X1 i% I* n
  644. ; This option is enabled by default.& d# Z. E2 k9 {3 p/ Y) o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST, z. u% t* x2 m- [$ A, b. u
  646. ; and $_FILES to always be empty; the only way you will be able to read the3 ]" V" s0 i8 G9 i5 D5 C5 _$ k
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! T0 r: P0 L" i/ a
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
      F% [% G; }4 q6 m! T
  649. ; http://php.net/enable-post-data-reading+ @; _* h6 x' U1 ^" d3 d
  650. ;enable_post_data_reading = Off* x' I2 ]* e9 `* @  W
  651. 4 ~- }0 Q' f* Y; H% |
  652. ; Maximum size of POST data that PHP will accept.. Q9 _7 l% h" b% A; X
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: W& n2 n1 g- b7 j) J8 }9 `
  654. ; is disabled through enable_post_data_reading.0 [# l6 w9 Z2 g* |
  655. ; http://php.net/post-max-size; u3 I8 |1 i! }! T: K
  656. post_max_size = 50M
    # t% X( V  i% V9 ]5 H. u# [
  657. 7 f- y2 q$ W. k* x4 d) Q" d3 p
  658. ; Automatically add files before PHP document.
    5 d, j  y3 y; ?& H$ P  m1 @
  659. ; http://php.net/auto-prepend-file  o! u7 K9 C' p# I3 e
  660. auto_prepend_file =
    ' h+ R& x6 S% S9 L4 w& m: [9 ^

  661. 9 G2 {1 q5 K8 Q: G; `
  662. ; Automatically add files after PHP document.& o  C3 w; j! h2 q5 L! f9 i- a. M
  663. ; http://php.net/auto-append-file  b/ o6 q3 @( z
  664. auto_append_file =
    3 b& P# R0 h; Q% \$ D5 v  i

  665. 3 K% j% w; s; S* ]7 E
  666. ; By default, PHP will output a media type using the Content-Type header. To0 ]0 X/ P% R/ i: B. n* i
  667. ; disable this, simply set it to be empty.
    7 ~8 c. N4 Q. |" @/ o
  668. ;
    % Z' j5 j( F7 q+ C' I( z7 e$ V* P8 G
  669. ; PHP's built-in default media type is set to text/html.
    # p  F( `( ]8 H! w+ ?' F
  670. ; http://php.net/default-mimetype, X$ ^! {  c8 x9 Y) q
  671. default_mimetype = "text/html"
    7 o6 ~1 J0 ^( a
  672. 4 F- E3 ?* ]% C2 {- R
  673. ; PHP's default character set is set to UTF-8.3 e$ ~6 R. i( V2 O  M9 k
  674. ; http://php.net/default-charset
    ; i9 l' M7 s& D
  675. default_charset = "UTF-8"
    : u9 p' `  |+ {2 y0 x& k4 Y: F

  676. " G) b5 Z+ ]  k0 G, V$ j  t6 y
  677. ; PHP internal character encoding is set to empty.
      b' T' L( R4 Q# f
  678. ; If empty, default_charset is used.3 K) q% d. u* p3 Y0 z
  679. ; http://php.net/internal-encoding
    6 ~+ Q0 x- ~2 Q& E
  680. ;internal_encoding =
    , a7 ~/ z- b+ x, E) [* {

  681. 9 c# Z# v4 A6 Y9 A
  682. ; PHP input character encoding is set to empty.
    & {( U" I/ |' u; y7 \7 \4 Y: S
  683. ; If empty, default_charset is used.
    . R. l+ S. d3 m
  684. ; http://php.net/input-encoding
    , O# i3 W- w  t2 d9 Z
  685. ;input_encoding =8 N) C) |) _4 D0 ^5 S* O; W
  686. # {$ E3 ?; Y+ T5 j/ o
  687. ; PHP output character encoding is set to empty.. L' J! O5 C1 g; p
  688. ; If empty, default_charset is used.) m' A8 J0 i& Q/ S( O5 p1 z+ F
  689. ; See also output_buffer.
    0 @' ^( [+ Q7 q7 S1 b
  690. ; http://php.net/output-encoding& F- S0 G3 r+ d* c
  691. ;output_encoding =
    & q: y' y7 R# \. [) B; R( `' c

  692. / e9 F) D" h8 Y2 ?, ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;8 w9 F0 g- o  X  b- d% V) [$ @
  694. ; Paths and Directories ;
    " u, J1 I, S0 a& I2 S
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;0 F% B- j# g  ^0 q4 r
  696.   q3 f' h& a: i8 q5 w- W; H  W
  697. ; UNIX: "/path1:/path2". i2 y* ?% j9 G& b" h- Q& P+ |
  698. ;include_path = ".:/php/includes"/ f4 o5 O; w. ?/ A( m+ M9 i
  699. ;
      S$ u6 M# }$ c% t# z
  700. ; Windows: "\path1;\path2"
    - n4 [6 P' f! O$ z; I
  701. ;include_path = ".;c:\php\includes"
    9 T' h+ x* _( Q' A. R: O$ q
  702. ;
    , S# }7 h# g' u" y. s
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( q+ H' v! ~0 p, h6 H" v8 ]
  704. ; http://php.net/include-path
    $ k* g3 }. _6 }: I$ ?
  705. 4 y2 b, m7 o: W$ }1 E6 U* o
  706. ; The root of the PHP pages, used only if nonempty.
    : O) X8 ^+ _$ G/ `7 }* @* D
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 [* |# |# ^2 i3 v4 w8 ^, K
  708. ; if you are running php as a CGI under any web server (other than IIS); @& o' W+ K% w0 P6 w7 S
  709. ; see documentation for security issues.  The alternate is to use the3 `+ B4 D7 G9 |) J6 p9 `
  710. ; cgi.force_redirect configuration below$ w. ?; U0 l) A& C" X/ y
  711. ; http://php.net/doc-root
    $ q" o: {; j2 S" [0 b
  712. doc_root =
      B+ J5 C+ O' s( f9 }: a4 H6 ^* D4 _- U
  713. + s+ \6 J; J+ Z! Q. K) n
  714. ; The directory under which PHP opens the script using /~username used only9 p. R; C/ @0 s8 M5 m+ W! p- R
  715. ; if nonempty.
    ; d$ Q# i1 |+ Q. N  n* g% _
  716. ; http://php.net/user-dir" a, W/ c, g& C9 [7 j8 w
  717. user_dir =  g0 U6 D  R/ h1 L/ _

  718. 6 q6 h, V5 D+ t! D/ m6 Z* _0 d
  719. ; Directory in which the loadable extensions (modules) reside.7 T* s  e# @8 K) x. G
  720. ; http://php.net/extension-dir
    . K0 m& U+ n) \
  721. ; extension_dir = "./"
    % |: U* Z  t( k. p& p+ Y
  722. ; On windows:/ c5 _; Y. j3 P) e5 Y
  723. ; extension_dir = "ext"
    $ g7 }" H' D5 f6 R7 t$ B7 P! H
  724. / f6 X" D3 _' C: a
  725. ; Directory where the temporary files should be placed.) z# k2 P/ D  N
  726. ; Defaults to the system default (see sys_get_temp_dir)
    * N3 ?  h$ e' s
  727. ; sys_temp_dir = "/tmp") K" X- S% w6 g8 S4 b
  728. : Q5 B: `% Z* Q5 `" ~8 @
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work# V! C* R+ M3 n2 X' n- S
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 F+ t+ ~: y+ o8 X4 E. k# ?; n; M" H
  731. ; disabled on them.$ A( H7 B1 }) v) |/ C, {
  732. ; http://php.net/enable-dl0 g2 A2 K: w7 v; {- F' r
  733. enable_dl = Off
    " ~( [7 C' T+ K# a7 L6 Z9 n9 D
  734. ) E2 K+ i& z) ]. d6 v5 K
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under  [, O! A4 ^! k# |7 D! j
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) L. F. L. e+ o9 a+ b8 r
  737. ; turn it off here AT YOUR OWN RISK) Y; r# p, {2 j8 Y
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( R( v4 ?% }9 N3 j2 A
  739. ; http://php.net/cgi.force-redirect! B& `( F' I( _1 Q' f
  740. ;cgi.force_redirect = 1
    * ^: x' c# Q. z' t4 F
  741. - w+ F# a+ p) n# R" B$ R) b
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with/ W9 T& R7 {; C& \
  743. ; every request. PHP's default behavior is to disable this feature.  S9 F  X. e) i- k: V7 X* w$ Y7 l
  744. ;cgi.nph = 1
    7 G0 @  ~- [7 F) M( Z
  745. 9 R# m4 q$ m, W/ i
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; J9 v! `/ k$ K
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP4 K" t; n; ]! a8 l
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY! f" K4 D. |( }7 q3 P
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ [) l9 P! n4 ^4 T5 b% ]. H
  750. ; http://php.net/cgi.redirect-status-env
    9 }' ~# h" @, T6 k9 k, q
  751. ;cgi.redirect_status_env =2 m( q3 a  t* Q0 j9 F" x% M$ p
  752. 7 [4 O9 n& K% k2 ?8 ^/ Q
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % g3 U. ^; a* B. {$ r# c  T
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 [& }4 x# S/ W- b3 T* K$ v) {7 R) I4 o
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    + l/ M0 ^2 W8 i& J5 I+ X  a
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ l. ?8 A& s* b( N% F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts. |, n/ y: }; s0 p2 \" X8 v
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ }) ]" Q5 L6 ^/ K" E7 V, b2 }0 [
  759. ; http://php.net/cgi.fix-pathinfo
    9 T$ Y( g( i! B  Q
  760. cgi.fix_pathinfo=1
    * _' N3 l! {7 _; i! k$ I
  761. + d  x) r  W, N: Z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 O* L% |, P9 l/ P& h6 _
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    & V: x4 w; l3 Y" E4 O( u
  764. ; http://php.net/cgi.dicard-path9 ~- A( `4 v( M0 a1 F/ F4 o
  765. ;cgi.discard_path=1. i2 V* l8 U. y: U# \$ `. n$ U

  766. 9 e% v5 @- e; y" a
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    1 W( o+ p9 O/ Q9 f0 x8 o
  768. ; security tokens of the calling client.  This allows IIS to define the
    + i$ V. E% B4 h& X: D
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ( s& P1 V! K8 I4 t% Y
  770. ; does not currently support this feature (03/17/2002)
    ; x( _' ]  m0 l. V+ i  J
  771. ; Set to 1 if running under IIS.  Default is zero.
    ' E2 a" n) Z; D$ O  ^+ p
  772. ; http://php.net/fastcgi.impersonate
    8 h8 s( e% s# _7 U/ }$ o+ b" y
  773. ;fastcgi.impersonate = 1
    6 _5 D3 V- j3 W* Y3 f: A. s# n+ L4 j3 R
  774. 1 X0 A/ u9 A+ F: p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- T5 M: E1 u. z" r
  776. ; this feature.- T9 _2 a' D$ D& @9 g1 W
  777. ;fastcgi.logging = 0
    3 p5 d, @, `0 H, j

  778. / G! r0 W  S2 S0 `5 ]% I; Z: l
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    4 g" L  ?, l5 J1 W+ h/ z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; j# i' p! M( j+ `* d) E
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' }: _" \3 z4 g, P+ ~9 a8 W# G
  782. ; RFC2616 compliant header." o& D8 Y. q9 `) B) V7 d) F
  783. ; Default is zero.
    1 _1 k" q% r8 V& s
  784. ; http://php.net/cgi.rfc2616-headers5 C2 [$ c. l. p) n* ~$ W+ t" D
  785. ;cgi.rfc2616_headers = 08 C( `/ N3 e# n! X9 r' g
  786.   c( m; P8 }( {, G6 J* X/ f( V
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
      i6 ^: w- k' b  v3 U. G4 I0 S9 z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    * X$ z0 V' o: y: G
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( Q/ f5 X$ Q- H9 E
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ' `1 z0 @4 p. M7 ~+ U5 \7 Y
  791. ; http://php.net/cgi.check-shebang-line5 I2 E4 G$ ~  j+ X
  792. ;cgi.check_shebang_line=1  }; c; B2 ]% E+ @5 m
  793. 9 P" U: k: Z0 I
  794. ;;;;;;;;;;;;;;;;
    0 t' B0 C, s/ U6 }& t+ E$ s
  795. ; File Uploads ;) G/ r4 [2 j3 t# @* z; H
  796. ;;;;;;;;;;;;;;;;
    ; S3 U- _0 M7 \9 S3 |

  797. ! W/ x+ z, S0 c5 t  M3 a. |
  798. ; Whether to allow HTTP file uploads.7 b# I/ e5 K2 m/ K
  799. ; http://php.net/file-uploads+ ~" K" D9 z! r9 C7 U4 `
  800. file_uploads = On9 }8 }; Z9 S  ?1 x% _
  801. / y( j/ e* m" o* v# ^4 C
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
      j' F1 E' Y1 W: z
  803. ; specified).
      V/ K, S: z  t6 M# b. L
  804. ; http://php.net/upload-tmp-dir* }. [3 n2 k: w0 l
  805. ;upload_tmp_dir =
    ) t2 k3 d* |6 s1 m8 _

  806. 3 v3 ?! s' k! e5 E; C; n3 T# ]
  807. ; Maximum allowed size for uploaded files.* T* h% D3 T' f0 R9 Q
  808. ; http://php.net/upload-max-filesize
      _0 c7 F8 a0 C. {/ O1 R: u
  809. upload_max_filesize = 50M8 _; n( Y! a8 o( e* v9 @0 f3 Z3 b$ o
  810. ( z4 f" C: t" b: y2 f) ^( t" L
  811. ; Maximum number of files that can be uploaded via a single request
    - q% @: t0 ~4 x+ U/ P
  812. max_file_uploads = 207 a2 |' X# B' z3 Y

  813. 6 r( z) L" m, g* N
  814. ;;;;;;;;;;;;;;;;;;
    * _; P9 f1 z5 V
  815. ; Fopen wrappers ;$ p" q6 t, e- M
  816. ;;;;;;;;;;;;;;;;;;
    : ^( B* U0 y/ U! N
  817. / d, Z7 B/ {0 P9 p+ K( k6 M
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    2 J% }) d1 K7 A4 f% C7 ]2 {# S! l
  819. ; http://php.net/allow-url-fopen
    7 s/ W& @8 c- c3 R$ z5 Z  P0 @7 o
  820. allow_url_fopen = On2 c/ Z9 ]( N! [

  821. 3 Z0 M# u7 v. X: t% K" _% p1 Z
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- ?& D* I7 w. Q$ o
  823. ; http://php.net/allow-url-include- V* Q  S* R( W% Z( [: z
  824. allow_url_include = Off; F5 d8 T1 T4 i

  825. 5 T( {! H( a) X4 ]9 G; r' N3 y
  826. ; Define the anonymous ftp password (your email address). PHP's default setting% a1 A$ |3 \  k5 B9 _1 e: c
  827. ; for this is empty.: n* e5 S2 k/ ]2 P+ f
  828. ; http://php.net/from+ E% H7 P) V) e, y) _0 n1 N
  829. ;from="john@doe.com"
    / {4 l) ^) C* K

  830. ( e. h# o) E+ f) w! j+ [$ \* H
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    3 U0 L! x& E  ?) d1 b1 l
  832. ; http://php.net/user-agent& J) i0 q, b5 u' S- l
  833. ;user_agent="PHP") b* P0 H. B( ~* G! A) Z& q

  834. + \7 j, z& z% p) o
  835. ; Default timeout for socket based streams (seconds)* C, _( D1 M  P' ?( v
  836. ; http://php.net/default-socket-timeout, t. j" l3 u3 ]' t5 @
  837. default_socket_timeout = 60$ c: k. ]( M6 n2 ?! j: s
  838. 4 Q! [# q9 d0 N$ n& l) Q
  839. ; If your scripts have to deal with files from Macintosh systems,
    + @, _4 j- t& V( b+ T- a
  840. ; or you are running on a Mac and need to deal with files from  Z  ]: f: A$ P" u8 _
  841. ; unix or win32 systems, setting this flag will cause PHP to# d+ {4 z/ B1 t: g4 K2 M
  842. ; automatically detect the EOL character in those files so that- S3 b0 |- ~7 e7 n: Z7 Q3 |
  843. ; fgets() and file() will work regardless of the source of the file.0 m% c) }1 n) J- Z! s" T" f# h. [
  844. ; http://php.net/auto-detect-line-endings$ ?' T. }8 E' u# |  K
  845. ;auto_detect_line_endings = Off
    5 N. M3 O5 U& P, ]& @5 E% |) T
  846. $ L7 [- C; f6 W/ E
  847. ;;;;;;;;;;;;;;;;;;;;;;
    , o3 P9 a# h0 V6 `/ O
  848. ; Dynamic Extensions ;
    # T1 M! O* b/ p) ?8 j+ J/ O  x& E- w
  849. ;;;;;;;;;;;;;;;;;;;;;;3 N' o" w; O! ~
  850. " j# @0 h' [) @& x( I
  851. ; If you wish to have an extension loaded automatically, use the following
    ( g& k2 C3 w, e/ u1 Y; ]; W( P
  852. ; syntax:
    0 @/ f4 c( _2 M  \
  853. ;# t% s- C: {/ f- T( N5 G8 q+ J4 F
  854. ;   extension=modulename.extension$ X) P! p0 l( c) x; c( H
  855. ;
    4 G; J; J9 K; p6 Q: g% d
  856. ; For example, on Windows:
    $ n5 w* ]8 T9 b  [% {
  857. ;
    $ t; q, D  c: q+ r
  858. ;   extension=msql.dll
    & \# J; u' J0 X2 O: e
  859. ;! Q3 t9 _5 [; M6 _0 A; B0 o
  860. ; ... or under UNIX:+ u" i" Q$ p- y* g" z& d  f
  861. ;
    : i. m4 I9 @# K0 [# d$ \
  862. ;   extension=msql.so
    4 J1 |- o! _1 J9 t
  863. ;' W$ e& k  z$ A) H$ z$ |
  864. ; ... or with a path:+ G+ q; u( h* p
  865. ;+ l& v. y* |: S; q+ Z- E
  866. ;   extension=/path/to/extension/msql.so0 ^# c- d% M  _! h
  867. ;
    & H  V8 `+ m2 P4 n7 d) G5 F" j
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / X1 @1 V& D# J* T* g
  869. ; default extension directory.( \; v+ d' Y: o* c
  870. ;, J% W' M" [# h" e
  871. ; Windows Extensions
    + w4 Q" F# t. P2 Y  S) L
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ) E! e2 `) h  |! H* M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 l! u/ E+ k( F, C
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).8 a$ W, C) R& l% ?: y: q9 [% o$ p$ r
  875. ; Be sure to appropriately set the extension_dir directive.: {1 B& p  E) E
  876. ;
    4 `! l; U  U6 D( ]& h8 x
  877. ;extension=php_bz2.dll
    ( e$ T' d7 I. |$ Q  V
  878. ;extension=php_curl.dll; O! Y9 y# \3 p6 M# c
  879. ;extension=php_fileinfo.dll0 a* u2 f. j7 i% w6 n/ y# t
  880. ;extension=php_ftp.dll
    ; v$ @4 q' O- P8 @4 g2 M
  881. ;extension=php_gd2.dll
      G0 ~. q# g! _3 F4 j, _
  882. ;extension=php_gettext.dll% d* _" M; R& P/ L
  883. ;extension=php_gmp.dll+ \/ [" f8 e- \5 }+ \
  884. ;extension=php_intl.dll) }/ W0 w# ?. T+ w% p0 g
  885. ;extension=php_imap.dll
    1 h5 e( D$ e$ y5 a
  886. ;extension=php_interbase.dll
    , W& A1 _, `2 l
  887. ;extension=php_ldap.dll
    " ^6 V3 m* F- y; }' q
  888. ;extension=php_mbstring.dll# O& g/ c3 }5 ?! z
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    3 i* Y: J  S6 e3 W( V/ G" [; m; W, ^0 J
  890. ;extension=php_mysqli.dll3 Q5 W8 v1 Z" t3 ~
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    8 ~( }! m7 D2 P/ J" ^( ^
  892. ;extension=php_openssl.dll7 ^* a2 e, C% K
  893. ;extension=php_pdo_firebird.dll
    9 s7 x5 }+ |, G2 n% d0 T
  894. ;extension=php_pdo_mysql.dll4 e4 m/ ^! P# p7 X, X- b. i
  895. ;extension=php_pdo_oci.dll
    ( V- [" s2 m9 E* A
  896. ;extension=php_pdo_odbc.dll
    4 `- G" H8 S  C  Z; ]
  897. ;extension=php_pdo_pgsql.dll
    : z, _1 p' T: A$ Z9 V8 x
  898. ;extension=php_pdo_sqlite.dll
    & ?( o+ G9 O5 T
  899. ;extension=php_pgsql.dll& I$ F3 ?, [# E' H4 D! {
  900. ;extension=php_shmop.dll
    ! E0 Z1 J, Q7 B# z& S
  901. + |3 ^& ?3 H  g& x7 o0 ~' |7 `/ p$ ]9 ]
  902. ; The MIBS data available in the PHP distribution must be installed.
    " S7 H, M' ]8 ^7 U9 q
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    % O  i3 X0 L$ Z3 h; u, \
  904. ;extension=php_snmp.dll, S4 U$ I: S; k
  905. $ v' A) D2 d% J9 C
  906. ;extension=php_soap.dll: e' ]4 i6 l# E
  907. ;extension=php_sockets.dll* L& n) x! L) r
  908. ;extension=php_sqlite3.dll4 {0 L8 ]. {$ i1 L/ r
  909. ;extension=php_tidy.dll2 _9 t! f9 q0 _4 s8 E
  910. ;extension=php_xmlrpc.dll
    1 ^8 T6 I4 W& \! ~
  911. ;extension=php_xsl.dll
    7 m! D2 R1 l3 j7 ]7 o# \, x/ P
  912. , G3 |- ^0 F. n6 @) z$ u
  913. ;;;;;;;;;;;;;;;;;;;
    & ]6 ?) a. m# F2 H/ `
  914. ; Module Settings ;
    # ?5 f6 V- [) _! A/ M" q
  915. ;;;;;;;;;;;;;;;;;;;; S1 ?" F" J3 @7 o% X

  916. - i5 c! z, _3 L9 X/ x  c
  917. [CLI Server]; j+ m! H8 P. F- [" e2 Y: Z
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 u+ {% N2 O* ?8 U
  919. cli_server.color = On
    ( Z& n, Q0 T( {5 l: K

  920. + @; Z1 {$ @( w3 ^% M+ |' ]: v
  921. [Date]
    4 A, f, V5 ^  ~
  922. ; Defines the default timezone used by the date functions# y, s, e- R, B. U/ \
  923. ; http://php.net/date.timezone
    5 c/ M1 |0 G! ?3 F
  924. date.timezone = PRC7 P+ X/ T2 G! {; b: k  m& \! o
  925.   \. l: b) [! V4 g
  926. ; http://php.net/date.default-latitude% a# ]; o+ k! F" m# Z
  927. ;date.default_latitude = 31.7667
    : f; o. ]% ^( l7 A6 |

  928. 4 r) Z7 E9 ^3 P) l  }0 ?) M7 A0 R
  929. ; http://php.net/date.default-longitude
    - A  l4 x7 k# A  A. p) d
  930. ;date.default_longitude = 35.23331 t- k1 T9 Y! M( B
  931. 8 S& H/ Y% i" H) p% {8 \+ D9 _
  932. ; http://php.net/date.sunrise-zenith* Q+ N4 R! [4 y) @
  933. ;date.sunrise_zenith = 90.583333
    8 v& S' N* v6 m  |. u1 `1 d

  934. : X8 k- O* P) L5 u& @
  935. ; http://php.net/date.sunset-zenith
    7 C8 B* O$ I# i: B
  936. ;date.sunset_zenith = 90.583333, s- `/ l* k$ D0 t! s

  937. & q8 n5 w' V* X$ U# _8 y( a
  938. [filter]6 w) Y( P# t8 Z( N% K. K
  939. ; http://php.net/filter.default
      ~  O. j  x. t- U3 V
  940. ;filter.default = unsafe_raw* ^) s4 W+ [/ t( _- W3 B

  941. 5 v" N! J$ N" P: G( j
  942. ; http://php.net/filter.default-flags
    ) ^; _, D; K, L5 K" J$ w7 R) L
  943. ;filter.default_flags =4 n- N& h3 u+ ~# M- S2 V
  944. 2 k% U" t8 f! s" Y7 G) h1 ]
  945. [iconv]
    ! O( f( X- j4 L& X+ R6 R9 }2 m
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.* J% y5 b- ^$ [0 V4 P& f/ s' Y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ) t& h4 T4 L2 ]2 U9 B- {; Y- y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # B& E, n' G& l9 [
  949. ;iconv.input_encoding =) Q8 a! h7 C2 O* L
  950. & \6 s: s/ a: ^. n" Y/ @" E: u- U
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 Z/ w2 u7 D2 D% h
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ Y3 A3 ^$ D  |, M( y3 P
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    4 k8 w0 Z+ k3 J2 E
  954. ;iconv.internal_encoding =
    ' a% w% X) |8 C% N; ^0 b5 Q4 ~

  955. 7 E/ ~- W; i& ^' F, ~0 A+ t1 J6 k# r
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    / }8 R# V/ O# L& g; v6 r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 u7 \4 [3 m7 ?' L
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ) U5 H* I" V, i1 {7 V. W( Z, ?
  959. ; To use an output encoding conversion, iconv's output handler must be set& d/ g+ x% A. v
  960. ; otherwise output encoding conversion cannot be performed.
    0 e* ]5 k% I, z. T5 `4 v
  961. ;iconv.output_encoding =; h( o; K  P! ]

  962. ; g: I. R! a/ f- V7 _
  963. [intl]; @% K4 a7 O1 Q# k" x
  964. ;intl.default_locale =: h! I. d- u) |4 i! T
  965. ; This directive allows you to produce PHP errors when some error
    2 }' V- K" R5 `+ ~1 k/ E
  966. ; happens within intl functions. The value is the level of the error produced.' B6 L; O$ j- x
  967. ; Default is 0, which does not produce any errors.
    6 g+ Q$ F. d/ ?0 v
  968. ;intl.error_level = E_WARNING
    4 e$ N2 |3 U' q) `/ {
  969. ;intl.use_exceptions = 0
    8 f6 \% ~% {# m* O7 M) A  d" V
  970. / x% h" P) [3 L' ~
  971. [sqlite3]- S4 K8 K; l* j$ W6 x
  972. ;sqlite3.extension_dir =  p. x, C; B! Z) P& b- T1 ~

  973. 1 U* B- Q* D# P3 V; v4 u
  974. [Pcre]
    * H% P% c1 x- c. o3 B1 n! \
  975. ;PCRE library backtracking limit.1 L3 ^& x: w- v, p
  976. ; http://php.net/pcre.backtrack-limit
    0 e+ o; d7 ~$ X8 d! o) x: H  }
  977. ;pcre.backtrack_limit=100000
      p4 v( {( ^4 G3 R7 w0 {

  978.   ]& F; Q  ?( C
  979. ;PCRE library recursion limit.
    6 X, S' c1 x8 m. _5 w5 t
  980. ;Please note that if you set this value to a high number you may consume all
    4 |) u- n3 R5 a+ ?! Z* f1 R1 ?
  981. ;the available process stack and eventually crash PHP (due to reaching the7 u1 f6 ?4 W: q' B  w- q
  982. ;stack size limit imposed by the Operating System).
    - w+ D" V! P- N: s# C0 E
  983. ; http://php.net/pcre.recursion-limit
    ; p0 f% A! K, F4 D2 F( r
  984. ;pcre.recursion_limit=100000) ^- y2 `- G1 i# Y% W4 ^

  985.   H0 ?# o: Q- ~
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    4 i( N; @2 d" c1 E# k  s2 x
  987. ;library to be compiled with JIT support.
    6 P& @) C- }2 u
  988. ;pcre.jit=1
    0 k6 j1 C2 c1 b1 o4 a- _$ ]1 \

  989. + c' {) y/ p: w2 }9 ]
  990. [Pdo]4 u3 k' o% w- w: W/ H1 a
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 }! V8 e3 p9 m: g' ^! ^' B
  992. ; http://php.net/pdo-odbc.connection-pooling
    - x& x7 I* y0 w
  993. ;pdo_odbc.connection_pooling=strict
    + Q& _. m# T0 J& o0 v' ^
  994. # S, Y- W  C0 {- w
  995. ;pdo_odbc.db2_instance_name
    3 I' N2 X6 \( ?* l# U. j. G

  996. # l) l, F( Q/ y+ a0 W1 o
  997. [Pdo_mysql]3 i# `# b# V1 j& s5 R1 n3 F
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache# B# V. Y+ K) j. Y: F3 A9 P- E
  999. ; http://php.net/pdo_mysql.cache_size
    3 G& T6 b" N; `7 Z3 h
  1000. pdo_mysql.cache_size = 20006 X% H5 y% |+ j- f9 @/ ~/ ~
  1001. 7 A3 B4 n3 V  A+ L; R
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , ^, e1 X! H2 |
  1003. ; MySQL defaults.5 Z5 y7 q8 E/ M) d8 q
  1004. ; http://php.net/pdo_mysql.default-socket) @1 @, P; {+ l2 e6 ~4 c4 X, q
  1005. pdo_mysql.default_socket=
    3 A. f: b7 e$ Y& [

  1006. % g) H( ~3 H) g1 r9 P+ D
  1007. [Phar]
    / Z; `7 {' ?8 b" }
  1008. ; http://php.net/phar.readonly" s1 g+ r% d5 z* Y' `
  1009. ;phar.readonly = On- A  E+ E1 Q6 ?7 i8 ?2 s! i) D/ X1 R

  1010. ' ^- H6 T4 {9 x" f
  1011. ; http://php.net/phar.require-hash
    * p- e' C) M  T  `% W6 B& s2 X
  1012. ;phar.require_hash = On9 I( A& j# T' M0 U! ]) p! X  I5 u

  1013. 4 R2 u/ C' H) P+ |2 T" V  x
  1014. ;phar.cache_list =
    . `4 H" i2 q5 b$ D1 B, q; S3 T

  1015. 4 j/ r8 M1 c: U( C5 w2 d. Z
  1016. [mail function]1 s* k' z: D0 m. ^" r. a
  1017. ; For Win32 only.
    % N$ Q7 a  M& _1 K
  1018. ; http://php.net/smtp
    - G( h, o( q% B0 }. m0 [4 _
  1019. SMTP = localhost
    8 X- A3 l( e" J! g
  1020. ; http://php.net/smtp-port2 b5 D1 S3 L% o8 c" l& \9 {
  1021. smtp_port = 25
    ' E; C3 D* N0 T: y( {, C: x

  1022. " ?) y" C6 @8 @, x6 ?
  1023. ; For Win32 only.' D2 C; m6 f& H/ K
  1024. ; http://php.net/sendmail-from3 R1 M8 D3 q: q3 k
  1025. ;sendmail_from = me@example.com
    # k- z1 o+ A  i0 P
  1026. 3 p% g* Z8 Y  a4 E% w) Y- @
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . i9 o( c* s9 h9 z0 w+ z
  1028. ; http://php.net/sendmail-path0 g- G! S% E% |, ]6 E% t6 e
  1029. sendmail_path = /usr/sbin/sendmail -t -i+ E/ z* F: S) G  S2 X1 {+ Q

  1030. 0 Y( i  r1 }0 }3 x  ^8 p7 ~
  1031. ; Force the addition of the specified parameters to be passed as extra parameters- e( z8 O( W- C$ [1 e$ e8 m
  1032. ; to the sendmail binary. These parameters will always replace the value of
    + \3 w! C* f4 F9 l. h
  1033. ; the 5th parameter to mail().
    2 l" M/ k# {; M& }' A' n+ u: e
  1034. ;mail.force_extra_parameters =
    / ?+ [. F8 E) d  U' U; l) v( N
  1035. 4 ^! v; K& N+ _
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' ]* r9 [+ X. q- i) F* W4 B3 c) r
  1037. mail.add_x_header = On3 ~, K# R) G- d& Q3 S
  1038. 9 t- H+ @& ]' e( k) I
  1039. ; The path to a log file that will log all mail() calls. Log entries include& g6 b! G  }0 p5 ~* e
  1040. ; the full path of the script, line number, To address and headers.
    - T: G6 r8 W- n+ Q: t
  1041. ;mail.log =: O9 a, m+ F) q1 ^% k( v" P
  1042. ; Log mail to syslog (Event Log on Windows).
    # Q- {9 r' O6 h1 m  }/ A
  1043. ;mail.log = syslog& O1 u, T: ^  S# B
  1044. * }" V9 S/ F* ]& T: H- u7 q7 J! Y
  1045. [SQL]
    " I# R- s7 H6 G, e/ [- T
  1046. ; http://php.net/sql.safe-mode7 u# w: F9 n& a7 d
  1047. sql.safe_mode = Off
    ; \1 s8 p7 W0 E0 X- S2 ?

  1048. : l1 }9 I) g' s2 f2 r. c
  1049. [ODBC]: h. J2 i4 a' W
  1050. ; http://php.net/odbc.default-db2 @, j$ O. o4 b+ n0 n
  1051. ;odbc.default_db    =  Not yet implemented3 t9 Y" X9 N4 n, N* U. V1 a
  1052. 3 o0 s! r- b8 I7 `$ p' z  A) Q
  1053. ; http://php.net/odbc.default-user2 K  x! P1 T! P$ S5 V, I! |0 T
  1054. ;odbc.default_user  =  Not yet implemented+ \9 n# c' m& i5 k( Q# d5 m
  1055. 2 e! b9 [4 F9 V# g: j- n6 p- P
  1056. ; http://php.net/odbc.default-pw2 @( m$ g% \/ S! c# R$ l) ^
  1057. ;odbc.default_pw    =  Not yet implemented
      U+ p# D6 g  t$ o
  1058. ! ]+ w9 p% M* _$ z, D3 ]! i( w
  1059. ; Controls the ODBC cursor model.
    5 E/ F: B1 ~; V' n( E8 @5 q
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 M( j+ r+ |; q2 P- w
  1061. ;odbc.default_cursortype, l9 M2 K  R) H/ ]8 z# O

  1062. # r9 P2 e' R- K' J
  1063. ; Allow or prevent persistent links.( T8 b- j& `& P" K' b
  1064. ; http://php.net/odbc.allow-persistent
    8 Q, F" @' U4 _3 _3 u) y9 v* Y+ c
  1065. odbc.allow_persistent = On% k4 n! q" E4 ^
  1066. - G# O& [5 ]7 e. N5 p
  1067. ; Check that a connection is still valid before reuse.* F" r0 ]4 p, H6 X: T: ?
  1068. ; http://php.net/odbc.check-persistent, W6 y9 v- U9 P3 p, V
  1069. odbc.check_persistent = On, ^3 X$ i3 e; ?: r! F- z  E- G: O
  1070. ! ]& C+ }8 V" k# J- V
  1071. ; Maximum number of persistent links.  -1 means no limit.
    # o% \6 a. _) f! M$ `
  1072. ; http://php.net/odbc.max-persistent
    # a; j  X* L0 ?- f! R
  1073. odbc.max_persistent = -1
    " y- X# m3 R2 T9 A7 u/ ?1 d

  1074. ' P+ `( S( P! X# {( T) Q1 J
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . G# V/ d' D- U+ [+ z
  1076. ; http://php.net/odbc.max-links' r# u9 p& c2 F  B
  1077. odbc.max_links = -1: ^6 ~5 z7 Z: {: ~  y
  1078. 7 S+ v- H3 Q) r; T& W
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 ]8 u, L/ c* O% J' z
  1080. ; passthru., C' F. I4 ?4 n$ C7 I& Z" c
  1081. ; http://php.net/odbc.defaultlrl  _7 K3 h) U+ |/ x) _  K
  1082. odbc.defaultlrl = 4096
    - i6 L' M0 d  F

  1083. ! Q) C! f8 C) ], S4 V. E
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.; j5 {! c) B6 n/ E+ I
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + b* M& r2 s3 m- c" K0 n5 F9 G
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode8 g6 `( K/ y$ ?2 u$ Z6 n) k+ e( F  ], Z
  1087. ; http://php.net/odbc.defaultbinmode
    " b& n+ p4 i: p8 n, g
  1088. odbc.defaultbinmode = 1
    - Z% H. P9 G/ g$ O9 ~6 e4 @* \
  1089. 3 _6 v3 E$ {: X, b  R
  1090. ;birdstep.max_links = -1* i/ B$ X" e6 v2 z0 y/ Y

  1091. # y1 I6 \+ X/ N1 s% i& x
  1092. [Interbase]
    # `7 \% [' n- `3 N: r/ K1 J
  1093. ; Allow or prevent persistent links.) [* ]& N& J+ a9 D* U
  1094. ibase.allow_persistent = 1) ]1 B9 L; ~4 M" L" g4 \# O( E

  1095.   x, ^) u- m" I: x* ~2 g
  1096. ; Maximum number of persistent links.  -1 means no limit.+ q9 g+ ?+ S" \7 _+ r, w
  1097. ibase.max_persistent = -1
    # K, _/ u+ x% p# M( W
  1098. ! F/ q( S& F% S; N* o" p" I% i
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 B8 S# a! H. l3 _) F4 g7 b. w
  1100. ibase.max_links = -13 u- i, J/ n* f/ U; u1 ]: M  t
  1101. - T! q! o% ]2 C7 d
  1102. ; Default database name for ibase_connect().
    + N$ _) p$ D" r' U
  1103. ;ibase.default_db =1 U7 t. y7 K* h4 C
  1104. " \+ x7 v. C$ [$ r  G4 t( Y, E
  1105. ; Default username for ibase_connect().; s, I3 U. N/ v0 N# H% t. \( l
  1106. ;ibase.default_user =
    ; l% g) V$ H" G/ r8 K$ p( D5 `! Q* {# Y

  1107. 3 \) P2 |+ C/ \! s: J* r. Z
  1108. ; Default password for ibase_connect().
      s# J* k. f% |# ^- t4 L
  1109. ;ibase.default_password =
    0 g" d* ^8 t- L7 P3 E  D# G4 }
  1110. 8 g( k. ?  V4 a9 o( Y; T3 Q
  1111. ; Default charset for ibase_connect().9 l+ Z+ Q0 E2 k4 D8 x
  1112. ;ibase.default_charset =
    ! t# R& u' s9 C# b9 d8 s/ v) D

  1113. & Y. v- Q! R3 \- @
  1114. ; Default timestamp format.
    % j5 j1 Q  a" }$ H; E
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S". U" E1 F4 L8 ]" P$ N# P# Q4 L5 e

  1116. % Y/ h5 d, ~+ i+ X
  1117. ; Default date format.' z9 ]( b* v5 V& w
  1118. ibase.dateformat = "%Y-%m-%d"
    $ p. q0 _( m7 X& S1 W, j

  1119. 8 z, J& Z) ]3 \8 ?6 G
  1120. ; Default time format./ S2 @# n  o# P: X
  1121. ibase.timeformat = "%H:%M:%S"
    , e5 W2 A; E( |& |/ ^

  1122. 8 d5 X$ Z( l: y7 J
  1123. [MySQLi]) C1 L5 q# k3 s2 x: b

  1124. 9 ?7 n* J5 T- M# D& A) R
  1125. ; Maximum number of persistent links.  -1 means no limit.
    # R+ b  Q* g2 l
  1126. ; http://php.net/mysqli.max-persistent
    : ~/ t; Q, l; V1 Q9 F3 k# o. g6 ^
  1127. mysqli.max_persistent = -1
    : E; n3 w+ F, H! c  ]. F/ m9 I3 t$ w
  1128. 8 [( q: U9 \' s  ~
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' n) \6 Q1 u* M/ S
  1130. ; http://php.net/mysqli.allow_local_infile
    , ~1 y9 J% Z- p& _! z/ F
  1131. ;mysqli.allow_local_infile = On6 A" m% F/ `2 D3 |+ a8 L5 z
  1132. ) v7 [7 g" Z0 i4 c" p3 K3 y+ g
  1133. ; Allow or prevent persistent links.
      B* a" t* A6 _0 z" s7 J9 ^
  1134. ; http://php.net/mysqli.allow-persistent1 b- D2 k; g, |: u
  1135. mysqli.allow_persistent = On
    ' ~/ `4 N9 G( Y/ {, ]/ A; \& ~6 n

  1136. 3 `' Z, C, s( c. b
  1137. ; Maximum number of links.  -1 means no limit.
    ! G0 U; N, S1 [
  1138. ; http://php.net/mysqli.max-links( ^- e; f+ ^7 k+ Y
  1139. mysqli.max_links = -1
    & @  i, A$ J; ^
  1140. ; L3 [3 w! y. ?, y* G: x
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache' V: M8 h3 ^" u( y! R
  1142. ; http://php.net/mysqli.cache_size
    , m5 w5 P1 e# r) E! h& X
  1143. mysqli.cache_size = 2000
    - u6 \  d6 K; {! E1 ~1 A. X1 Y0 w
  1144. ; f3 Y- p9 c5 S* `  g
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    * x, b0 D* t) `& b- O6 Z& O4 ~
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ O0 s* o0 d% \3 T! F
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * L3 @% r) w+ z9 x' M8 I. B
  1148. ; at MYSQL_PORT., f& \+ Q! E5 [5 }9 q& i
  1149. ; http://php.net/mysqli.default-port
      E. @! u5 d& R
  1150. mysqli.default_port = 3306" X; y" _- {/ A  s  e
  1151. 7 f7 [' d! `9 h; ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( w6 N" m- Y5 L/ I& |1 ^" F
  1153. ; MySQL defaults.
    0 H. l8 b. U- N6 p
  1154. ; http://php.net/mysqli.default-socket" Q5 N( L- G- e2 j; p# i" q" r
  1155. mysqli.default_socket =
    ; H! O9 c, c" u$ ]6 X
  1156. / r0 d+ V! Y( G0 d  @
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).( h0 q; `* y! ]" o$ }7 V. ?% t
  1158. ; http://php.net/mysqli.default-host3 o, o9 q: z" a. a
  1159. mysqli.default_host =! H/ E, J: b" S

  1160.   ]) r0 ~" K8 C' {; C
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).) j* g! a* b: X3 ]
  1162. ; http://php.net/mysqli.default-user+ D" I% G" ]9 F4 [5 N3 L
  1163. mysqli.default_user =, @  X2 d$ y$ F
  1164. ' A9 u0 O* t! W0 t( ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).* I) ]* n$ Y2 R' ^
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    9 |; Z8 W  S, L  z- g' W7 U
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"); Z# R7 b& n  O9 C
  1168. ; and reveal this password!  And of course, any users with read access to this
    - M" b* N8 Z4 M) }
  1169. ; file will be able to reveal the password as well.
    - ~* `4 i% C) C! U
  1170. ; http://php.net/mysqli.default-pw5 q% |6 a# U$ {! }: \; I
  1171. mysqli.default_pw =  W6 m8 t) ^8 D3 G4 m: }

  1172. # A  y' D( {/ b! Q/ a
  1173. ; Allow or prevent reconnect
      [# [  U+ @/ o0 R
  1174. mysqli.reconnect = Off
    2 }3 e5 O) X# S( M

  1175. ! _8 A$ d9 i9 [& ^
  1176. [mysqlnd]
    4 Z* U( e8 `7 E# e7 k+ D* ~/ d
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be+ t, |# N; c" \; u, I, F2 U
  1178. ; used to tune and monitor MySQL operations.
    2 g! A- S  N# q1 Z2 W- `
  1179. ; http://php.net/mysqlnd.collect_statistics
      r/ i# c0 Y3 ^' R9 `4 o+ c2 S( L
  1180. mysqlnd.collect_statistics = On
    2 P! c* o( C7 g  l" M1 w7 B4 e
  1181. ( I* Y. X8 S: c- T
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ' G" E3 U; B/ D; a, `5 Z
  1183. ; used to tune and monitor MySQL operations.
    ' l9 |6 f, ^! R& `2 h# h: w
  1184. ; http://php.net/mysqlnd.collect_memory_statistics+ i$ |% k' e$ s  r5 J% H
  1185. mysqlnd.collect_memory_statistics = Off
    2 x' w( Z8 B- O9 y
  1186. $ }1 s8 u/ d- D3 T8 [2 Y0 |2 J0 ]
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    5 ]8 a3 {+ d, z+ b- F
  1188. ; file.+ z+ l6 q% s7 V* Y( {
  1189. ; http://php.net/mysqlnd.debug
    9 u, x- t! n. h" h9 m
  1190. ;mysqlnd.debug =. Z- D7 j! g- a$ j8 P  Z

  1191. & F( e+ s& B. U2 u4 j
  1192. ; Defines which queries will be logged.8 S; o7 u  E; X6 l8 B* D! e0 r# i
  1193. ; http://php.net/mysqlnd.log_mask& j5 F) Q8 b7 J; L  x% _
  1194. ;mysqlnd.log_mask = 0
    2 h9 N* W5 v! X! \4 M
  1195. 6 O7 c) g5 S& \) O% a( Y
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    - V6 L, y- g) u) [8 ~
  1197. ; http://php.net/mysqlnd.mempool_default_size
    7 a- t) L/ }3 d6 o6 V2 R5 U
  1198. ;mysqlnd.mempool_default_size = 16000
    0 q. k  ~3 k! B9 v% e/ N3 X
  1199. & d3 ]0 [% J; ?8 h; y, k$ d
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.% ]" v! ]" [% G' H% X, C; ]' }# u5 c0 n
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size2 i/ R  o7 y4 ~- l
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    : _3 U) {5 A" k% c+ v% _" i
  1203. & t. E% K) I: m7 c
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    5 ^6 p, s4 Q$ s. A
  1205. ; bytes.
    : r4 {0 s" I& V% @8 Y" H
  1206. ; http://php.net/mysqlnd.net_read_buffer_size* u" K- I3 Z$ Z/ G2 T$ `* Q
  1207. ;mysqlnd.net_read_buffer_size = 327688 w* U" E7 o9 C- v8 e5 Z
  1208. ) u' q; k" R# Y( Y) Z) D  K
  1209. ; Timeout for network requests in seconds.
    % j, ?& ^1 |# D5 t) T
  1210. ; http://php.net/mysqlnd.net_read_timeout! I/ m* M3 h$ c2 S3 [* R1 c2 o
  1211. ;mysqlnd.net_read_timeout = 315360009 d6 v! Z5 K# H! O# D

  1212. 8 d. ]$ p1 s  c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. }( p) s8 i# A$ ?6 P, m% L
  1214. ; key.
    8 Y7 {8 {) z" S4 s) i
  1215. ; http://php.net/mysqlnd.sha256_server_public_key2 V+ G# c  [! a4 w4 M1 D# R% p
  1216. ;mysqlnd.sha256_server_public_key =% [" c) A& Z/ {& H
  1217. ; X8 d2 [4 A* p" U5 ?1 a% X
  1218. [OCI8]
    7 e4 s- S( ~9 t* W! q

  1219. * t% @; a3 [7 t$ P  M: c1 U
  1220. ; Connection: Enables privileged connections using external  P' v9 g, j- b6 G5 P/ C5 J
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 L4 ], X3 `" s, V$ G# W2 Z0 j+ p
  1222. ; http://php.net/oci8.privileged-connect5 T0 d$ b+ _/ t/ W' s% ^. J* P
  1223. ;oci8.privileged_connect = Off. g% ^/ S* G. f; y8 m

  1224.   Q7 B! l+ ]* t: `( L
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ! i: w; K9 J& D- I# L
  1226. ; process. Using -1 means no limit.
    ! f: _" @! F" |8 N; w# x1 t0 b
  1227. ; http://php.net/oci8.max-persistent
    3 c' x( W% W; ~6 `+ V1 A- P  O9 H
  1228. ;oci8.max_persistent = -1
    ( L) c5 \& o. r$ |
  1229. ; }' \) A# }7 e8 q" R9 f
  1230. ; Connection: The maximum number of seconds a process is allowed to
    # W7 V" I4 m- ^0 ?) i
  1231. ; maintain an idle persistent connection. Using -1 means idle  H4 F& p+ W: W: O  Z: R
  1232. ; persistent connections will be maintained forever.
    6 S: c$ J, E: O+ w8 l% J
  1233. ; http://php.net/oci8.persistent-timeout; n8 k: f9 Q1 g: x  ^
  1234. ;oci8.persistent_timeout = -1. Q9 ~3 H& S$ F6 v7 x4 J/ d3 z6 w4 m
  1235.   Q% i/ [+ A" m2 m: v
  1236. ; Connection: The number of seconds that must pass before issuing a# B/ v# ?$ M, U, x3 |: z
  1237. ; ping during oci_pconnect() to check the connection validity. When1 L) `+ F) t) D' m
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
      P; ]+ N1 u( J' s: m
  1239. ; pings completely.
    6 R) G1 G' b) u8 C& Y5 ?" S7 g
  1240. ; http://php.net/oci8.ping-interval2 e7 V: e* S% c. p7 F, d1 I
  1241. ;oci8.ping_interval = 60+ d. W) p7 X, b% d, y, v) C

  1242. 0 p1 s1 ]- k. p3 J, R4 U/ J1 }: w7 A
  1243. ; Connection: Set this to a user chosen connection class to be used% J1 _; f, z. o( V0 a; U
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    5 O  `; X. f5 `5 @  v9 k
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" q, a* @8 h; d" g- E" q
  1246. ; the same string for all web servers running the same application,$ _7 z8 b3 L' P& h4 W
  1247. ; the database pool must be configured, and the connection string must
    ' J: Q! v+ w9 [8 R5 k% _
  1248. ; specify to use a pooled server.
    & q3 d' N/ P! r! k7 {
  1249. ;oci8.connection_class =
    ' }) b/ i  i# c
  1250. # R2 K" I4 J8 R, E- @% G
  1251. ; High Availability: Using On lets PHP receive Fast Application
    $ S: L# {8 A4 ?- f3 u& v/ Q
  1252. ; Notification (FAN) events generated when a database node fails. The
      s9 \* M5 ], @- ~3 v) y
  1253. ; database must also be configured to post FAN events., w4 w$ L7 w! h
  1254. ;oci8.events = Off
    ) |+ z/ r6 Y5 Z' G( Q* M# Q

  1255.   ~& G% k3 e  Q  F* G" A4 a
  1256. ; Tuning: This option enables statement caching, and specifies how
    4 k0 p# M& c' u# K' @9 r8 q
  1257. ; many statements to cache. Using 0 disables statement caching.
    1 s$ N' J, K' t0 x) H: q
  1258. ; http://php.net/oci8.statement-cache-size
    5 @( F; |5 s0 X: C5 ^7 a1 E
  1259. ;oci8.statement_cache_size = 20
      j2 v) w, f3 k0 X& b' ~1 s& M: o

  1260. * W+ V, }6 `. I  F" q: Z2 d- Q6 Q
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    * S, K" V0 B8 k" E3 B% e: Y* V
  1262. ; rows that will be fetched automatically after statement execution.
    : `: a+ o1 t- V* V& d
  1263. ; http://php.net/oci8.default-prefetch
    / M8 Q- J7 }: ]: j8 I/ u
  1264. ;oci8.default_prefetch = 100
    + `: D4 b3 F; m+ \

  1265. : w, G1 C" q2 x
  1266. ; Compatibility. Using On means oci_close() will not close
    ) A4 t+ Q- l4 F- m# W# O& j# ]
  1267. ; oci_connect() and oci_new_connect() connections.7 I, c  Y# v) [4 f. Q
  1268. ; http://php.net/oci8.old-oci-close-semantics
    " \9 Q4 |, ~4 X4 T# P/ U
  1269. ;oci8.old_oci_close_semantics = Off8 A) m0 r9 }. H

  1270. - C2 a3 e9 g8 N( r' U8 ?
  1271. [PostgreSQL]. T$ Z  R: [7 H% q4 m' A
  1272. ; Allow or prevent persistent links.! r# @0 c& z( o$ n: P1 a
  1273. ; http://php.net/pgsql.allow-persistent1 Y9 m+ l% \' q( S" @/ U4 X
  1274. pgsql.allow_persistent = On1 `( M2 l" f8 ], p. T

  1275. 2 T1 F5 ^9 G- L: j0 a0 t
  1276. ; Detect broken persistent links always with pg_pconnect().8 U2 Z( N: u  a. j2 x+ B5 h
  1277. ; Auto reset feature requires a little overheads./ B% f' n' H0 ^  A
  1278. ; http://php.net/pgsql.auto-reset-persistent
    5 l' X) h: g( }8 ]1 S1 \
  1279. pgsql.auto_reset_persistent = Off
    ' J& x4 C) l& s" s  u. O3 j

  1280. ! a9 f2 R% Z$ b0 j
  1281. ; Maximum number of persistent links.  -1 means no limit.
    / j" k) w, K' v. l; j
  1282. ; http://php.net/pgsql.max-persistent  L' V9 n; C: T2 z* _
  1283. pgsql.max_persistent = -1# p$ j+ ]2 b( S9 d
  1284. + f. W: d! Z5 z$ C, z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 F9 V4 _3 q' H# C! {( }4 }% ]
  1286. ; http://php.net/pgsql.max-links
    , q0 _& w6 C! ^- s' g' p
  1287. pgsql.max_links = -1
    : H$ ^) [0 T: f- F- B& Z4 N4 w

  1288. 8 j4 [7 U3 k! {) T1 B* F8 t
  1289. ; Ignore PostgreSQL backends Notice message or not.3 z2 r+ m, D' p4 @' k1 v
  1290. ; Notice message logging require a little overheads.7 w7 V  B4 X! ^9 d3 {5 F
  1291. ; http://php.net/pgsql.ignore-notice* W! E* }; u! |2 f$ S# O8 g
  1292. pgsql.ignore_notice = 02 t/ N) c( V0 X/ Z& b4 n

  1293. * n# ]' F1 z' K# }
  1294. ; Log PostgreSQL backends Notice message or not., [5 n5 |" u5 p% w6 m3 u* i, ]: r$ s' U/ }
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    / `. n, r. m9 i1 _' o# t3 \
  1296. ; http://php.net/pgsql.log-notice7 P& h: p' J9 c7 M. ?
  1297. pgsql.log_notice = 0- T& |0 L) x; Q5 @  E
  1298. ' B) Q. U6 a5 ^0 H0 w+ U6 S
  1299. [bcmath]' c2 i+ y* }1 s( E' J: M. R
  1300. ; Number of decimal digits for all bcmath functions.
    . |5 I9 q% \* X2 N& m
  1301. ; http://php.net/bcmath.scale- \% j3 X1 _0 a1 U% R3 W3 X
  1302. bcmath.scale = 0$ }' ?* ~: P% L+ O( V

  1303. # l# V. E  T5 D! X0 N) D. n$ S0 W+ b' v
  1304. [browscap]2 V3 U1 a0 Q6 w4 C' ^/ @. \' U
  1305. ; http://php.net/browscap" a  I+ H. ~  b5 Y) @* H' F
  1306. ;browscap = extra/browscap.ini
    ) o7 k% F5 N! o) Y* N( Q) ^+ ~
  1307. # k0 ?" j) \( U3 e2 M- l* \# j6 k- H
  1308. [Session]" p) ~  {9 _: [6 T0 f$ w6 T9 P
  1309. ; Handler used to store/retrieve data.
    $ c0 j: Z' X! ~7 J. a
  1310. ; http://php.net/session.save-handler
    - _( h6 i7 s/ r+ U. A6 }. N' W
  1311. session.save_handler = files) I6 _) r- B' ^8 ^( Z. y) H# m" A( x

  1312. * r3 N  T; `" n0 b! B
  1313. ; Argument passed to save_handler.  In the case of files, this is the path! k- A7 p* n" |  n, Y  L) v) j8 F; }
  1314. ; where data files are stored. Note: Windows users have to change this/ c: ~! m! t5 e/ z8 h+ P  h5 U
  1315. ; variable in order to use PHP's session functions.) b/ r7 k' ^0 N6 H, V0 q
  1316. ;
    6 M+ ]  g: Q: I  `; |8 O
  1317. ; The path can be defined as:
    6 e9 r9 n( w3 g$ {
  1318. ;
    : m5 g4 B: [2 J
  1319. ;     session.save_path = "N;/path"4 _7 \% W: k4 E% u* ^
  1320. ;
    / |" G8 ?. t$ D
  1321. ; where N is an integer.  Instead of storing all the session files in
    1 }  D/ \8 I8 K8 x
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ( s3 c+ s6 k4 D. a% k7 I+ O$ t
  1323. ; store the session data in those directories.  This is useful if
    . t8 j/ E" `  i0 ~* E: X! \6 n
  1324. ; your OS has problems with many files in one directory, and is$ V* _" m. J; m" B
  1325. ; a more efficient layout for servers that handle many sessions.7 k- g8 z2 m: [8 c; ]! y" `
  1326. ;
    - F$ G6 _6 D, j7 C
  1327. ; NOTE 1: PHP will not create this directory structure automatically.  k. x; p8 h% x0 ]5 |. ]$ C+ B
  1328. ;         You can use the script in the ext/session dir for that purpose.
    2 X$ p0 v' ?, R+ E
  1329. ; NOTE 2: See the section on garbage collection below if you choose to" d, I$ P  l+ ?- }. Y
  1330. ;         use subdirectories for session storage' s! E/ {& C- F- O* r2 c
  1331. ;
    " ^3 C. }+ R* M0 u( l2 P" Z
  1332. ; The file storage module creates files using mode 600 by default.
    4 T& b5 d$ i6 @% x
  1333. ; You can change that by using
    . b/ N: K; v( [! t) W) ~
  1334. ;
    - ?5 W! ]" F: q% U3 [2 ]
  1335. ;     session.save_path = "N;MODE;/path"4 j) e$ U6 Y2 D' j7 O% d3 G% n1 ~0 ]
  1336. ;
    : g$ y, ?# r6 {/ W  m; n
  1337. ; where MODE is the octal representation of the mode. Note that this
      f+ B9 T9 E  }; t
  1338. ; does not overwrite the process's umask.0 D* N, q* ?1 x4 ?- w
  1339. ; http://php.net/session.save-path5 R4 z7 W6 q* H& D! y% `
  1340. ;session.save_path = "/tmp"
    / q1 d, x7 w' r: h+ ?0 L

  1341. 5 q+ m# \6 g; K$ C/ h
  1342. ; Whether to use strict session mode.5 P$ d7 ?  G* a5 M; t
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! D8 C2 a7 H# U; A+ r+ p; s% H' x
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects* Q; P2 B) T: r; }- o
  1345. ; applications from session fixation via session adoption vulnerability. It is) ~7 Z" F. |5 ^3 |8 W, j
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 n3 n! h( }' x+ N
  1347. ; https://wiki.php.net/rfc/strict_sessions
    . q! L6 S2 B7 j5 U
  1348. session.use_strict_mode = 07 c# G8 t, l9 w' A7 O; c
  1349.   p: ?# }! @0 E
  1350. ; Whether to use cookies.3 ?) f+ d' p8 C( x
  1351. ; http://php.net/session.use-cookies. f  O9 R) `! O% R- l& A
  1352. session.use_cookies = 1/ Y2 [0 W! {+ ^; [

  1353. % \; g2 \7 |- L
  1354. ; http://php.net/session.cookie-secure
    + g, B5 _5 H7 t4 c% w
  1355. ;session.cookie_secure =
    ; `. g$ l8 M+ |) q

  1356.   P( v1 b7 S7 k5 Q$ x" O6 ~
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # X5 G. ^& i' G/ ?- q
  1358. ; the session id. We encourage this operation as it's very helpful in combating7 P: y4 ~) p* |" f: F& Z
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ! V8 m0 t4 p" n* G3 x
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.! `$ ?. U, C2 z/ E! T
  1361. ; http://php.net/session.use-only-cookies" }& w) [2 U! `% u+ J- R( v9 i
  1362. session.use_only_cookies = 1+ G" \1 O5 `6 y, F# C' |

  1363. ' v! K1 a4 w- t2 P& R
  1364. ; Name of the session (used as cookie name).
    - i0 z; o# A3 t6 j" z
  1365. ; http://php.net/session.name  U- v! p. S, x4 s- ~
  1366. session.name = PHPSESSID
    7 ^; }4 [- E" O9 Y3 |. I+ e- O( n7 f

  1367. ! E: b" h: c. n) {5 k8 w& C
  1368. ; Initialize session on request startup.
    + n* ?8 ]5 q, [. t* ^
  1369. ; http://php.net/session.auto-start
    0 o9 {  `! @9 e- o) a3 ?" V  {$ X
  1370. session.auto_start = 0# G$ B& L4 d' ^$ ?2 J

  1371. ( O* O2 H: C* R' m9 ^
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    : N( J$ K- w+ @0 p
  1373. ; http://php.net/session.cookie-lifetime
    9 A2 {4 Z1 t( i" x
  1374. session.cookie_lifetime = 0: n; M' k* }: {. j) _9 c

  1375. 4 L. P) e# _# j3 E) H& J* j
  1376. ; The path for which the cookie is valid.# A3 a  ~, S5 `+ r5 h! j
  1377. ; http://php.net/session.cookie-path
    % D5 U4 g* A" J
  1378. session.cookie_path = /9 ~& w1 f3 Z. q9 ?* Z- W- O# z
  1379. % }" Y) G* k& k# Z
  1380. ; The domain for which the cookie is valid.  K; A. k. H$ R' i2 z  d
  1381. ; http://php.net/session.cookie-domain
    - R) {0 {8 L  g) U
  1382. session.cookie_domain =
    2 Y+ c0 E0 o! V0 b$ |

  1383. + Q7 ^. d' b9 g8 d4 Q- r
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& c. `  p1 ]$ D7 H! f$ a' o
  1385. ; http://php.net/session.cookie-httponly( X5 v# V/ s1 T1 x
  1386. session.cookie_httponly =
      n8 i- O2 y* w/ x. j9 ]/ }9 ?. V

  1387. : w. A& g+ `! Y% z
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    , k! A+ R0 z1 B8 [+ W
  1389. ; http://php.net/session.serialize-handler* @$ ?1 h1 F9 G8 d5 g
  1390. session.serialize_handler = php
    1 g2 F0 X" v3 w
  1391. 5 J& G: S9 I5 e; ~  k' @
  1392. ; Defines the probability that the 'garbage collection' process is started
    : |3 Z& |1 j+ U* h
  1393. ; on every session initialization. The probability is calculated by using4 f! f5 Q1 o* x/ J! h6 v3 a: _
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # o: L- e. A1 z: G1 I
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    3 p# B% S6 g3 b0 U1 o
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 @" N! V9 z2 H% \* r
  1397. ; the gc will run on any give request.
    0 P- ~9 k  _: Q  }
  1398. ; Default Value: 1
    2 z9 p% U( Q9 {. E2 T- D
  1399. ; Development Value: 1
    ) x' m! g, c" q
  1400. ; Production Value: 1
    . u3 H+ p( Z7 [
  1401. ; http://php.net/session.gc-probability
    0 f" a; ]) d/ C4 X  t5 i9 o
  1402. session.gc_probability = 1
    ! \6 |; \* r  O. S/ J6 h$ l% z

  1403. 5 `. u% l$ t2 c& e' n  D- M" x
  1404. ; Defines the probability that the 'garbage collection' process is started on every+ R8 v7 d$ D( S
  1405. ; session initialization. The probability is calculated by using the following equation:) C8 \! r# q0 E
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  V* P3 c) f$ x' |- Q; w, t
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 L. U: I$ _) H& L& ?7 _  x. [) l9 e3 ~
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' C9 w6 r  ^# S. ?) }/ l/ J( Z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ; s" t4 I2 q# u, n9 ]6 g
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; Y" G/ M, m- f2 L0 x! K5 U
  1411. ; this is a more efficient approach.& |& }: b) E9 T& X  U
  1412. ; Default Value: 1003 p5 H6 ]( M! O" G
  1413. ; Development Value: 1000
    6 R2 l: t# Y3 P% Z
  1414. ; Production Value: 1000
    - D1 R" \# C9 P; c/ I* H6 l
  1415. ; http://php.net/session.gc-divisor4 i: @  H3 ~1 p" y3 e8 W! }3 E
  1416. session.gc_divisor = 1000
    " M8 |0 d' q# b4 ~$ ^* s  x
  1417. , @1 b* `3 ?# g# j( T0 u5 O+ O
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    % p, M' O2 `* `0 i0 r1 {8 m
  1419. ; cleaned up by the garbage collection process.' t  o$ N! p' p+ A, D
  1420. ; http://php.net/session.gc-maxlifetime
    6 i  v, O- C* S1 [* H
  1421. session.gc_maxlifetime = 1440+ p% {* h* u7 d( L) {
  1422. # i2 g" ^6 k. P$ }6 J
  1423. ; NOTE: If you are using the subdirectory option for storing session files
      S  C: h3 A) n) v) ~+ R
  1424. ;       (see session.save_path above), then garbage collection does *not*" h/ M) F6 m# D
  1425. ;       happen automatically.  You will need to do your own garbage5 b0 o* m1 B% w" \6 f! C
  1426. ;       collection through a shell script, cron entry, or some other method.
    $ |! V$ Q2 c3 s: W  B
  1427. ;       For example, the following script would is the equivalent of* t' L8 ?4 U4 B3 d% L
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1 \$ T) _/ y& `; {, g/ k% x
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' u7 @+ D4 T! a5 U2 J! M1 r
  1430.   ?' Z: r+ f& ~. k7 t/ f
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids., ~. |- W3 S& Y- P
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    * T! G8 w, C: s# k; {4 N
  1433. ; considered as valid.
    # s7 z2 C. f& r  w
  1434. ; http://php.net/session.referer-check; _9 d0 ?' `/ Z
  1435. session.referer_check =
    + m* [: m% Z+ O. P" {8 \

  1436. ! Z3 z$ b+ |6 c! j$ \8 a
  1437. ; How many bytes to read from the file.  d' R% e$ P; O
  1438. ; http://php.net/session.entropy-length/ F# M. k7 ]& v+ I9 l3 o. s- w
  1439. ;session.entropy_length = 32
    ( `2 ]! _/ @" m6 v& }$ D) q  f
  1440. 0 J9 \7 N& j$ s6 Z: o
  1441. ; Specified here to create the session id.
    5 O: r+ |7 \- w7 i. q# ]( H
  1442. ; http://php.net/session.entropy-file
    % P- T* ~9 V4 Q& J! r  Z5 D7 `
  1443. ; Defaults to /dev/urandom, _& ^# K. v  e: R
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 i) U5 o2 G# F1 I1 b9 x0 W. ~( z
  1445. ; If neither are found at compile time, the default is no entropy file.
    # y  p9 W% v( @1 U% b4 O' L
  1446. ; On windows, setting the entropy_length setting will activate the
    - v' P5 f) c* [
  1447. ; Windows random source (using the CryptoAPI)
    ! q* `3 A/ c7 b9 j) P' u
  1448. ;session.entropy_file = /dev/urandom" W7 |$ y& x3 D) Y5 q3 }( ^9 g/ F
  1449. - n( E; |8 M  ~3 c4 E( Z/ {, S0 _
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . Y& j5 i3 p! Z5 Q2 C
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ) s; W+ V4 \' o+ _& n  |5 @, h
  1452. ; http://php.net/session.cache-limiter
    ' F$ }5 ?2 c+ ^$ F
  1453. session.cache_limiter = nocache
    2 u+ F, B1 J; J4 n
  1454. $ G) |( g$ F5 b7 J' m
  1455. ; Document expires after n minutes.
    & R  g/ f+ Z% q
  1456. ; http://php.net/session.cache-expire) X+ Q* G: m2 P' L% F( E
  1457. session.cache_expire = 180
    ; Z3 ?8 R3 ]! _+ R6 y

  1458. ; I/ X& S* O# _* Q2 }# `
  1459. ; trans sid support is disabled by default.: ?4 h5 f: n. c3 i, s7 U9 P
  1460. ; Use of trans sid may risk your users' security.% P7 |! K& c$ k+ a1 P6 w
  1461. ; Use this option with caution.: m: f8 z% u0 E
  1462. ; - User may send URL contains active session ID# X3 H4 P  X; F
  1463. ;   to other person via. email/irc/etc.) E( D6 j1 l4 K" d
  1464. ; - URL that contains active session ID may be stored
      Q- ]" I* W: U5 c& K6 S
  1465. ;   in publicly accessible computer.  v4 ?( a3 E1 t. f6 b# j
  1466. ; - User may access your site with the same session ID
    8 l6 G5 C2 g( R. I% K, _) [* J, [
  1467. ;   always using URL stored in browser's history or bookmarks.
    - Z2 }. _9 A( \6 Z# }1 _
  1468. ; http://php.net/session.use-trans-sid
    7 D  H2 x1 V4 z! Y
  1469. session.use_trans_sid = 0& d4 ^$ z7 H, ^! X; w5 P. B

  1470. + ?# E" F& v; @0 p, q3 t" V
  1471. ; Select a hash function for use in generating session ids.
    7 C% h' \) ?# F% J: W; Z1 m
  1472. ; Possible Values  L) O0 S9 q. P2 M- S; `
  1473. ;   0  (MD5 128 bits)
    & O) B* h) _8 U/ b* W: f- D- I' W
  1474. ;   1  (SHA-1 160 bits)/ d6 f; W2 S. d/ y  A- m- j
  1475. ; This option may also be set to the name of any hash function supported by
      R8 j3 `( c9 q% y$ c2 z0 j
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()1 V1 J; N  h8 g
  1477. ; function.
    & l$ n' e/ V) m
  1478. ; http://php.net/session.hash-function
    : Q# [, a) @3 v/ f  z
  1479. session.hash_function = 0
    " g* n  ]) L% g! v" k+ F7 [% k

  1480. 6 X1 V! S- w# }  Q
  1481. ; Define how many bits are stored in each character when converting
    & i" v2 ^* A! ]3 K$ t( H  R
  1482. ; the binary hash data to something readable.9 A8 T) V+ U& w) l7 V$ a* {7 _
  1483. ; Possible values:
    - ~% K* Q, D0 [9 h$ ?! ?1 j
  1484. ;   4  (4 bits: 0-9, a-f): A+ U9 A+ P* i: V+ T2 K  x* T* T
  1485. ;   5  (5 bits: 0-9, a-v)0 v- u  ]( H$ Q. p* s( A
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 h. R0 ^, V5 y7 \
  1487. ; Default Value: 4
    0 f# F, s( h( r$ h/ M, ?
  1488. ; Development Value: 5- D; \2 l2 `% B' E! }! q1 B
  1489. ; Production Value: 5! }+ _" S, z+ B* x4 _9 W# \9 B  C4 o" n
  1490. ; http://php.net/session.hash-bits-per-character0 P2 {: i+ S4 M( v
  1491. session.hash_bits_per_character = 5
    4 u7 G4 p( H9 ?! }. q$ ~+ @
  1492. # d! Z* p* J3 `- g- `) O3 h
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' v$ h* @& m+ Z; B2 M: I9 I( ?& e
  1494. ; form/fieldset are special; if you include them here, the rewriter will; c- F6 Y% J  |  N% d
  1495. ; add a hidden <input> field with the info which is otherwise appended
    & r4 \/ q4 I  X8 {- P, ^
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.9 R' J3 [7 m( B3 }  s4 _" Z7 N) v8 T6 @
  1497. ; Note that all valid entries require a "=", even if no value follows.
    1 e2 A0 {; t9 @$ y/ D% M
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 K9 a+ p; B, H. k6 {) g+ z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 W- ]' @% t$ K& L
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * M; O3 Y, ?- V6 M. K( n7 l; r% i
  1501. ; http://php.net/url-rewriter.tags, J9 @8 S6 j9 |  Z& d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    , \# L0 K+ j( S! H& q
  1503. 6 u2 J  a/ x  |, C
  1504. ; Enable upload progress tracking in $_SESSION
    0 j* n2 u4 }2 z* }; }$ b
  1505. ; Default Value: On5 Y  r+ W1 W& @+ r' X
  1506. ; Development Value: On1 m# H9 N; C' A% t
  1507. ; Production Value: On
    " n, I* u7 z- J) p% r3 [
  1508. ; http://php.net/session.upload-progress.enabled
    ( X, J$ A# F% `$ t7 ]; q3 e1 ~
  1509. ;session.upload_progress.enabled = On
    ! g: N9 C6 w$ p: F' P, n% P

  1510. 8 A1 k! L( U7 H9 ?
  1511. ; Cleanup the progress information as soon as all POST data has been read  R1 W4 x+ {- `- H5 r
  1512. ; (i.e. upload completed).# r& G% s5 S! ]4 Z, a8 B& L; d0 [
  1513. ; Default Value: On. ~8 Z$ Y  A2 G4 ^, v- a
  1514. ; Development Value: On3 N6 l6 r3 s& T" E/ ~1 _
  1515. ; Production Value: On- J7 i! L  E3 F# G$ m
  1516. ; http://php.net/session.upload-progress.cleanup) f; I( c3 K2 u+ n8 ~( A5 p' L
  1517. ;session.upload_progress.cleanup = On
    % a8 K5 m% a" [1 L, |
  1518. 3 {2 g, n& U- c2 }7 [% M, R' O( L
  1519. ; A prefix used for the upload progress key in $_SESSION
    - \: _3 D' P- U3 z, S+ G7 Z8 b
  1520. ; Default Value: "upload_progress_"5 I8 G# J# Z# {+ k$ r3 }) x9 I
  1521. ; Development Value: "upload_progress_"
    3 ^" ?! w2 L) k
  1522. ; Production Value: "upload_progress_"# a' J6 ]: t  B( n" @7 B: F7 j
  1523. ; http://php.net/session.upload-progress.prefix1 a2 A. }# ~! a8 ^6 ^+ z
  1524. ;session.upload_progress.prefix = "upload_progress_"
    2 `' Q$ }+ G3 _9 r9 e, ?7 k

  1525. 5 a( D8 M- U  T$ h  w
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    6 `! z# r& N2 w
  1527. ; containing the upload progress information
    4 s3 `% a9 U& r( ]' o" j
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS": R: \0 D5 ]6 P/ U, k
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 u0 K7 n; k4 {) [! v! _
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . V8 S) ~/ f8 h6 N6 D/ A
  1531. ; http://php.net/session.upload-progress.name3 N( n; u8 v7 w5 S: g9 Z
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    - b% C5 a0 q9 ]- y2 `

  1533. + j9 Y9 F8 i2 n9 U3 S% _9 X+ K
  1534. ; How frequently the upload progress should be updated.5 Y# l2 x6 ^$ [6 g6 p+ v  q+ I
  1535. ; Given either in percentages (per-file), or in bytes/ j( W) H# q( `! u; @
  1536. ; Default Value: "1%"
    0 N' [0 _/ l+ p7 Q7 a4 X
  1537. ; Development Value: "1%") G1 u- ~) f$ v0 H
  1538. ; Production Value: "1%"
    7 K' e- I) B7 g4 a
  1539. ; http://php.net/session.upload-progress.freq
    , L2 ], t! Y% v) J; O
  1540. ;session.upload_progress.freq =  "1%"
    . M6 c! N4 N* A( \& ^0 {

  1541. % k5 e7 |2 ~, U2 m6 u7 [
  1542. ; The minimum delay between updates, in seconds4 y6 A# Z* b/ W1 o' S3 j
  1543. ; Default Value: 1
    - W. h2 u$ r* _
  1544. ; Development Value: 15 }0 s' D  Z2 r6 }6 d$ r: F" L
  1545. ; Production Value: 1
    : }4 i, a0 u' `& O
  1546. ; http://php.net/session.upload-progress.min-freq
    - F# `! H$ z1 u1 Q" O7 ~% T
  1547. ;session.upload_progress.min_freq = "1"
    / `* ~" g: P, m3 I) j

  1548. ) _% ]; f. ~3 \/ ^" Q0 }# F
  1549. ; Only write session data when session data is changed. Enabled by default.: \" z% k, o2 ]
  1550. ; http://php.net/session.lazy-write
    3 ~; S+ N# {6 h3 v( r
  1551. ;session.lazy_write = On  P7 k1 c, L& E

  1552. 4 \/ P  t7 U6 ~
  1553. [Assertion]
    # `- v& }9 n0 w2 }, d) ]
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ' @% `6 O# w$ M# P1 k( e
  1555. ; -1: Do not compile at all9 z% i8 {+ j2 Z" ^" Y
  1556. ;  0: Jump over assertion at run-time' c$ [5 q( d. O" v5 f9 s
  1557. ;  1: Execute assertions
    6 X# ^' U. B. L4 q5 Y9 l  @
  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)
    % K2 W5 @& J$ I
  1559. ; Default Value: 1  k2 M. R- C' M. x( `$ W
  1560. ; Development Value: 1
      h3 k0 }0 S. X1 l0 {
  1561. ; Production Value: -1
    5 {$ `2 m9 q, |6 G
  1562. ; http://php.net/zend.assertions1 G& D3 A2 V( E# h( D9 d9 ^. m4 Z
  1563. zend.assertions = -1
    # \( J" G# o5 z+ \1 S7 z8 `/ c" \6 G

  1564. 7 M0 n  K0 x7 e; n/ y
  1565. ; Assert(expr); active by default.6 ?% ]  h5 ]6 _1 f! s4 C0 M% A8 ^
  1566. ; http://php.net/assert.active) h" A1 ]5 u0 u) a
  1567. ;assert.active = On
    & A9 N- a/ R7 }4 A
  1568. $ F; ~$ I; h8 W, c& U. w
  1569. ; Throw an AssertationException on failed assertions, D1 [/ J$ s# a% a* {
  1570. ; http://php.net/assert.exception4 q1 ?3 k6 Q4 ^8 ~8 Y/ t- i; I
  1571. ;assert.exception = On
    8 H: o' Y! Q# J
  1572. ' `5 c: ^. l- e7 |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    * ]1 Q# F- i) G# r8 q4 j
  1574. ; http://php.net/assert.warning
    ' ^+ A; q: w5 a& J7 \& u
  1575. ;assert.warning = On( J, K, c7 y0 a, J; P+ w& q

  1576. ! t3 [" [; s3 ~, q) m) X
  1577. ; Don't bail out by default.
    # Z3 p' a- @& X7 d) ]0 M
  1578. ; http://php.net/assert.bail
    ; k4 ~# ^$ B' ^$ x+ @# i
  1579. ;assert.bail = Off
    ( L- t1 X3 ?6 o3 m5 k5 F- g9 U

  1580. ' _& m) v6 Z" Y# ~
  1581. ; User-function to be called if an assertion fails.
    $ a- f/ u: w& A; v2 R
  1582. ; http://php.net/assert.callback
      k3 E8 a2 D# V, h# U
  1583. ;assert.callback = 0
    3 i8 f: I9 R+ ]0 g

  1584. 5 Q$ F$ `  a% c1 V
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    7 ~9 c& l# d& O# B
  1586. ; error_reporting(0) around the eval().
    9 _4 f0 F. V" N' h
  1587. ; http://php.net/assert.quiet-eval; W8 q6 h6 P% z0 w# Q; q  w3 L' R
  1588. ;assert.quiet_eval = 07 F, m$ ^; b" M* A. ^

  1589. 8 k, x8 B& U5 o
  1590. [COM]
    6 m3 n7 ~, Z! f* p
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * E; }( P3 F) d# ?* g, A# j
  1592. ; http://php.net/com.typelib-file
    2 B* N+ _, @! w
  1593. ;com.typelib_file =
    $ Q& A$ J+ e7 n. c

  1594. & o! }1 Z2 l& Y9 N& k
  1595. ; allow Distributed-COM calls1 H* ~% e' }1 C; s
  1596. ; http://php.net/com.allow-dcom. D. m+ w# f( x8 i/ ?0 v  V
  1597. ;com.allow_dcom = true
    - h0 l" a# s4 H5 V* U/ V" n
  1598. % o( L+ l0 I( m: @
  1599. ; autoregister constants of a components typlib on com_load()
    6 O& {; B1 _/ c7 X# p. ?
  1600. ; http://php.net/com.autoregister-typelib# c" Z: @+ q; ~' U* K% L  y) b2 Y
  1601. ;com.autoregister_typelib = true% D/ O+ `$ W+ M
  1602. # P2 v$ f' R% o, `
  1603. ; register constants casesensitive
    8 p+ d5 ?7 _5 [* r
  1604. ; http://php.net/com.autoregister-casesensitive
    : V# x# J; Q% u* g
  1605. ;com.autoregister_casesensitive = false
    4 B9 t( a5 b) x  ~" `2 Z
  1606. 2 U8 z5 R  D0 r' B  }* ~- D" o
  1607. ; show warnings on duplicate constant registrations9 \/ I8 ^. V; c. ~7 G6 k
  1608. ; http://php.net/com.autoregister-verbose1 _  v* S, t& U. L5 [
  1609. ;com.autoregister_verbose = true" r- D; x$ D6 v5 \9 ]2 G4 g7 X( O
  1610. 7 y: V% f& M0 s9 a& Z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' o; d. z% K" Q  C) n8 J
  1612. ; Default: system ANSI code page
    , k2 ^& Y. y6 G$ x/ K
  1613. ;com.code_page=
      M4 N& }( _7 c! C9 U. v: _6 }+ Z$ @

  1614. 9 ?% L5 }. C. R- r% [4 I
  1615. [mbstring]7 i' H5 o$ c% k/ d- c5 ]/ o( t
  1616. ; language for internal character representation.
      b' ~) K$ Z$ u( O
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    8 X& i7 o/ j7 u" Z5 m
  1618. ; http://php.net/mbstring.language' H0 |, y  [: U. w9 ]
  1619. ;mbstring.language = Japanese2 E6 k8 V, p' D3 u$ k
  1620. # ^5 z: u3 z. ?" V' Z3 b
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 f, d6 \& ?2 S5 r/ {
  1622. ; internal/script encoding.
    3 U' N  T/ \. X& @( H! G, x
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)$ ]" ]; J1 }! y  W) k6 h
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : ]( s! e  D, X1 P
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( Q" Q7 l7 w  \; u% O
  1626. ;mbstring.internal_encoding =4 ]" f5 a" G; J) N. H" b

  1627. % s& w1 k! U8 p. t3 F1 t
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ w8 `  o% D1 ^( S6 J' Y4 W1 {6 U- v
  1629. ; http input encoding.6 g+ h. w! [- l
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.2 I2 `5 T) j/ P/ L5 X* A" V% k
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    6 J( A/ G+ v  e4 n0 \4 ^. \
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& A0 m4 {0 V6 T) n3 e$ a7 ~. `
  1633. ; http://php.net/mbstring.http-input4 Q+ ?: K) ^  N: B- R2 T
  1634. ;mbstring.http_input =
    4 P+ W& L# f& r1 P. m

  1635. & o" \+ }! w& U% b$ I+ c
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 H! a/ t% ?0 L1 l* E( _
  1637. ; http output encoding.1 b. m- N4 X" m
  1638. ; mb_output_handler must be registered as output buffer to function.
    ! T# ^6 m4 w% |0 o4 S- g
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.' F7 ?2 \; }% i8 a! O) E2 t/ j( K0 `
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output2 E: s! B' M7 ]
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    0 L2 d& U. ^* z, ~$ Q* \
  1642. ; otherwise output encoding conversion cannot be performed.
    ) G5 }& L# S/ q! I1 t5 R. K3 a
  1643. ; http://php.net/mbstring.http-output
    ; }4 J8 P- H& L; _
  1644. ;mbstring.http_output =
    3 v7 V6 x% I( X
  1645. ( n: J- j3 z- f% w% t3 P+ a6 ^8 H
  1646. ; enable automatic encoding translation according to4 c7 g, }  ^" F' z0 q0 J
  1647. ; mbstring.internal_encoding setting. Input chars are& {4 D4 S: b' @6 v, G# F$ E
  1648. ; converted to internal encoding by setting this to On.
    1 `, w: z( f8 C* R5 O0 F, ?- P
  1649. ; Note: Do _not_ use automatic encoding translation for
    - B" z' k2 e0 ?) M
  1650. ;       portable libs/applications.
    / D2 I# I6 W1 [+ s. h  y) I& s" U
  1651. ; http://php.net/mbstring.encoding-translation9 h+ I5 h; _, K5 K+ |( f* m
  1652. ;mbstring.encoding_translation = Off
    ' u( g6 r; ^' f; v4 M* c; Z
  1653. / g' _& c; g- a& l) Z
  1654. ; automatic encoding detection order.; A& I# O% y! Q' T/ W2 V! B
  1655. ; "auto" detect order is changed according to mbstring.language
    , |5 f/ t! F) g5 l" v, I
  1656. ; http://php.net/mbstring.detect-order4 `8 k9 D9 ]' }$ c9 l
  1657. ;mbstring.detect_order = auto
    + \# T0 \' ^) I" O: F8 f0 P, g

  1658. $ A$ y0 N" t. R" F: k0 u- I. }
  1659. ; substitute_character used when character cannot be converted) I8 O7 L: ?, V$ ]- n
  1660. ; one from another
    . Z6 R5 A9 g/ ?* ?# m' L4 ]
  1661. ; http://php.net/mbstring.substitute-character$ m: H7 ?& t3 W3 ?3 [7 E# B' d
  1662. ;mbstring.substitute_character = none; D9 a8 u6 e" g6 c
  1663. / `$ Z' v" L4 G2 w
  1664. ; overload(replace) single byte functions by mbstring functions.7 x; K8 z( H& F- O, ~
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),: i' O; e. [) O2 I& k9 {
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- ~/ P, F) o3 m) A2 v7 s
  1667. ; For example, 7 for overload everything.
    ; m3 @9 n% E8 T. X  e# _
  1668. ; 0: No overload  C) G. C( E. g! K" b
  1669. ; 1: Overload mail() function7 L. p5 r$ e! L
  1670. ; 2: Overload str*() functions
    & c9 S' a) T6 S( Z$ n
  1671. ; 4: Overload ereg*() functions
    ) ]0 v, A) c8 [1 G0 O
  1672. ; http://php.net/mbstring.func-overload3 A6 P1 M  c7 n- _% K% U
  1673. ;mbstring.func_overload = 0
    + e% j( m* i6 C( e, G( J' L
  1674. ) u2 G' z; [; I6 T; q
  1675. ; enable strict encoding detection.  O' M9 @7 [9 p9 w( |) d  s" G
  1676. ; Default: Off
    + S& I# X4 s  q# h' Y
  1677. ;mbstring.strict_detection = On  H5 w2 x5 |5 q: p8 @
  1678.   I/ P/ S$ g$ v3 N: O
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 U% t+ R+ q8 y- t
  1680. ; is activated.$ p8 p- c1 c3 ^  a
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # \; s3 F) }/ q4 ^8 D9 M
  1682. ;mbstring.http_output_conv_mimetype=
    & A0 `+ @# `5 P+ J! E2 h* ~
  1683. . N- z4 c  j/ k$ S) Z6 r% c$ o
  1684. [gd]% v; C! s0 X; r8 v' [
  1685. ; Tell the jpeg decode to ignore warnings and try to create+ B/ a1 ^5 D( [' H* |2 z1 e+ z% R
  1686. ; a gd image. The warning will then be displayed as notices
    2 `" s. E1 V& Z; V5 u# m$ p7 \% g% r
  1687. ; disabled by default
    4 k2 \" W$ L" ]; R& G% E- M! O$ g
  1688. ; http://php.net/gd.jpeg-ignore-warning
    , g& N# X, M% h* T# ]
  1689. ;gd.jpeg_ignore_warning = 00 Y( D6 [/ q: z: L  f! r

  1690.   b3 S% Y; G4 @! J  q8 p! E
  1691. [exif]
    / M- S' q0 j4 M$ K5 C; W: Y
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    9 o5 I: ?; J$ ~# w5 ?2 z9 G
  1693. ; With mbstring support this will automatically be converted into the encoding
    ) l/ U8 `$ U; i, Q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding; y# T+ c; a! F: ^6 B1 ~0 I
  1695. ; is used. For the decode settings you can distinguish between motorola and  {2 W: M: R4 i
  1696. ; intel byte order. A decode setting cannot be empty.5 e; }% `( S, Y" E4 l! v% ]
  1697. ; http://php.net/exif.encode-unicode
    , D0 |9 q' r' b% M4 a' c5 W
  1698. ;exif.encode_unicode = ISO-8859-154 ]* f" C7 ?$ ?) ~

  1699. - x7 ^: d9 i8 N. q
  1700. ; http://php.net/exif.decode-unicode-motorola  L5 \$ Y8 h! I9 W
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    6 k( R- J+ K/ f% R+ n) k

  1702. 6 F5 Y2 k( r/ V  q
  1703. ; http://php.net/exif.decode-unicode-intel
    ( h  @; P" P: r) }. M7 T- J
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    % l/ G; u# C8 A. [+ d6 G

  1705. , J/ x- ?# k7 y8 U$ O" [
  1706. ; http://php.net/exif.encode-jis; N" L: Y! a7 z5 V( @5 D  ^
  1707. ;exif.encode_jis =4 B& Y2 ]9 U- g9 H/ n/ w0 j

  1708. % Q) _# U3 C- ~% `9 k' V
  1709. ; http://php.net/exif.decode-jis-motorola
    3 v, _% H+ F+ y' n8 v
  1710. ;exif.decode_jis_motorola = JIS' M8 f& t( M+ Q" w6 ]/ f+ g
  1711. 1 h- m. k7 j7 ~& n0 y  c
  1712. ; http://php.net/exif.decode-jis-intel
    & S/ v& b5 B7 B  ~: P
  1713. ;exif.decode_jis_intel    = JIS. {) g& y$ D6 h* ?) |" W6 W

  1714. ) U" m! ^. A2 t# ]
  1715. [Tidy]
    - x# A3 ]' l) h4 d1 l9 v4 X' Q2 p
  1716. ; The path to a default tidy configuration file to use when using tidy
    2 y  _+ w7 t5 k: _
  1717. ; http://php.net/tidy.default-config3 A6 g0 P1 _: R0 K4 S% }2 q% z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg5 G& v' d5 j1 U
  1719. ! J; [% @% v+ ~+ ~1 n
  1720. ; Should tidy clean and repair output automatically?9 P* J2 Q+ k: c8 d& J! `# k: |* K
  1721. ; WARNING: Do not use this option if you are generating non-html content' X/ }* w  y' q9 x% L( R( u
  1722. ; such as dynamic images1 ]/ h; v0 y% R
  1723. ; http://php.net/tidy.clean-output
      J0 W0 k. Y# P+ Z/ ~
  1724. tidy.clean_output = Off% |& Q) t9 W' W4 ]! T' T7 O8 ?
  1725. 3 N) X3 B. F9 D
  1726. [soap], Q) d# H3 s3 I0 L3 D* r
  1727. ; Enables or disables WSDL caching feature.. S' Q, [; X# d1 L7 Q
  1728. ; http://php.net/soap.wsdl-cache-enabled
    : |. t7 D3 G: V8 n) M
  1729. soap.wsdl_cache_enabled=1* y$ Z3 @; R4 \- O% x$ A' V

  1730. : L& C5 Q  u3 |5 K7 g
  1731. ; Sets the directory name where SOAP extension will put cache files., w# K% y! {  n; u* ?; `
  1732. ; http://php.net/soap.wsdl-cache-dir
    ' @/ v0 J% `+ U+ h1 t) @
  1733. soap.wsdl_cache_dir="/tmp"
    3 k) I6 S2 x- G6 G. E

  1734. 5 d, e  k; ~5 o% A; N4 E8 ?
  1735. ; (time to live) Sets the number of second while cached file will be used4 O# a6 d* Z' q) q- a5 n# J- z
  1736. ; instead of original one.
    9 D. Y2 D# k; o) t; c8 z4 x, g! b
  1737. ; http://php.net/soap.wsdl-cache-ttl
    # m& `5 I' Z1 ?; ]: C" o
  1738. soap.wsdl_cache_ttl=86400
    ! J7 v' w. g& a+ C

  1739. 1 \  D6 u/ N' T* L5 v. c$ V1 X
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . g3 b- J% H9 n* T" J  G0 ~8 L
  1741. soap.wsdl_cache_limit = 5
    ( C: i9 |( @/ p7 Z
  1742. ; I3 a' m2 L% H
  1743. [sysvshm]8 b/ n$ p7 [& V/ x; V
  1744. ; A default size of the shared memory segment
      p5 @) ~& e# b6 Y8 `6 R+ F1 ^
  1745. ;sysvshm.init_mem = 10000
    3 \2 Y' @1 R( c* ^3 z
  1746. ! I( |# n3 p% y3 K/ o
  1747. [ldap]+ t6 ], N: Q" j, P& j
  1748. ; Sets the maximum number of open links or -1 for unlimited.; |1 y# p: W, i  h' P0 s
  1749. ldap.max_links = -1
    ! \% ?/ j$ c* _6 l

  1750. " s$ M8 N1 E* X0 Z/ S
  1751. [mcrypt]
    ) p: q( i9 S7 x6 ^' ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : O* v- z" R* L" U- I+ k
  1753. 9 h. H( k3 Q$ r& g
  1754. ; Directory where to load mcrypt algorithms
    1 J' P& Z, E# [
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 ?) B! W' b- A5 _. ~3 S$ B
  1756. ;mcrypt.algorithms_dir=; p* \, X% Z) t6 b
  1757. ( C# u" m8 f3 M) a* s' _' l( Y8 a
  1758. ; Directory where to load mcrypt modes
    2 y! d1 h; V% X- t$ x
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) L1 J+ N: j- K% X3 D9 E
  1760. ;mcrypt.modes_dir=- F. \9 f1 O+ i

  1761.   E2 W8 t/ V7 L* H! d
  1762. [dba]
    * v/ A0 d. s+ `2 T4 o1 Z+ u1 D
  1763. ;dba.default_handler=
    - e7 D( c! N3 ~) M8 d
  1764. 3 S; Z, j* `5 Y
  1765. [opcache]
    2 d5 T1 \  ]) e. d1 ^2 q
  1766. ; Determines if Zend OPCache is enabled" Y7 {9 T: J2 m
  1767. ;opcache.enable=0; ]6 E* _  j( M- v
  1768. * ^  N0 C+ _8 d
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 Z) Y% s9 h! b2 i, _
  1770. ;opcache.enable_cli=0/ @3 m9 m" b7 ]2 q) e

  1771. . ?. w: P# [) q8 Z: T- c
  1772. ; The OPcache shared memory storage size.
    / c2 ]2 w5 d6 a/ V
  1773. ;opcache.memory_consumption=647 z( L  W, V1 k3 N  C9 s' b

  1774.   z5 q. z2 x  g& p, t( f: c- @# U
  1775. ; The amount of memory for interned strings in Mbytes.# u" g0 Q* S8 m% Z
  1776. ;opcache.interned_strings_buffer=4. Z) @. r' [: N) E, ~+ T
  1777. 3 G9 ]3 V* n/ x  O; A% `. c7 j
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.! M( t  ^  g2 m9 B
  1779. ; Only numbers between 200 and 1000000 are allowed.
    * ~: u1 X* C* r  [& N- w
  1780. ;opcache.max_accelerated_files=2000
    8 f0 n% ^. I5 z+ d2 d) `7 s  \0 C
  1781. ; f  C# i. p5 [2 a' \; J. x1 O
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 [$ m/ L! J3 }' j2 ~
  1783. ;opcache.max_wasted_percentage=5
    7 H( Z4 m: t9 P3 U$ z" X

  1784. 4 L7 Z: {0 L2 w7 p/ U/ M% W' T
  1785. ; When this directive is enabled, the OPcache appends the current working
    ; I) _% }1 \2 t% j
  1786. ; directory to the script key, thus eliminating possible collisions between
    ( o9 P: U9 D2 I  W6 v1 }# F! k
  1787. ; files with the same name (basename). Disabling the directive improves
    # V, W2 b" W2 v8 m
  1788. ; performance, but may break existing applications.
    ' m5 R* o4 R! m$ C+ I( n
  1789. ;opcache.use_cwd=1
    " {. Y- C3 y  w

  1790. - s; I* A( |3 n- D/ l
  1791. ; When disabled, you must reset the OPcache manually or restart the
    2 Z9 A9 F' h! A* F
  1792. ; webserver for changes to the filesystem to take effect.: E# S; e+ H& C7 F  q: h" J
  1793. ;opcache.validate_timestamps=1* o6 c6 ^0 L+ j: A7 d+ d/ O/ ~: Y
  1794. 6 c  ^, x0 j+ P
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) Q- r. `# x5 o! U
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    , J+ b; R0 t/ a5 g. }# B
  1797. ; once per request. "0" means always validate)& {3 B( g( n' }; y% R: w. M
  1798. ;opcache.revalidate_freq=2
    * p4 |( E4 I5 P6 j' m4 ?* {
  1799. 4 F! i, x6 k6 q# }
  1800. ; Enables or disables file search in include_path optimization
    " V8 y4 j5 L8 B! i
  1801. ;opcache.revalidate_path=0: B8 U8 a! D0 j' _# N7 A

  1802. + S% v* c5 R' f& H2 D* ]
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the0 w( h; @0 k2 j* g- _- B; S0 |
  1804. ; size of the optimized code.! e. j+ {. c7 _" E! G7 e9 V
  1805. ;opcache.save_comments=1" F' U, r& t. ~; x& y" W" A8 J

  1806. ) c3 e1 p6 q+ x+ e/ `) I& B6 ], p
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code' @- P* P) I8 |# I
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.5 }8 C0 {; h1 J+ a$ ^
  1809. ;opcache.fast_shutdown=0- a/ t# H! f6 K
  1810. % E3 _& j$ g' y9 J( y% h$ @
  1811. ; Allow file existence override (file_exists, etc.) performance feature.- @, v: y' Y; ]  Q! X1 e  ~: h
  1812. ;opcache.enable_file_override=0  @( S' B  d+ }$ ?5 h

  1813. 3 ^* T3 M# j, k- W) y  U
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache4 [: Y0 U: f. Q
  1815. ; passes
    ' f7 t1 j! |! i/ L6 W% u9 ^
  1816. ;opcache.optimization_level=0xffffffff
    4 ^3 O7 u. j7 @. v7 h+ T, x; Z

  1817. 4 _* f. i" h; @7 S+ M) e) w
  1818. ;opcache.inherited_hack=1; X, f* U, R* p4 Y& F2 i. v# {
  1819. ;opcache.dups_fix=0
    4 ?' I4 d, I6 G
  1820. : _( Q: V+ w4 V$ \) [6 F2 d) S
  1821. ; The location of the OPcache blacklist file (wildcards allowed).% j; T! y5 g& X
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    6 F3 V6 g1 b$ r. i' o3 ]5 \
  1823. ; that should not be accelerated. The file format is to add each filename- g% b$ S% p; D! w& v# P
  1824. ; to a new line. The filename may be a full path or just a file prefix
    : \- |+ x, _  ^0 z+ f
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, ]8 b0 W6 e5 x- I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 t. D: U- Y4 E8 K6 R
  1827. ;opcache.blacklist_filename=
    / Y' d& w' {$ c* K/ J

  1828. ' n& z5 z9 D5 E% C8 D# |3 _8 ^* [& Q2 A
  1829. ; Allows exclusion of large files from being cached. By default all files
    ( x2 v& v# r' P1 m0 U1 C2 F
  1830. ; are cached.) |% Q" M2 O! n# p- O
  1831. ;opcache.max_file_size=0
    , P+ D. H2 @8 F
  1832. ; @7 B6 r" @, [/ o* N  I' J, t
  1833. ; Check the cache checksum each N requests.
      l! n8 D" s7 E1 k' t# L
  1834. ; The default value of "0" means that the checks are disabled.
    0 L$ l7 o! q, u/ T
  1835. ;opcache.consistency_checks=08 N+ `6 j% G! {4 Y

  1836. 6 {1 P( Z& ~# _
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache  \# z" o+ q: B8 M! B
  1838. ; is not being accessed.; x# R+ a: T) Y
  1839. ;opcache.force_restart_timeout=180
    : U+ N! i$ K- W' A2 ~

  1840. 7 g7 Y* Z/ N: {3 R1 h
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    5 A5 a  F/ F6 A) A& z& }
  1842. ;opcache.error_log=! E, [  y/ ?' |- l
  1843. 5 T8 I, f, R. ~1 F, \8 J
  1844. ; All OPcache errors go to the Web server log.
    : X5 \3 Q2 D  y7 j
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ; }  H. y  P) ^/ }2 A3 C
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ( G2 h3 q/ W9 ?- P' P- _. N1 B& }
  1847. ; debug messages (level 4).
    5 [8 I2 F0 L9 H- @
  1848. ;opcache.log_verbosity_level=1" e7 L& i7 |  [+ W0 z! y4 B! d' b
  1849. * a: {7 q; ^5 Q+ b( }9 F1 B9 B
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - }: G( t% t/ Y" B* n# N1 Z& O7 N: T
  1851. ;opcache.preferred_memory_model=
    ' p+ ~6 r" x7 @6 o5 O
  1852. 4 M# F) |9 D7 ]; P6 L& V1 k$ F
  1853. ; Protect the shared memory from unexpected writing during script execution.
    2 E+ U  M& C" ^) p8 J2 H
  1854. ; Useful for internal debugging only.
    1 y& _/ |$ V! o; ], d! t
  1855. ;opcache.protect_memory=0  ~& J; i$ |& ~! n4 s
  1856. $ d( Y8 g' J! A
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    / l4 m' w$ B9 }/ h$ U) ]. }: L
  1858. ; started from specified string. The default "" means no restriction5 }7 F5 ]; R; n( T2 Q( O9 Q
  1859. ;opcache.restrict_api=. [+ d6 a; C$ e8 x/ k# X
  1860.   ^7 e1 O5 p$ K
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP+ Y  N0 Y  Q3 L0 Y7 X. P# [
  1862. ; processes have to map shared memory into the same address space. This2 d& T% Y- \  F. R% D2 E
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    + E3 l' z' n3 ]' k
  1864. ; errors.
    * x/ a8 z3 K2 U4 t( S( Q
  1865. ;opcache.mmap_base=
    9 i2 ~: R2 }; |  X- t6 j8 D4 Q- Q) Q6 B

  1866. 7 B: o8 r: ?" Y# @- S' I% X7 K& @
  1867. ; Enables and sets the second level cache directory.
    1 e; F: P% X9 X: l
  1868. ; It should improve performance when SHM memory is full, at server restart or# Q  E5 l2 L  G0 ~  b
  1869. ; SHM reset. The default "" disables file based caching.+ M  E5 Y* h: X! A8 X/ Z1 K
  1870. ;opcache.file_cache=" }# i4 A8 [# l/ o3 s" V, s

  1871. 9 p- r2 T& X# v6 t% e0 T/ z
  1872. ; Enables or disables opcode caching in shared memory.
    4 h6 N; W  E' c- p
  1873. ;opcache.file_cache_only=04 T1 t4 `" Q* h: p' \
  1874. " ~2 T% ~9 I  S* w3 z
  1875. ; Enables or disables checksum validation when script loaded from file cache.8 Y7 P: Q! ^# f# |+ L7 P
  1876. ;opcache.file_cache_consistency_checks=1
    - P: T1 L% R7 V) [( R2 o
  1877. + z+ B$ s$ T. b/ a% o' u
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    & {1 i7 q) ]% _3 G4 x2 Z' |" c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file2 i1 b) W6 ]+ x: M8 V+ ?
  1880. ; cache is required., x  \" s( |9 R& g: ~7 R
  1881. ;opcache.file_cache_fallback=11 t1 }) O4 }1 H2 _9 h5 o

  1882. 7 C3 C& f. T- b; w$ R
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 V! p* F/ {! b  X
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 ^$ ]' |6 k, o2 i& D
  1885. ;opcache.huge_code_pages=1: f) \( e/ Y$ F

  1886. 6 E1 V; c: A) D( P' d  }6 `
  1887. ; Validate cached file permissions.
    - d: o( t. ~* K; L
  1888. ; opcache.validate_permission=0! z$ N& M/ \, V* C

  1889. - x2 V6 I+ D' w  H  k
  1890. ; Prevent name collisions in chroot'ed environment.
    9 N" S3 h5 `! U) O; W8 S
  1891. ; opcache.validate_root=06 b: h" U! A& [% S1 e1 W+ u& w
  1892. $ q& |- E  I, U# G3 J& d
  1893. [curl]& \. ]9 B7 C+ B: \& N3 z/ y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an4 ?2 v3 x2 w( N1 d5 s+ u- O
  1895. ; absolute path.$ m6 D5 c* i$ D1 p& F* ?- m" @: P
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( e5 N* S8 H% O2 p7 p

  1897. 9 R, d# ~) n) ?5 V& ^" L
  1898. [openssl]6 C# T/ V: m; u' g
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 |! y( x- L. R8 Q8 M9 S. T9 u( e; v5 b
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should7 _  m6 _: E# G( |
  1901. ; not specify a value for this directive as PHP will attempt to use the9 E8 Z' j* ]& v: B
  1902. ; OS-managed cert stores in its absence. If specified, this value may still1 j& H1 B9 ?* r8 j2 c  w" [7 T
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & e/ o2 [: O1 |9 y1 ^  X
  1904. ; option.
    0 |3 E. [5 C( t  {+ `. u
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt& t( x( Q$ S: f: m9 n2 g
  1906. ( q0 R# L6 c  _  t" I, A2 x$ ?
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ! c, j+ \" K2 f
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    % ^: S7 f1 `4 ]) U/ e# P9 `
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    / I/ _/ F- d$ ^: N1 N3 G
  1910. ; Most users should not specify a value for this directive as PHP will1 e; U+ k; v" j0 i% M
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & P% J2 h, K. V" H/ ^/ y, I% G
  1912. ; this value may still be overridden on a per-stream basis via the "capath"- O: |, v5 C9 N3 m  w& A9 Y
  1913. ; SSL stream context option.* J/ A! n" b5 y
  1914. ;openssl.capath=
    5 k0 J! Y7 M$ Y9 W5 I' D; v' E
  1915. 8 i0 I) @  Z) v  g) ]* ?
  1916. ; Local Variables:
    4 |6 A  M3 q+ @0 t: T& P6 Q
  1917. ; tab-width: 4+ G( x4 N4 t- G7 I  @7 L' ~
  1918. ; End:" M- t% i2 l0 z  P: O, Y
  1919. 6 O  Z4 O' ?" A1 L' d4 O4 c4 _
  1920. ;eaccelerator0 g; q5 T1 d. ~" |! j

  1921. 7 _+ ~/ `. X- t& ]1 }9 \
  1922. ;ionCube
    % u$ G" E/ W5 }8 ~6 `
  1923. & \& a$ e2 Q1 I6 `  p- ^9 I
  1924. ;opcache
    9 z& h, L& \% P, ?* B/ d
  1925. : q* @. F5 v+ `
  1926. [Zend ZendGuard Loader]
    ' m( h* d4 T# I1 U4 D+ M9 T
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.  v/ v1 r6 ^) {. {  t# p" n  a
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so# y5 o- s8 w- y9 ]
  1929. ;zend_loader.enable=1* F2 m" n+ w' h+ i8 W2 o
  1930. ;zend_loader.disable_licensing=00 `6 @/ k, f# D5 r* a/ e, C
  1931. ;zend_loader.obfuscation_level_support=3
    ; a8 p4 n1 c& p4 I, G2 z
  1932. ;zend_loader.license_path=
    6 b8 b* R' R, g0 s0 G" P
  1933. 8 ?- \9 V8 d& s) a
  1934. ;xcache$ ?7 s7 q5 ^/ ^! A  t. _
  1935. 3 S, N( j3 ?0 {! D, {; I$ h
复制代码

8 O! ?5 W% \, c5 h5 n. e: e8 B/ v$ m: k* X) e# ]7 R
! ~, z9 a7 ]; W# H; r

7 g' U2 a5 y2 ], f
( t+ J0 C/ l; q+ ]- n) v6 f) H6 p
9 L3 c, P9 {! z6 b; Z+ o6 ?5 K8 v/ Y3 H; p  u1 c
PHP5.6版本原始设置7 ~0 E0 }2 W0 x; R6 y( p2 V0 M2 ^2 g
1 U7 G! Q& B! v/ L) }
  1. [PHP]
    - E* q( [3 n2 Q

  2. ; O+ R) O* ]+ |9 X3 m0 c
  3. ;;;;;;;;;;;;;;;;;;;& A7 p- F5 B6 [- F0 f" E2 S
  4. ; About php.ini   ;
    ! a1 O; V' F$ C; b( r
  5. ;;;;;;;;;;;;;;;;;;;
    4 i9 y& M) L- q" v
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    & Q2 i0 r( @) B, p5 P$ @. p4 D: k
  7. ; configuring many of the aspects of PHP's behavior.. p( d3 ?) z. a3 _* ]- O: q

  8. 8 ]. E. ?9 x+ Q2 s% d+ w
  9. ; PHP attempts to find and load this configuration from a number of locations.+ g: ^2 t: C+ n/ H
  10. ; The following is a summary of its search order:+ S) s! U: i. O- I+ d3 K3 ^
  11. ; 1. SAPI module specific location.4 H. r9 E  M. p2 x8 t) I- l5 h
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- l" `" I4 d% F+ U8 x3 N* I+ l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)% {* y" ~, ^1 J7 K( s- u2 s5 A
  14. ; 4. Current working directory (except CLI)
    5 x" F2 }2 [- ^7 R+ i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    " H; c0 N! B  q8 M8 W8 W: C
  16. ; (otherwise in Windows)
    # z4 R  o, o0 }% }- m3 V) r5 b: g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% l0 L) w3 n, i8 D/ T3 d6 J; r0 w
  18. ; Windows directory (C:\windows or C:\winnt)
    6 M5 }  j4 y& P  O
  19. ; See the PHP docs for more specific information.5 M4 ~( B* t9 u& F
  20. ; http://php.net/configuration.file. j6 U) n6 w8 R- [

  21. / X3 H. O% a" `, b7 r
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - ^5 v; ]& W- B4 ~: U+ s$ O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 d$ ]2 R' _2 Q0 |: T
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 K; o* \4 \7 ^# |' `# W
  25. ; they might mean something in the future.
    3 b" V" \; I1 [% t2 p7 z) X% r, D
  26. % P+ C2 ~/ ?+ z6 Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ A+ F/ f* A8 L- a5 p- N
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : G) r0 C) T0 w: [* h
  29. ; following the section heading [HOST=www.example.com] only apply to4 z2 P4 b! r4 d" ?
  30. ; PHP files served from www.example.com.  Directives set in these
    9 s! y+ X; y5 h. `% C7 m8 X9 g
  31. ; special sections cannot be overridden by user-defined INI files or+ o  W2 d6 b0 {* {- ^7 u
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    0 z: F2 `) F2 L% C5 u
  33. ; CGI/FastCGI.: _+ c+ ?, E2 E& A
  34. ; http://php.net/ini.sections
    + b8 V7 _. O' d  R: }4 V

  35. ) D( N' C. {% P: ~
  36. ; Directives are specified using the following syntax:
    ( x$ F( C1 y- P% ]8 _0 [  D4 C& A
  37. ; directive = value: n: Q+ v: \4 k9 w
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 i) _; v) g1 I' u3 U' K
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 _- |% X5 ^- h& E6 b! \2 D
  40. ; There is no name validation.  If PHP can't find an expected/ d, ?: _/ Q4 `5 N& r8 k' L% x
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 c4 ~) H( B3 O
  42. * c9 v5 _/ \8 H- v/ @2 T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 `: N- H) n0 l1 J: I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# D% K) [: d6 Q* f$ L- L( A
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ P9 C; ~) l! d: ~6 B8 I9 O6 t
  46. ; previously set variable or directive (e.g. ${foo})
    0 ?0 }6 ~0 H; S+ d  D# W. R

  47.   f& J9 o4 Y8 f) }0 A6 ]7 i7 k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 Z) z& n* h9 e) L  o7 ?
  49. ; |  bitwise OR$ m# k' W$ Q, C
  50. ; ^  bitwise XOR# r/ u2 C) H; e+ e! R' c: P% u9 I
  51. ; &  bitwise AND
    2 P, R# T) y1 E$ I. V/ B
  52. ; ~  bitwise NOT. i/ Q$ G# T* n' s
  53. ; !  boolean NOT, M$ U: D" I8 d7 i; Z" g0 Q/ v' r2 O
  54. $ j+ i$ V: Z5 H4 Z$ i/ W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.) _" n# e+ x8 T' {. Q! G; T; d
  56. ; They can be turned off using the values 0, Off, False or No.
    8 A0 ^+ G0 j  r# P
  57. 8 x2 L; \3 E1 x( z8 q
  58. ; An empty string can be denoted by simply not writing anything after the equal8 F. n. a: J! t" U* [6 S4 u
  59. ; sign, or by using the None keyword:# B! M: ]6 u' [

  60. " o4 u: Y8 y; l8 e. }# g/ B' S5 Y! |4 n
  61. ;  foo =         ; sets foo to an empty string
    ! {* j+ s# v! o( b& I4 o
  62. ;  foo = None    ; sets foo to an empty string
    ) W+ ]# W. `/ v: C
  63. ;  foo = "None"  ; sets foo to the string 'None'
      F" M0 u+ n2 C* K( ^$ _  T/ r
  64. 4 q. w$ B) d0 Y7 F
  65. ; If you use constants in your value, and these constants belong to a
    1 k6 I, a+ V+ w% s
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),. ^% s$ M  Y. b8 }2 c- n; j
  67. ; you may only use these constants *after* the line that loads the extension.
    % A) W: p2 _( c7 W! c5 w* V
  68. , ?8 I; X0 q# R
  69. ;;;;;;;;;;;;;;;;;;;8 `; F, m; [1 M8 q! a! ]
  70. ; About this file ;( e+ t. L6 }. y" `* w9 |
  71. ;;;;;;;;;;;;;;;;;;;
    & w9 o6 X  b; Z
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( g- ^1 ]+ `# n3 T! I
  73. ; in production environments and one that is recommended to be used in
    ! E; {* @# c( U- s: u9 ]0 Q
  74. ; development environments.
    6 K9 l& i1 ~3 v

  75. # `' w- Y/ ]0 G) g( [0 Y5 F) S
  76. ; php.ini-production contains settings which hold security, performance and7 c* n% P5 o' H4 y& O6 }7 W
  77. ; best practices at its core. But please be aware, these settings may break
    / M+ L% j7 u) Z6 V' M9 Z0 W0 {( J  u$ u
  78. ; compatibility with older or less security conscience applications. We
    . \3 q5 F$ O/ A6 w4 B5 r" c; z
  79. ; recommending using the production ini in production and testing environments.
    - ~' P: L* O5 W5 X5 x& }5 d4 d
  80. 3 A) ^# I( K9 f1 E' ~6 Z6 v
  81. ; php.ini-development is very similar to its production variant, except it is" m3 E7 i5 p2 g4 E, W! C6 K0 g
  82. ; much more verbose when it comes to errors. We recommend using the
    % H! Y" `2 l; p
  83. ; development version only in development environments, as errors shown to
    ; P( \3 ]1 r9 b- p# ?4 g; `
  84. ; application users can inadvertently leak otherwise secure information.
    ; w3 p+ u0 T1 i' Z# L
  85. ! p5 ~% m2 ~+ ~0 o
  86. ; This is php.ini-production INI file.
    7 A0 ]' [" K0 h

  87. ( x8 D4 n% `$ \
  88. ;;;;;;;;;;;;;;;;;;;
    ' |; O# {: S1 S; T1 V
  89. ; Quick Reference ;
    / V% h1 j, O' O; @/ f" u
  90. ;;;;;;;;;;;;;;;;;;;1 Q4 W% S+ R. d  \# I
  91. ; The following are all the settings which are different in either the production
    6 ?+ _1 S/ J" S' w! }
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    + C+ A/ O, C) B7 d' U
  93. ; Please see the actual settings later in the document for more details as to why: Y  \7 R# w# L" p- S0 @
  94. ; we recommend these changes in PHP's behavior.
    2 g5 A* c- u0 n

  95. 6 r7 W! B1 g8 U3 K, z2 b
  96. ; display_errors! B( A) _( D# |' L6 ^
  97. ;   Default Value: On
    % c! M! T, V& W1 i& t# x
  98. ;   Development Value: On3 Z7 Z( @, P0 C- t! v& r- l
  99. ;   Production Value: Off: {+ s- O. ]. d  V( b2 Z1 a

  100. % O' W# v; J: R0 I! @
  101. ; display_startup_errors' @  z& W( P" P& z$ e/ p
  102. ;   Default Value: Off) m. T# E) m2 r& ?* n, p8 y; X2 ?
  103. ;   Development Value: On
    0 h* j+ p, @$ m' u
  104. ;   Production Value: Off
    . y8 h( H1 `9 c* @
  105. 2 b7 l8 _4 ?& b
  106. ; error_reporting
    2 t  f) W4 }. a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 O5 W3 z) I0 z# T. [, j
  108. ;   Development Value: E_ALL
    , K* s: T' T- M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # P& H- w; C" o, j1 v/ f7 C/ l
  110. / x7 X1 z4 G. ^! g9 Y5 k( `
  111. ; html_errors
    2 B/ c5 P$ J' z7 E: M  k
  112. ;   Default Value: On2 Z2 s! i% U' A3 u4 Y+ L
  113. ;   Development Value: On
    " w* |, U# c5 l
  114. ;   Production value: On
    7 ~' E2 R2 y: e

  115. 6 |- |3 @( p4 N3 e* l6 q3 }
  116. ; log_errors2 v! f. \9 F5 `2 U. ~5 s# @( \) P
  117. ;   Default Value: Off
    % b* W% l# a6 \+ w
  118. ;   Development Value: On
    9 U$ S# }2 h3 O" w3 y4 Z
  119. ;   Production Value: On4 H: a4 m6 X, U6 Z* d! }0 q! r
  120. 6 r5 _# \/ `! |) I6 l/ u5 V" t  E% T
  121. ; max_input_time
    * S6 ~% Z* x- H* J8 r% T
  122. ;   Default Value: -1 (Unlimited)5 ~: J% b! L7 z, u+ w) Z4 S
  123. ;   Development Value: 60 (60 seconds)7 q4 h. L6 o  r
  124. ;   Production Value: 60 (60 seconds)2 F. \6 g9 O) ]! d6 T. T

  125. / e" O# J$ a+ U) P' k4 J/ D
  126. ; output_buffering
    7 K% i3 \( `9 h0 |: k0 y
  127. ;   Default Value: Off
    4 i1 q! A/ i4 t3 c$ r7 t
  128. ;   Development Value: 40964 `  W, ]; K$ Z: z' \0 w
  129. ;   Production Value: 4096+ ?# y  r$ k7 i1 j" U* R

  130. ' u5 t8 I) I" U3 D, l
  131. ; register_argc_argv
    & I5 b7 B0 S+ M; M( W  L
  132. ;   Default Value: On$ w. T. z# s3 i, \  Y
  133. ;   Development Value: Off- J6 r( Y2 }- T( ^! W! K' B4 G
  134. ;   Production Value: Off: A% x- U! o- H0 O
  135. ) S: g' @' j' r3 P8 T; k
  136. ; request_order% b: V5 k/ e. N
  137. ;   Default Value: None
    7 j: q7 e7 R3 W( D
  138. ;   Development Value: "GP"4 P2 y  Y% o; p* a, I% u
  139. ;   Production Value: "GP", o' t- i- B3 ]# p
  140. 4 Q: f, j, t; A7 `1 c
  141. ; session.gc_divisor' a0 v; N8 D  b) {( p3 z9 P
  142. ;   Default Value: 1001 K8 v8 y  M- _, W
  143. ;   Development Value: 1000: }4 _- `' ?$ {* J; l# h
  144. ;   Production Value: 1000
    3 |3 s! ]: S0 F- Z2 j- w6 ?
  145. 9 O! D0 v% c0 \3 i& G6 d: l
  146. ; session.hash_bits_per_character
    3 s; ^: N( ^! f
  147. ;   Default Value: 4
    ! u- O  G9 R8 D4 h
  148. ;   Development Value: 5
    ; n5 N! u+ b0 W
  149. ;   Production Value: 5
    ! \' L& E; f/ X/ t9 u7 F; c: b8 t0 W

  150. 4 F9 `, W: u, F( m: Z
  151. ; short_open_tag
      H$ `+ p. X4 v$ V2 U) c# j- ?! r
  152. ;   Default Value: On
    + R% w/ p4 P/ A* w9 K% H  [
  153. ;   Development Value: Off
    6 s, U' c: y+ s1 Z" t4 D' U
  154. ;   Production Value: Off
      P2 S8 N- ^9 h, `; \" L: S& C0 p  F# ~
  155. 7 @8 }( X/ g7 h6 B( A
  156. ; track_errors/ ?3 G1 p5 Y5 Y  h" c0 k
  157. ;   Default Value: Off  k( k$ ^& e6 J5 E/ }2 ~
  158. ;   Development Value: On3 t% U$ g, X  T: _+ W' c6 R4 a$ E
  159. ;   Production Value: Off9 p7 N, A& R- z, w" ?
  160. # U9 }+ E5 \  t5 I' x8 }
  161. ; url_rewriter.tags1 [2 E9 Z! |$ Z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="2 c" {/ i# H2 ]% s. [4 t
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 i% Y" ]6 e1 z, {- ?; h8 d
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 N+ J' h* \4 W$ x) T8 R, w! W" {

  165. , L) v* k6 k+ B+ e( G% o" q
  166. ; variables_order
    # D+ C6 L9 X+ n$ p( V
  167. ;   Default Value: "EGPCS"
      }* g$ Q$ e7 f. q: @8 D, X
  168. ;   Development Value: "GPCS"
    5 Z7 F7 b+ t3 E. q
  169. ;   Production Value: "GPCS"* ?6 k  g: L, |, a; r4 t' h
  170. : G2 e& U" K! R5 F& D
  171. ;;;;;;;;;;;;;;;;;;;;
    5 Q8 w( L8 c/ u
  172. ; php.ini Options  ;- y9 ~+ E$ c* L: c5 h
  173. ;;;;;;;;;;;;;;;;;;;;- ^+ M2 H9 l& X, k, _; S6 ?
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"8 Y9 P5 t5 _" Z6 o
  175. ;user_ini.filename = ".user.ini"& |5 }/ X( A  G

  176. 1 m. Z2 _: X- C0 L
  177. ; To disable this feature set this option to empty value
    2 N  Q; V) \. \- V/ R/ b' \3 I
  178. ;user_ini.filename =
    " n5 s: x  Z% G4 k" z" Z

  179. . `- C3 Z7 I- A
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)/ Y& `$ g$ d& K3 f  S0 J
  181. ;user_ini.cache_ttl = 300+ k. E. c, J  A8 `

  182. ! e9 s1 i/ X, U' d9 c; K4 R
  183. ;;;;;;;;;;;;;;;;;;;;1 z% u4 D; o" t: A8 ?1 c2 A
  184. ; Language Options ;
    ! X3 q8 @# U2 z) D0 v0 Y; Y
  185. ;;;;;;;;;;;;;;;;;;;;8 [0 G3 p; z# w  @, B

  186. 3 ^9 o( Y9 c  u# a5 l4 q
  187. ; Enable the PHP scripting language engine under Apache.: e2 c4 W( V6 m- V
  188. ; http://php.net/engine; G2 g$ }4 U$ X6 ~2 U6 e5 r. q
  189. engine = On
    7 i% d" V' w5 @1 ]) w

  190. - d$ s) ], m, ~' p  m' S9 Q
  191. ; This directive determines whether or not PHP will recognize code between
    6 F  c$ h# X5 b* {( ^$ q- |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ) a! Y% Q& I9 h3 P
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ; e- X7 Z2 D5 Q. O* A
  194. ; should be disabled, as enabling it may result in issues when generating XML3 o7 K/ T) b2 U  H  ?8 J* T! V
  195. ; documents, however this remains supported for backward compatibility reasons.1 g, ^- u, r7 J1 l3 E
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    7 @; M+ k: _9 @. A2 x5 c1 B% \
  197. ; used regardless of this directive.8 E; e8 `9 ^1 o0 v* _
  198. ; Default Value: On" J1 I& B) d: L/ s) f; a
  199. ; Development Value: Off
    " \* d% ~% j/ ?8 ^
  200. ; Production Value: Off- \; s! e3 ^: s$ L# B
  201. ; http://php.net/short-open-tag1 B* b8 I5 j3 q2 R' S/ b
  202. short_open_tag = On( j1 e9 \& c8 `  f9 f7 w
  203. 4 i- H5 Z  z% I) c: N
  204. ; Allow ASP-style <% %> tags." E+ [% t! ^, j# \* p0 V1 N+ f
  205. ; http://php.net/asp-tags# S2 Z9 N# ?$ n5 \: T
  206. asp_tags = Off
    . H3 N2 H% a1 s
  207. ( L" K! B7 S8 v/ \6 \
  208. ; The number of significant digits displayed in floating point numbers.
    & g* q8 e4 E# {$ h/ ]. [
  209. ; http://php.net/precision
    ' t2 h! N: B7 r* I
  210. precision = 145 R! F5 h  Q# y; ^3 v: E# E  H% v
  211. . N: f) T0 {6 |/ _1 |4 Z
  212. ; Output buffering is a mechanism for controlling how much output data
    - |$ R3 D2 _# W: h$ Z6 ^
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that# n+ S& y8 h) z: G. N, N  T8 \3 I
  214. ; data to the client. If your application's output exceeds this setting, PHP
    8 ~# u$ t( \2 l+ A
  215. ; will send that data in chunks of roughly the size you specify.
    - `. a; f8 G! P( r9 G1 g) O
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    # c& O8 i6 ^: h) i- y; }- P* n, o
  217. ; interesting side-effects depending on your application and web server.
    & ^0 A, z6 I; R+ a  V+ m+ R6 Q
  218. ; You may be able to send headers and cookies after you've already sent output
    9 [3 R+ c& X' n# z- m" A
  219. ; through print or echo. You also may see performance benefits if your server is+ I# G& Z6 T# |  R6 s
  220. ; emitting less packets due to buffered output versus PHP streaming the output2 R& M4 ?- g2 U3 _2 l% M$ L$ B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance# ]8 t" m6 l! ^
  222. ; reasons.6 A+ Y; `# S: V- B% A9 y& q9 H
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    + @  i5 N, a# A2 t: S
  224. ;   functions.
    " s& w; |/ t# c3 @
  225. ; Possible Values:4 [! L5 k- r' @# E% g
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    * o4 G. O$ x8 Z# J; c6 Q2 q
  227. ;   Off = Disabled1 |) C+ o0 o( z# c6 d& r2 ~( K) C# q$ g
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.) `; O7 O  p8 i# a* K, f% n2 w. q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI9 L5 ~5 r3 N# |. {" W
  230. ; Default Value: Off/ t* \: n, u- a9 {2 Y7 G, `
  231. ; Development Value: 4096
    " Q3 x# U3 C/ W  [! m! `; x
  232. ; Production Value: 4096
    / t8 Q- T/ ?3 j" Y5 }( m& [; e: E
  233. ; http://php.net/output-buffering
    : |( d2 D7 C; n6 K% C0 J8 G( }
  234. output_buffering = 4096
    ( Q( D  v  b' C0 h2 L$ ^

  235. ) s6 o* p9 F" o! M; m: h
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' w# N% Y9 k2 Y3 p: J
  237. ; example, if you set output_handler to "mb_output_handler", character5 g! c5 F6 Q$ @' K
  238. ; encoding will be transparently converted to the specified encoding.
    ; j9 I0 F& }: F0 f6 F9 H9 U* b. }
  239. ; Setting any output handler automatically turns on output buffering.
    % P) b# p( @  L; L$ U2 @( P
  240. ; Note: People who wrote portable scripts should not depend on this ini% `2 @8 x; U( m( \& ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().. h6 d  d* Y) {
  242. ;   Using this ini directive may cause problems unless you know what script
    & G) \6 J2 R! `- t* J
  243. ;   is doing.2 f' W) X) {+ r# X% ?8 K' S
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) P' k8 B6 Q4 T% q2 m# t
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".8 `( |1 _3 Q4 B  q8 k/ @6 [6 t  n
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 r7 J" t* a, M/ p: N8 Y! o1 u
  247. ;   Instead you must use zlib.output_handler.3 t% U% P3 z! S! w& {# |8 \+ o) J
  248. ; http://php.net/output-handler
    ' Z+ p3 ?/ C, k" E, Z7 }: M
  249. ;output_handler =" M4 ?' N' K, Z: [' e( T
  250. 6 l" I/ V- C0 |2 j3 n' B3 i( K2 X
  251. ; Transparent output compression using the zlib library
    , [" L& X$ l$ X. |6 o
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ; W* ]/ k" G9 B
  253. ; to be used for compression (default is 4KB)
      c. {- Z7 Q9 t1 _% Y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    9 o5 g" P- B: X3 K# Q( M
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    5 H3 N: P, Z+ w- c- j
  256. ;   compression. If you prefer a larger chunk size for better- m4 T) m- I  m% n+ P# E
  257. ;   performance, enable output_buffering in addition.% Q: x3 a7 t) X, y& r
  258. ; Note: You need to use zlib.output_handler instead of the standard! Q3 f: \  n  `9 h  J+ s0 G
  259. ;   output_handler, or otherwise the output will be corrupted.% W1 y3 a. W4 G, [& v
  260. ; http://php.net/zlib.output-compression9 }0 I( _  Q6 B0 ~
  261. zlib.output_compression = Off
    . {' ]. N$ m+ b& V- v- I+ k+ x! D

  262. 2 h4 Q) w" l8 G# K
  263. ; http://php.net/zlib.output-compression-level
    % a8 F1 d: S4 ~( e; u
  264. ;zlib.output_compression_level = -1
    9 Z3 x% q2 ]' `8 i/ I* r

  265. 4 N) ^  N* ?+ ^
  266. ; You cannot specify additional output handlers if zlib.output_compression
    % }8 s% ^4 ~- `' s
  267. ; is activated here. This setting does the same as output_handler but in# O# Y. S. Z% g; g) p9 z* \
  268. ; a different order.
    + t* f  s# c1 l: x% H
  269. ; http://php.net/zlib.output-handler" Q% E& \& C7 G! i: J
  270. ;zlib.output_handler =
    7 [; [- R$ Q6 U( F
  271. 4 ^. q9 j* {6 ]* o
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    & Z- E% E# u. s7 @+ _& P
  273. ; automatically after every output block.  This is equivalent to calling the4 m7 e7 e. X- X: }  g$ b
  274. ; PHP function flush() after each and every call to print() or echo() and each9 B) ~) L* V6 T9 X, Y  ~
  275. ; and every HTML block.  Turning this option on has serious performance, \! n) h1 L7 e/ Z5 f  b( [/ l
  276. ; implications and is generally recommended for debugging purposes only.
    8 P% v, w( E% ~# v) b
  277. ; http://php.net/implicit-flush
    ; B0 M. _! n7 Y- J
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 u- e9 G' H4 k+ t- s& U, u
  279. implicit_flush = Off" b! o. ~( Z, D/ w& R
  280. * M% ]2 g$ {4 Z4 {3 s8 s7 z
  281. ; The unserialize callback function will be called (with the undefined class'
    ; C! Y. z/ R9 Q
  282. ; name as parameter), if the unserializer finds an undefined class
    7 ]$ Q- v3 ^! a. b4 l5 B
  283. ; which should be instantiated. A warning appears if the specified function is8 R1 v  u% |: A& j3 X* ^6 i5 n
  284. ; not defined, or if the function doesn't include/implement the missing class./ V5 _  f+ n' v+ g* J
  285. ; So only set this entry, if you really want to implement such a
    8 s$ Y3 W; v/ C
  286. ; callback-function.
      H9 L/ w6 j# T; N7 X
  287. unserialize_callback_func =
    , R  n& f" I. A" A2 O! N
  288. ! }1 O% j# l. q( @
  289. ; When floats & doubles are serialized store serialize_precision significant
    & S. U9 [2 t3 o  H4 x  X6 V9 j
  290. ; digits after the floating point. The default value ensures that when floats7 T! h3 b5 B- ?6 B1 t$ F/ Q
  291. ; are decoded with unserialize, the data will remain the same.
    ) x! Y' v1 u* D
  292. serialize_precision = 17
    & I9 _5 J+ j+ W5 H& m
  293. 2 r1 f0 z3 \( e
  294. ; open_basedir, if set, limits all file operations to the defined directory7 L2 G& q. `, Z
  295. ; and below.  This directive makes most sense if used in a per-directory
    " {; @  S, P. J% b9 d8 R/ r( v/ |
  296. ; or per-virtualhost web server configuration file.6 ^" P, h! f- e, J( g
  297. ; http://php.net/open-basedir
    4 M' v+ @! a2 w$ L4 _0 X
  298. ;open_basedir =
    3 ^# ]% p1 v7 |4 z+ Y
  299. " m, C: X0 w$ |4 [  ]
  300. ; This directive allows you to disable certain functions for security reasons.
    ( m9 {: ^4 o( G" H$ V; i
  301. ; It receives a comma-delimited list of function names.2 l4 y% h) Y5 ^. Y2 G' Z4 X8 @: ~
  302. ; http://php.net/disable-functions
    % P+ r9 s' u0 Q) ]& h+ M
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru. N8 O8 P7 e# R% ^0 n0 b3 s( o* E

  304. 4 H+ g& H; s) I; G6 O9 J
  305. ; This directive allows you to disable certain classes for security reasons.5 m( q/ L1 F% g6 T1 B
  306. ; It receives a comma-delimited list of class names.9 i# |" G! s- g2 k. E! c
  307. ; http://php.net/disable-classes) \0 e( a5 s! h$ w, Q, q
  308. disable_classes =6 J" D. [0 s. N! n$ D

  309. ; X( B& O3 P4 G( A
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ' |( l3 Y7 k8 [1 W0 Z" Q; X
  311. ; <span style="color: ???????"> would work.' j3 S6 W6 Y. T6 E. R) X
  312. ; http://php.net/syntax-highlighting
    ; J( J9 @. A( ~7 K+ d* \: u
  313. ;highlight.string  = #DD0000
    & L6 B8 f2 k$ G9 l
  314. ;highlight.comment = #FF9900
    % r# B; S6 P& |" l+ v+ }8 }
  315. ;highlight.keyword = #007700" s/ k" R, B6 j9 J2 B! E
  316. ;highlight.default = #0000BB0 G6 @6 k$ M! q9 ?4 g. O) _
  317. ;highlight.html    = #000000: r$ d4 z* r% g- j

  318. ( }+ Y: z; h4 K+ P5 g3 t
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : Y0 K$ f* a; ?! P
  320. ; the request. Consider enabling it if executing long requests, which may end up3 G5 _6 ]( a7 w* U0 |
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior4 n& h# k# O- f
  322. ; is to disable this feature.1 z- u4 H4 X9 s2 r
  323. ; http://php.net/ignore-user-abort2 t: B/ W% N  K# |
  324. ;ignore_user_abort = On
    ; X2 |  W# o7 S2 c( T$ m' Y# G
  325. : ~; C/ S. v) B' [2 A
  326. ; Determines the size of the realpath cache to be used by PHP. This value should2 N# t' ^' l! g: L5 H( J8 z
  327. ; be increased on systems where PHP opens many files to reflect the quantity of+ z4 J4 m/ }8 g8 \9 g( k3 A
  328. ; the file operations performed.
    & f+ `# C- S/ d0 K/ T! I0 t
  329. ; http://php.net/realpath-cache-size
    ! O0 ]% Y4 g: b5 s
  330. ;realpath_cache_size = 16k( p5 o3 G% l# H9 m6 [

  331. " A% @. ]8 j9 W- C$ Y% f7 S4 a
  332. ; Duration of time, in seconds for which to cache realpath information for a given  O" l# L, a/ D
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 e+ q- d4 R$ _5 k
  334. ; value./ ~$ Z5 _' J& V. t6 l5 P2 G: i
  335. ; http://php.net/realpath-cache-ttl
    + B0 C& O& g" y" K
  336. ;realpath_cache_ttl = 1201 e7 `! d- ?3 f; x. R

  337. " L8 D6 c3 ~) X$ a7 p+ w1 N2 z
  338. ; Enables or disables the circular reference collector.
    $ p, f6 o, S  t7 ?5 Y$ Z
  339. ; http://php.net/zend.enable-gc2 y/ Q% U/ \" X* \0 _. D8 U
  340. zend.enable_gc = On* Q; Y. a' U/ k1 M1 Y3 M

  341. 8 x+ W9 o2 E0 [4 C
  342. ; If enabled, scripts may be written in encodings that are incompatible with+ H4 N) x+ q. X2 X0 x; |
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& g7 |8 {8 O3 D# ]3 D
  344. ; encodings.  To use this feature, mbstring extension must be enabled.; ]/ [: g4 j# P) X1 f. ~
  345. ; Default: Off
    7 o( K* D2 D4 E7 D9 q; d0 n
  346. ;zend.multibyte = Off
    3 G9 H5 x+ H9 h4 L& }7 x; [

  347. : N- u& B  p/ g& z' T
  348. ; Allows to set the default encoding for the scripts.  This value will be used& O6 }& N! S% S9 k5 a
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.1 H+ N% ~) h( A6 n; i: D9 n
  350. ; Only affects if zend.multibyte is set.
    6 G8 o* U0 e9 F( a9 H
  351. ; Default: ""; e( f0 a# q1 ?5 D
  352. ;zend.script_encoding =
    * ^  C* w* `) j( K( L7 N
  353. / q# F$ ^, e: F* u
  354. ;;;;;;;;;;;;;;;;;- J4 w% g8 i0 g9 h$ ~5 c3 u1 L5 H
  355. ; Miscellaneous ;3 B8 q8 |2 \5 a% j+ q8 \: R
  356. ;;;;;;;;;;;;;;;;;1 g8 G, \9 ~2 v6 ^4 B

  357.   w% i( A) q5 a3 x7 ?3 I
  358. ; Decides whether PHP may expose the fact that it is installed on the server/ F; J2 _" x& c2 l7 L
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    1 t6 P4 e% F1 c- ^' F- S7 J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ! M+ e( B) o- c& l. H* e5 {
  361. ; on your server or not.
    % a2 E# M% E5 H1 ?4 T0 ?5 p* ~
  362. ; http://php.net/expose-php- q: m1 s8 l) K- X) v" f4 g, q+ u+ i
  363. expose_php = On  ]; b! c* ]& b$ J1 g( u2 T

  364. 4 I, h$ V9 G9 \4 n
  365. ;;;;;;;;;;;;;;;;;;;
    ' |, `! z4 P6 e/ N: Y1 r4 v
  366. ; Resource Limits ;) E5 R; N; X$ g# u% {" a5 F3 G4 S
  367. ;;;;;;;;;;;;;;;;;;;5 U& [3 d5 f3 M; S5 U# ~7 R5 Z- V# C

  368. * ^  j' F- p, B1 e: R8 D: E
  369. ; Maximum execution time of each script, in seconds
    5 ^1 r; |5 R+ ~5 Y: S
  370. ; http://php.net/max-execution-time
    1 M+ J3 x0 Y2 P, Y! k
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ p" X6 y$ X, [- S
  372. max_execution_time = 300
    - ^6 J9 Z/ L, B2 |* B& H

  373. 4 a) V; }, I' @! h
  374. ; Maximum amount of time each script may spend parsing request data. It's a good6 X) r; I/ ~$ v. `: k% x4 C' Z, T
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ A+ g# D! u& a" U/ ~6 B! l7 i4 E: K
  376. ; long running scripts.
    ! Q3 o* D8 P" J, d3 P9 ^! y
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * v% l4 }" y& e$ ]. O7 k, m
  378. ; Default Value: -1 (Unlimited)
    & f: M( s2 ]+ F8 H
  379. ; Development Value: 60 (60 seconds)6 p$ W& i" N: }& G# T7 u3 @! a* d
  380. ; Production Value: 60 (60 seconds)
    4 }) l& R# v$ `  D- H
  381. ; http://php.net/max-input-time2 g& g3 Z6 E  [* y$ b' `' n1 g
  382. max_input_time = 60
      u9 }! l, i" W" z0 ^

  383. ( r0 a! x: W6 ?9 D# ]/ ^6 }0 {
  384. ; Maximum input variable nesting level, T- ~* G( Q; H* \  w$ i
  385. ; http://php.net/max-input-nesting-level
    2 Y* k, {  F  y0 ~, O
  386. ;max_input_nesting_level = 64
    7 a0 L. V- A* }
  387. . Q  h. J. {5 o' x  Z) n$ x
  388. ; How many GET/POST/COOKIE input variables may be accepted6 C7 h% }5 z! X- D# C' H& F
  389. ; max_input_vars = 1000
    2 F1 f+ `1 l! S: E* A% W' S

  390. & I4 A9 V4 c* [) U* p
  391. ; Maximum amount of memory a script may consume (128MB)
    # g  N+ D9 o* c/ i) q
  392. ; http://php.net/memory-limit
    + E- c9 y' ^* U9 ^
  393. memory_limit = 128M8 H0 \# w1 Z! c, z( s. p! n' r, R% P

  394. $ {, t# |! u' U, e4 [. _
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) Y8 q$ g% d$ j% }* _
  396. ; Error handling and logging ;
    ; C; _& y+ }# m- m7 U+ L& D: Q& P& Q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 N- s* ]' Q& L' @( A# ?
  398. . u5 X) o9 K7 L. u! K3 \
  399. ; This directive informs PHP of which errors, warnings and notices you would like5 J2 p8 a! c$ l& {* ~3 S
  400. ; it to take action for. The recommended way of setting values for this7 i  O) x  g1 X
  401. ; directive is through the use of the error level constants and bitwise+ r: ~% x7 _4 J
  402. ; operators. The error level constants are below here for convenience as well as
    6 e  v- w5 ^. Z# A. {5 T
  403. ; some common settings and their meanings.3 M$ S$ l* p; t& Z1 @
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! w7 q& R+ b) j, y! d4 s6 l
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and  |' B0 R, [' |2 l
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    $ Q4 ?) Q; W% O1 M0 [
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: o$ u0 D8 q$ i+ V8 E
  408. ; resources complaining about best practices and coding standards. That's what
    ! i1 R6 b. D2 \! D! U% o) h# D: v3 ?7 b
  409. ; development servers and development settings are for.
    % n1 p# p; H3 F% f
  410. ; Note: The php.ini-development file has this setting as E_ALL. This" ~9 u# c9 Z* C( g, M, Q
  411. ; means it pretty much reports everything which is exactly what you want during$ F4 p1 `2 ?- K4 |1 }% C" H
  412. ; development and early testing.; c* R# T' k6 B( u4 o6 h$ S. P: `3 S
  413. ;% `/ i2 G* s: C$ l3 V+ j; E
  414. ; Error Level Constants:  ?/ ^7 ]" n% \+ ^  k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# R9 }7 L+ m" h' L% g2 _% n9 b/ f' P
  416. ; E_ERROR           - fatal run-time errors
    # p/ @5 G: B1 r  b
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 X5 B& Z& M% ?& T( [1 b4 W
  418. ; E_WARNING         - run-time warnings (non-fatal errors)1 U# M2 b9 V  G: H% {' |$ o
  419. ; E_PARSE           - compile-time parse errors+ Z4 H" v  z+ l: B: ^" f5 y
  420. ; E_NOTICE          - run-time notices (these are warnings which often result( y2 k2 v3 @% t! V2 V
  421. ;                     from a bug in your code, but it's possible that it was8 T& _! u  u% M) Q; `% G$ F
  422. ;                     intentional (e.g., using an uninitialized variable and. Y" s: l$ c8 T! P% h+ r
  423. ;                     relying on the fact it is automatically initialized to an  n, E7 C+ M* D4 i* Y& Y! M
  424. ;                     empty string)0 i! v" ~# h# Q8 [5 \5 O
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 k/ B1 ^- x1 B/ Q% ]
  426. ;                     to your code which will ensure the best interoperability
    / k  x  |( `5 |9 X2 }
  427. ;                     and forward compatibility of your code. E+ q, ]9 X1 W1 h8 L) f
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    6 q; Y# q+ K: }" K6 S# p/ }" ~
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % F" H  @& d4 E% Y2 Z5 X5 X3 i" `1 v
  430. ;                     initial startup& U/ n2 o# I% \6 R9 r& M2 Z) t2 j
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    + N* ~7 y' g* l: p5 m
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ' X3 U( a' J6 B0 O6 N
  433. ; E_USER_ERROR      - user-generated error message" d/ g  @* y- h+ C9 c2 Y
  434. ; E_USER_WARNING    - user-generated warning message" c" Y; V  j+ x5 \9 g2 ?
  435. ; E_USER_NOTICE     - user-generated notice message
    2 T5 e( a/ Y& a% K
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    - t5 {5 p' _( X" Z
  437. ;                     of PHP
    4 D0 b# C* L" t1 a4 K5 q0 @
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings) _9 H" O/ h$ x! X
  439. ;1 P; @- K: y) |4 f5 o
  440. ; Common Values:& n0 d" V, U( k7 \' G! g
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    7 p8 U4 y, H! S' T4 d
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* W$ c2 T% y3 z& y
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & t' y. P0 c' m) V9 F$ v
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 L8 t1 f3 u& l0 p8 Y4 r! ^% E
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # H8 m$ R# B1 [4 r- ~
  446. ; Development Value: E_ALL
    / ~/ |. V1 C3 u4 U3 M
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ A4 n$ b/ |& m
  448. ; http://php.net/error-reporting$ \; \8 o0 u6 s. m
  449. error_reporting = E_ALL & ~E_NOTICE
    4 D4 N: W: H1 D/ f" m3 Q

  450. * [8 M) G. S, w9 t, ~# p8 d
  451. ; This directive controls whether or not and where PHP will output errors,8 t! R1 F2 R1 g; K3 ?
  452. ; notices and warnings too. Error output is very useful during development, but: x; o* X0 I. n6 r- e
  453. ; it could be very dangerous in production environments. Depending on the code
    4 Z* m: Z/ Z% }& @
  454. ; which is triggering the error, sensitive information could potentially leak
    * ~- I& |* k) l( V2 G
  455. ; out of your application such as database usernames and passwords or worse.
    0 ^- o5 c5 z# ]# S4 d# |
  456. ; For production environments, we recommend logging errors rather than/ n! _$ x2 A; Y, V
  457. ; sending them to STDOUT.
    - E+ P- E  Z; E
  458. ; Possible Values:8 W  `5 N- k% l  C
  459. ;   Off = Do not display any errors
    1 A2 R0 l$ w4 t& I8 J4 n
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)* y9 e; U' c0 i3 k
  461. ;   On or stdout = Display errors to STDOUT
    $ R. t6 {- N6 Z/ ^
  462. ; Default Value: On
    % D7 c" D/ J' ]0 }
  463. ; Development Value: On8 B; u, N' `) @9 D, a
  464. ; Production Value: Off
    , {* O3 e9 E4 F( e, n7 x
  465. ; http://php.net/display-errors
    2 j2 |4 a# E/ K5 N$ D
  466. display_errors = On
    " R4 O( A3 d7 {' `. r+ R

  467. ) a6 ?2 H0 v; f2 X9 l+ N
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # v  Z9 u3 g/ l* T2 x' ^! c
  469. ; separately from display_errors. PHP's default behavior is to suppress those7 e) ?9 h% A. d+ Y2 G$ m. }' q
  470. ; errors from clients. Turning the display of startup errors on can be useful in: ~, B+ w$ b% ~7 f) l# t
  471. ; debugging configuration problems. We strongly recommend you
    * p6 t4 p8 ^8 y5 \  L1 E
  472. ; set this to 'off' for production servers./ m, m1 J) x9 o, t& ?0 {" m
  473. ; Default Value: Off
    2 v% L, d7 T6 ]
  474. ; Development Value: On4 x8 k0 v, ^$ y9 z' s, ^
  475. ; Production Value: Off0 h, `# e. z6 \* Q  b/ e% P7 l
  476. ; http://php.net/display-startup-errors" c( P, C& ]% k( ~
  477. display_startup_errors = Off
    # m* C+ g6 X2 Q" s2 Z

  478. 8 y- w9 Q# n; Z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a! {7 T3 }, J5 U/ j& X
  480. ; server-specific log, STDERR, or a location specified by the error_log
    * k  l+ l$ k/ ~6 s" M
  481. ; directive found below. While errors should not be displayed on productions
    1 Y# e6 F/ R) j4 l
  482. ; servers they should still be monitored and logging is a great way to do that.
    & K1 V6 C! [; c& {, }( j# S
  483. ; Default Value: Off
    " X3 \" @$ t% p8 n4 P% ?
  484. ; Development Value: On
    8 q: g9 Y7 S1 b+ J& @" f9 s
  485. ; Production Value: On
    5 N; H5 V, C1 ^6 p- \
  486. ; http://php.net/log-errors) Q8 }2 ^7 q6 @% m+ [
  487. log_errors = On
      R- [9 Q5 z$ L/ R. |- D

  488. : S6 f5 {( U+ R6 `1 a- F
  489. ; Set maximum length of log_errors. In error_log information about the source is2 Q, A8 F4 i( C! |( {
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ( y2 n0 q5 b) q& C9 S6 L
  491. ; http://php.net/log-errors-max-len; M2 a( D% l0 b
  492. log_errors_max_len = 1024
    ( A& N$ k- m8 n

  493. 3 D$ _. V# {7 n5 x. N
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - _* Q4 g* U3 N! y# a
  495. ; line unless ignore_repeated_source is set true.; W; o* _. }4 l- d, G# m
  496. ; http://php.net/ignore-repeated-errors- z& j1 m2 V2 H* D' E
  497. ignore_repeated_errors = Off
    # e3 [' a1 G( f' n$ a! j* _0 s6 E5 F! @! O

  498. - |/ u0 |8 H3 d/ T
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    # T) X/ S* V8 P3 r0 B
  500. ; is On you will not log errors with repeated messages from different files or
    8 [$ j7 ?+ o) H4 w
  501. ; source lines.* ~' H: s; O' M( g* n
  502. ; http://php.net/ignore-repeated-source. {7 |2 p! _( s% a' a1 y
  503. ignore_repeated_source = Off1 p+ c1 ~! T" s: c3 ]' `

  504. ; u! N0 ~( ^0 d& L; ~( A  E* m$ {) m3 E1 E
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on% t0 m9 b- m! o/ V# X
  506. ; stdout or in the log). This has only effect in a debug compile, and if' N3 }' Y2 K# u+ k
  507. ; error reporting includes E_WARNING in the allowed list. k6 s: p0 g8 H- u/ \: I
  508. ; http://php.net/report-memleaks# n& M8 r: Y8 A* v
  509. report_memleaks = On  ^! H1 c9 X' l* F+ z+ ^+ i
  510. ' Z& q# ], _; I& z, [1 S
  511. ; This setting is on by default.; B/ ?* P3 R  [* \
  512. ;report_zend_debug = 0* k, h: P  k4 y
  513. $ D  U" J/ n% L. Y& K
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    7 \" I# m6 T2 L1 s" \% Q
  515. ; to On can assist in debugging and is appropriate for development servers. It should& }2 |3 Y# n0 B( Z1 G
  516. ; however be disabled on production servers.
    * b/ }3 X3 p* H- ~& J5 F
  517. ; Default Value: Off
    1 _# t6 {% [$ ]6 g
  518. ; Development Value: On
    ( e$ J6 w& M3 ]- `& P5 y6 B6 x# k( o
  519. ; Production Value: Off
    0 c" v+ y3 x/ E& w7 p9 T7 X
  520. ; http://php.net/track-errors. Q% @3 ]4 t' C9 L6 K; P/ k# F
  521. track_errors = Off
    ) H# W0 b& F: ^" p+ v
  522. 8 [) P0 _8 m) O1 L. M2 j# y
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    9 v: C6 \8 R4 Q) g! C: |
  524. ; http://php.net/xmlrpc-errors. H+ s. D7 k* y
  525. ;xmlrpc_errors = 0! V0 E+ l0 t. U" Y* R! }1 ]

  526. $ y$ b1 q  }8 B: |/ I7 X9 {
  527. ; An XML-RPC faultCode6 q* A' D. l: u  L) |9 C3 b
  528. ;xmlrpc_error_number = 0) G: k7 e' o. [
  529. ' ^# ^7 U& f3 l1 W1 Z
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    " I3 T/ |% X* R4 q  p; G
  531. ; error message as HTML for easier reading. This directive controls whether
    # w/ {: ?6 }5 X; f1 {
  532. ; the error message is formatted as HTML or not.
    # M$ o- C5 W) A' t
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI" U8 `3 ]6 u" T. D+ q- [" @; w
  534. ; Default Value: On1 c$ m9 Y7 H4 w/ v1 p% M1 f
  535. ; Development Value: On
    & a/ S  j) {- I" a+ a
  536. ; Production value: On
    ' ^! g% D. i3 I5 w' w5 |* `. {3 a5 h4 G
  537. ; http://php.net/html-errors
    3 e7 x/ O5 Z# y9 G
  538. html_errors = On
    5 K: {/ s; [/ e' J
  539. & r2 D1 I; `- C9 q0 _5 U
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP0 N4 X) A# O; g9 _, R
  541. ; produces clickable error messages that direct to a page describing the error
    , g% d: g7 x! g, @1 Q
  542. ; or function causing the error in detail.
    9 N4 ~! E' a" |5 ~
  543. ; You can download a copy of the PHP manual from http://php.net/docs1 a& b( j) D% @* |- h$ l  R# _* D! H
  544. ; and change docref_root to the base URL of your local copy including the4 x# y0 ]) X: [7 C/ Z" Y
  545. ; leading '/'. You must also specify the file extension being used including5 ?4 I' _3 W# S
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + a" y2 ?( ~7 N, p  X: k
  547. ; case no links to documentation are generated.0 P2 z4 m& ]! T( |5 _. j* J. \
  548. ; Note: Never use this feature for production boxes./ m# u' x! W/ q1 E" m  ^
  549. ; http://php.net/docref-root
    - }& u0 J0 i, c) P( @
  550. ; Examples
    . C2 ?( E7 b) \  q1 y
  551. ;docref_root = "/phpmanual/"6 ?( ]7 _# S$ K% _
  552. * k8 I6 J& I, r: \% x; z' k7 l
  553. ; http://php.net/docref-ext
    % t5 I% V/ l. _$ D8 s. ?4 d/ K$ ^) d
  554. ;docref_ext = .html
    7 {9 w  n; Y4 c) }& @& Q5 b
  555. & h: b* Z4 w4 G2 [
  556. ; String to output before an error message. PHP's default behavior is to leave+ ^/ ]1 ~* A, L7 X, W# c
  557. ; this setting blank.  K! c1 y, M4 \
  558. ; http://php.net/error-prepend-string7 x/ R6 x* z; }+ E2 z& B
  559. ; Example:; B# B. p' y- T: W& r5 ~$ X) F
  560. ;error_prepend_string = "<span style='color: #ff0000'>"$ p9 [1 G9 i# s( [  R
  561. " r: B0 O% U% o5 m* _9 Z2 b
  562. ; String to output after an error message. PHP's default behavior is to leave
    " O4 O0 y% P, X% L5 Y6 M5 Z& {
  563. ; this setting blank.
    / Q8 _- E( r; a7 Q
  564. ; http://php.net/error-append-string
    6 ~( C. C' k0 p0 }" N' O
  565. ; Example:( o$ I" i. y4 V0 i$ M& C
  566. ;error_append_string = "</span>"8 d% N4 }$ t2 |- h2 Z, @
  567. % |: T6 _: J4 l, @2 H
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 L+ ]  w2 n( e/ J9 e$ x, H
  569. ; empty.
    - ]7 X+ L2 F: x" l
  570. ; http://php.net/error-log( D4 x# X$ n" u  M" {2 U' W( j4 @
  571. ; Example:
    # d/ P* g5 V8 m+ l
  572. ;error_log = php_errors.log7 A- G9 g% ]" t$ e/ K
  573. ; Log errors to syslog (Event Log on Windows).
      V1 M0 g" b6 y* |& u: H
  574. ;error_log = syslog5 a7 g- g/ D6 }9 _5 V2 b
  575. : Q6 U8 U, O2 u6 K0 |! U' k' m
  576. ;windows.show_crt_warning1 z! g! ]" ]8 s# w
  577. ; Default value: 0
    # b$ t- y' M0 ^' c' E
  578. ; Development value: 0
    : G" H! A( v3 N8 ], N  N' A
  579. ; Production value: 0
    & E9 c$ t/ m  G/ t& U
  580. ) t& P$ `  E9 b; h
  581. ;;;;;;;;;;;;;;;;;
    - ?" Y3 w4 @) |0 t6 f9 d( V
  582. ; Data Handling ;
    8 `3 A5 ?; @" X& r% o  }$ C$ K
  583. ;;;;;;;;;;;;;;;;;- N( q- A6 y# `/ N# c
  584. ! M; s* }$ F4 W% C; v3 N
  585. ; The separator used in PHP generated URLs to separate arguments.! L9 m  n* A/ T1 H# s
  586. ; PHP's default setting is "&".
    ( _2 D( d* R, v9 l; z( Q7 g
  587. ; http://php.net/arg-separator.output
    / J* ^- u$ h8 p+ E& R' i
  588. ; Example:
    $ B5 k8 z! o3 R& u. V
  589. ;arg_separator.output = "&amp;"+ A+ \: T$ \2 y# U

  590. . Y, [: n0 M* }$ |4 d) e% [
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 z1 y% j: ^6 n
  592. ; PHP's default setting is "&".% C8 M# U% j* d/ i* n* q# P4 V
  593. ; NOTE: Every character in this directive is considered as separator!* u8 ^! G/ g' w5 [, m9 b9 {' [
  594. ; http://php.net/arg-separator.input" M! z0 ^+ k% _. y$ l
  595. ; Example:3 C; _3 ?& N0 k- Q
  596. ;arg_separator.input = ";&"
    & e1 f3 ]  h$ m8 k. l9 A, |9 z

  597. : {7 N2 ~6 \% E; j" Z" f
  598. ; This directive determines which super global arrays are registered when PHP
    ' g$ o/ |: ^7 y6 e6 ]( p  s* D
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
      C6 W6 V: M" ]9 w" C. B% {8 d( H4 B
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + }5 |( I2 v$ }8 l; F' H0 e
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    2 A; O/ J* ^" x6 W" w* A
  602. ; used as the others, ENV is not recommended on productions servers. You
    5 F$ A- v' B# m6 O9 d
  603. ; can still get access to the environment variables through getenv() should you
    $ U" J& n. B% ~8 X
  604. ; need to.
    9 K% W5 j6 {- P; ]7 H4 A
  605. ; Default Value: "EGPCS"5 p" b9 W' U# u4 R" ^5 T4 }3 }$ [8 L
  606. ; Development Value: "GPCS"0 ^7 `0 D2 A6 |6 w
  607. ; Production Value: "GPCS";" ^' G3 r* R9 d3 k, K8 m
  608. ; http://php.net/variables-order
    ; }: S, K( l4 E8 j) F# o" R
  609. variables_order = "GPCS"$ G; _3 h0 {3 l, p. d  A. b
  610. . |$ \$ l+ D& B/ \6 O! Z
  611. ; This directive determines which super global data (G,P & C) should be0 w! `; [5 N9 I+ U
  612. ; registered into the super global array REQUEST. If so, it also determines
    + b( h# H: ?, D2 `% |+ {& F
  613. ; the order in which that data is registered. The values for this directive
    9 `* M- _8 B1 ]% M5 F5 H7 `
  614. ; are specified in the same manner as the variables_order directive,
    * e5 ^5 C) d8 x- c
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set, m8 |3 K% z) B0 R
  616. ; in the variables_order directive. It does not mean it will leave the super
    8 L" z6 X: v) \
  617. ; globals array REQUEST empty.
    3 s6 F  t8 }( |  q
  618. ; Default Value: None
    3 Z/ P. f1 x1 p5 r+ s
  619. ; Development Value: "GP". C5 D  t, T( A& j3 b3 T% C
  620. ; Production Value: "GP"
    ! K, ^5 }7 D) f0 |8 A
  621. ; http://php.net/request-order& l8 f( D3 s3 E& M3 V* ?
  622. request_order = "GP": K" w. X; Y" |. n
  623. $ q) F" Q$ A+ }2 C+ s# |1 x+ n" `# k
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 @5 b5 [3 Z3 y. n
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 a3 D+ Z' V; s% S) M' ~. u. Z
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ; z( V/ V& P/ M& }& |
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( s. |" D  X2 E1 T6 B
  628. ; useful when running scripts from the command line. When this directive is
    ( \5 y- Q$ Y, b( b4 m6 U
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    % t/ w- a5 a- x2 g3 g# K
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ! D1 P2 E3 x% @4 w
  631. ; on production servers.) {8 [3 V5 J$ W2 R8 ?5 x
  632. ; Note: This directive is hardcoded to On for the CLI SAPI; y1 E8 {( |+ D* A: S" {+ U$ J; M
  633. ; Default Value: On( x, V; U$ B: o; g/ ^# J
  634. ; Development Value: Off
    $ I, X1 ^0 F- S
  635. ; Production Value: Off
    & i, K2 h, X2 D6 Z
  636. ; http://php.net/register-argc-argv7 P, q( X' m' I: w* I/ i) f
  637. register_argc_argv = Off
    9 u1 U/ j: o9 n- L  ]
  638. ( D7 v( y& q* X( t* ^/ I) _
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" w( J, L5 f+ K% I- @3 O
  640. ; first used (Just In Time) instead of when the script starts. If these( l9 A3 k( Z! d7 ]. I: o4 i
  641. ; variables are not used within a script, having this directive on will result
    1 d5 F1 n# }1 T
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled9 k9 S' M! R6 u$ x4 ~# B6 o8 e
  643. ; for this directive to have any affect.- `- s; P% {) [# w  F: `& n% u6 k
  644. ; http://php.net/auto-globals-jit
    5 `' d- j& b' t8 I
  645. auto_globals_jit = On, W5 B: i7 ~* }) L

  646. : j: i4 v7 l: i0 i! V8 m# F
  647. ; Whether PHP will read the POST data.
    % i' Y( o5 U3 h
  648. ; This option is enabled by default.$ {8 _& n) A1 P4 O, q
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 x; g* P1 k- R6 u- q9 |
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    & W5 }) H2 [, f( A) h% @& Z
  651. ; POST data will be through the php://input stream wrapper. This can be useful/ Z+ I: F+ P8 [% e
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % ?/ {( {( z6 H
  653. ; http://php.net/enable-post-data-reading) g/ B- w  {$ O4 P8 f
  654. ;enable_post_data_reading = Off4 B9 k" S2 m, f" Y4 O6 W
  655. / \8 s& D+ L" @9 B4 b- g8 C0 P
  656. ; Maximum size of POST data that PHP will accept.- E) W" ^1 ^- e6 y8 ?
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 b% q/ H6 p. L! \/ z  t
  658. ; is disabled through enable_post_data_reading.
    + t) C: b( s1 v/ P& z
  659. ; http://php.net/post-max-size
    6 p& h  s3 Q1 c
  660. post_max_size = 50M
    * m7 y+ }5 W% K! B
  661. 1 T) `' v! x+ M0 t# t' Y2 V
  662. ; Automatically add files before PHP document.
    9 V4 T* W1 l4 ~- t4 n
  663. ; http://php.net/auto-prepend-file
    / o# }: n9 P# q1 }% e4 W  o- V2 S
  664. auto_prepend_file =, s9 M4 L# H# h0 W
  665. 2 C" H6 w3 j: O; Z% _! \1 [
  666. ; Automatically add files after PHP document.
    , a- z+ `! d; _- S
  667. ; http://php.net/auto-append-file
    8 Y! V% i1 n; [
  668. auto_append_file =/ Q8 L- \$ G: \( O3 w; W# C
  669. 9 [% s9 h" ?$ u# A5 j& V* i! L
  670. ; By default, PHP will output a media type using the Content-Type header. To6 ]/ z4 P9 v* }0 U: b( o- z, Y
  671. ; disable this, simply set it to be empty.
    ) B& T+ m  R0 J6 D& Z& q7 ~  x1 m
  672. ;
    $ E, K% t& H7 o$ T  V
  673. ; PHP's built-in default media type is set to text/html.
    ! ]9 V9 W; D. u0 ?  q
  674. ; http://php.net/default-mimetype" C& `% h7 \; W8 E7 x" y
  675. default_mimetype = "text/html"6 `0 L1 x. k+ P9 E/ I- ^! V
  676. ; J. ~( q, I# _2 `
  677. ; PHP's default character set is set to UTF-8.# S* B' E3 e3 z% W8 s: Y2 w
  678. ; http://php.net/default-charset$ ?- I: i; l% B. w# G$ {. A
  679. default_charset = "UTF-8"
    ( @7 u; B2 H) u

  680. 0 B  b) d$ u% g5 C
  681. ; PHP internal character encoding is set to empty.1 N3 D' R. a" U6 Y9 J- b% c7 Z
  682. ; If empty, default_charset is used.+ M2 h$ x# n, s6 J8 Y! t9 O
  683. ; http://php.net/internal-encoding! b8 R5 x( |; H/ G
  684. ;internal_encoding =' b4 T7 d, G5 ]7 }: ?4 Q1 m. z

  685. 5 i# u2 @  P3 C8 I8 }% i
  686. ; PHP input character encoding is set to empty., p) d  R3 h, X- D
  687. ; If empty, default_charset is used.+ {' K- O( [: T
  688. ; http://php.net/input-encoding- C0 g- S3 P% _" j  ?
  689. ;input_encoding =
    - T6 U5 n2 F" R

  690. % _7 \) @2 q. n1 C0 _
  691. ; PHP output character encoding is set to empty.
    " Y  x% T$ p' o" J- Y' O# n$ V3 V1 B
  692. ; If empty, default_charset is used.
    / V$ e) N5 G- [  j4 f
  693. ; See also output_buffer.
    & y( N5 d, e) p1 g2 [
  694. ; http://php.net/output-encoding
      J% X, R1 P" l: m
  695. ;output_encoding =$ X. @7 {* d( \/ s# a8 |
  696. 7 @$ }7 Z  S% l3 m' i
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    2 _4 L. d4 T6 c% {. `3 ?3 J
  698. ; to disable this feature and it will be removed in a future version.
    : Q$ \8 S7 u! K! A# x: K
  699. ; If post reading is disabled through enable_post_data_reading,' m! O% l9 r4 g" T! p2 g
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    8 ]0 ^# o5 M8 D# k: _
  701. ; http://php.net/always-populate-raw-post-data) Q, B) G7 k% ~6 F+ Q3 K
  702. ;always_populate_raw_post_data = -1
    ) h' p. D7 f) i) i' b( s+ x- l

  703. $ }" i6 i5 S& R. t- x* ], b
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + p/ m  M* e# F
  705. ; Paths and Directories ;# `; f9 O2 _1 N" C/ z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;% f7 z" l/ D# u$ H& W& A: G
  707. : U2 \, I; N4 Z5 ~* V, p
  708. ; UNIX: "/path1:/path2"$ N/ ]4 _# Z1 [& {  X1 i
  709. ;include_path = ".:/php/includes"
    5 ?2 f% Y4 l. R
  710. ;
    . @5 ]9 j, @$ S1 V
  711. ; Windows: "\path1;\path2"
    , l8 U- H4 j& a" a! H* e
  712. ;include_path = ".;c:\php\includes"
    ( }( H9 ~, w' o2 x& P/ V
  713. ;2 |  `/ S/ b' U( f
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * y; P% {4 F1 v3 e$ N
  715. ; http://php.net/include-path+ _, N7 D1 w( L1 V

  716. + f  G- S4 E9 D; y" `; g
  717. ; The root of the PHP pages, used only if nonempty.
    , Y% [9 l" c; p" a; _. H
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root+ e' F4 Y2 M$ n. P
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 \& H* M; S# @" T. v, E
  720. ; see documentation for security issues.  The alternate is to use the
    ; i4 N: m( @, ?: b* _5 o0 \
  721. ; cgi.force_redirect configuration below
      `' g8 i% |7 i0 \: s( A  u, T
  722. ; http://php.net/doc-root
    ) D+ T2 R* l) |0 K, A. A' p) y* v
  723. doc_root =
    $ h1 G) q3 Q8 J  r0 F( o
  724. 2 H& r% i' j) S0 g, j$ Z
  725. ; The directory under which PHP opens the script using /~username used only' J3 M/ I0 p  ~
  726. ; if nonempty.- x  I, c( r! k
  727. ; http://php.net/user-dir0 j7 e$ T+ O2 N  ^2 c( k* k
  728. user_dir =/ G! V/ U3 e8 a) ~! H' d; x
  729. & F$ |# z( N* B/ ^
  730. ; Directory in which the loadable extensions (modules) reside.- T9 k, o( t% R. {# R) y
  731. ; http://php.net/extension-dir7 _! _7 T# C5 w; T* i) b$ F0 p
  732. ; extension_dir = "./") }4 ]  t$ X; m+ E
  733. ; On windows:% y9 G: I6 r; M; W7 O
  734. ; extension_dir = "ext"
    ( f6 l1 O. C+ h# f6 h4 j

  735. 8 K/ M8 `, F! D) _1 l, W
  736. ; Directory where the temporary files should be placed.
    ! r2 ?0 D% A9 H3 g/ O5 h8 a/ s
  737. ; Defaults to the system default (see sys_get_temp_dir)( M0 v1 D8 z3 [3 Y5 n6 z
  738. ; sys_temp_dir = "/tmp"
    1 S' V+ v4 s7 r4 N
  739. 2 G# s# a; \8 _# D/ `/ P
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ( p# e* i! B1 n( ?
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    / n3 C; T* H: O
  742. ; disabled on them.
    : V& Z# S" t5 w
  743. ; http://php.net/enable-dl& m: h% y. H) n' u$ [8 V; I
  744. enable_dl = Off* z0 v- |1 T% r1 o7 t
  745. ( q+ y- q4 |; y$ ]6 C& r5 v! [+ K2 K4 e9 r
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 u& c) J2 V# ~; @. j
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * d  F8 R& o- }$ k* ?% C1 c
  748. ; turn it off here AT YOUR OWN RISK
    ; Z$ p: M# g" c3 l
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**5 \) x3 N+ M( E1 q0 E
  750. ; http://php.net/cgi.force-redirect
    0 l! p4 r' V, E, ?; c9 d
  751. ;cgi.force_redirect = 1
    8 i; X$ _( j% u$ d5 ^& }' j8 t
  752. : C- x4 X4 o6 A; g* `4 _
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with9 a% ]& g0 Z0 c- Z8 T. c. a, J
  754. ; every request. PHP's default behavior is to disable this feature.
    & M' n4 ^0 d1 w5 o: P
  755. ;cgi.nph = 1
    , e5 N. y  I& Q6 J5 e4 u2 L& O: p
  756. ' ^$ O( x# v+ e  W$ C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape+ e& L: K/ v+ D! ]( F- N
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) Y! b3 f( V' C0 G6 [' ^0 |
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY) x% X5 v* K3 l# u& Q" x8 {
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 m9 w! `3 l) k% z4 q% L6 i# @
  761. ; http://php.net/cgi.redirect-status-env& J' u8 _  C& Q. }
  762. ;cgi.redirect_status_env =' t3 B1 a! m6 S: K* n  i

  763. , u, }% L3 P2 u0 d) n; W! \, t
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 F0 D& c- A& A+ h; B
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ J6 i, Y* ?. ]% U, D
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 o* c# y2 R) z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( h- `1 ~% g, `( ]4 a9 _& P7 p
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , w: k# J' |' ^
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 g. U$ d4 R3 {' e3 A
  770. ; http://php.net/cgi.fix-pathinfo
    ( ^) {! d* ]( i7 Z
  771. cgi.fix_pathinfo=1& X: u& v: @8 g4 R- Q- h( }% c4 R, _

  772. 9 X. x( j2 r: C( N5 r: J% l% T. d0 O
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 K4 ]/ ^+ ?0 w( j% i
  774. ; of the web tree and people will not be able to circumvent .htaccess security.8 {- m8 l  a/ L! r
  775. ; http://php.net/cgi.dicard-path; O8 n+ e0 e  i; ]2 ]2 U3 [/ f
  776. ;cgi.discard_path=15 N4 }% S* ^1 [+ s0 ^% S

  777. " o' Q/ E5 I" ]: B. T* L: Y3 w
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! ?, b' a0 }- e! u3 q
  779. ; security tokens of the calling client.  This allows IIS to define the
    - C0 h2 K  }; k% C, P
  780. ; security context that the request runs under.  mod_fastcgi under Apache' v6 @8 {1 {$ v: G6 D: d
  781. ; does not currently support this feature (03/17/2002)
    : o# H; [1 q6 ^% a/ p* D
  782. ; Set to 1 if running under IIS.  Default is zero.
    ; }2 x5 C/ T2 k% j
  783. ; http://php.net/fastcgi.impersonate
    . V* p; N+ y' a  O1 r
  784. ;fastcgi.impersonate = 1  T3 \6 B1 U0 u" W7 s8 p
  785. $ ]. Z. z! }, K% A
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- B+ p( o2 ?5 I' Z
  787. ; this feature.. I# s' ]! n! x3 n
  788. ;fastcgi.logging = 0' T( r+ Q% b7 u1 R3 l

  789. 9 B7 p- F  ?1 ]. |. e9 R% ^
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! p0 o( u+ H, e
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 U  _1 u! ?/ _3 h4 K. H
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ; x! g& h0 l/ B) n9 T% ]' R3 G
  793. ; RFC2616 compliant header.) r& I. J( {: M- c; v5 `9 }- ?3 v* H
  794. ; Default is zero.1 [  g+ p) ]4 P3 K/ F
  795. ; http://php.net/cgi.rfc2616-headers$ K. s" D7 Z8 J$ l
  796. ;cgi.rfc2616_headers = 0
    : A7 ]; T8 g# X4 O, _# F* l  h
  797.   h7 k* M7 e. N- ^$ t. t
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 I4 ~7 Q; R( \# |7 f. [/ Y
  799. ; (shebang) at the top of the running script. This line might be needed if the$ D) ?" {2 h! J5 S
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # [0 {0 `" n3 D: U
  801. ; mode skips this line and ignores its content if this directive is turned on.% z6 H1 y3 O. y  G8 a7 A/ c
  802. ; http://php.net/cgi.check-shebang-line2 c1 C3 p& t& g' Z; r, |$ X
  803. ;cgi.check_shebang_line=1/ f" h+ ]$ M8 L

  804. + |3 D. D" Y" Y- y6 G/ @
  805. ;;;;;;;;;;;;;;;;7 y9 x/ N3 G: G# \, H0 M- `
  806. ; File Uploads ;
    ! w7 N) D( A5 Z) c: f
  807. ;;;;;;;;;;;;;;;;
    / O7 |& z, }+ D- f% d2 {& Y

  808. % I+ M+ C- T% m( v
  809. ; Whether to allow HTTP file uploads.
    ' Q& k. k; P# c; o
  810. ; http://php.net/file-uploads- x+ `- {1 l0 a, ^
  811. file_uploads = On
    6 e7 h; a) K$ J4 p" l# Y
  812. % V, l/ l& n. l) y* `
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    - R9 [1 i: Q* f/ I" j+ R7 x
  814. ; specified).- L" E% b. S0 b
  815. ; http://php.net/upload-tmp-dir0 h8 X- x- ~. k/ C1 r8 a1 N; u/ T
  816. ;upload_tmp_dir =
    5 t. o! d$ U; W, T0 g" G. }
  817. 7 d: \' j  k3 v) z0 U- h& \
  818. ; Maximum allowed size for uploaded files.% E  S7 q7 A- F3 _  n; \; s
  819. ; http://php.net/upload-max-filesize
    & U% ]; a" I! A2 g& U
  820. upload_max_filesize = 50M
    5 {. I. F6 a( z6 Y6 h- o, Z: s; O

  821. ; @5 _6 V6 f4 V
  822. ; Maximum number of files that can be uploaded via a single request7 b( |# `5 a$ b* I# \- v
  823. max_file_uploads = 20! N: M- X. ~; V2 C8 M
  824. 7 y0 F: W6 _& b" p
  825. ;;;;;;;;;;;;;;;;;;
    0 I# y- o8 E. J# z. K$ Q
  826. ; Fopen wrappers ;4 ^1 E5 \- L6 v9 r4 l
  827. ;;;;;;;;;;;;;;;;;;5 C; ?4 X3 \1 w" n

  828. * T7 g, G! \8 [  {# f
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." g. }$ t  z! U8 F
  830. ; http://php.net/allow-url-fopen( h: h  y( Y2 o9 U
  831. allow_url_fopen = On5 e1 e5 Q* M8 H) l6 Y) i
  832. : N# F, }( S- A$ [& N7 j' c+ e3 X
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * ~# u) T* T9 Q7 _; s; w7 G
  834. ; http://php.net/allow-url-include1 \5 P2 M( t, ]6 S, [" X
  835. allow_url_include = Off
    " q* F: W4 C  S: Y; k
  836. " h& Z; i5 S" g' `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting3 P' ]- [( p7 b0 z' O3 ~
  838. ; for this is empty.& G2 H) |4 f4 N+ y( B  q
  839. ; http://php.net/from' a; i3 U+ Q; [
  840. ;from="john@doe.com"
    # u) `$ {7 j" T* d8 Q, l
  841. # Q8 {& }# s: e8 L4 P5 w6 b* B8 `
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ ^4 \$ s  `& c& w# N. I0 j
  843. ; http://php.net/user-agent2 p; M9 \8 _4 P7 M
  844. ;user_agent="PHP"
    . t/ X5 W# B. J8 q, W

  845. " H  D" V) k1 w0 ~5 Y/ y
  846. ; Default timeout for socket based streams (seconds)
    0 s& U- s& x: q$ V
  847. ; http://php.net/default-socket-timeout. E/ O1 o0 O  p5 @  L
  848. default_socket_timeout = 600 X& A; S( P1 A% m! n4 h* S

  849. # C" D" l: v: ]! e, ?
  850. ; If your scripts have to deal with files from Macintosh systems,
    . }9 l1 s# [% c# z1 Q, C
  851. ; or you are running on a Mac and need to deal with files from
    : k9 v5 b& E! z- }
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 f. f2 ?% ?8 D3 t
  853. ; automatically detect the EOL character in those files so that% b& R! t8 O" ]% q& V3 L, T) a6 H
  854. ; fgets() and file() will work regardless of the source of the file.
    8 S8 m) i! y3 x% L3 b4 C9 a7 j
  855. ; http://php.net/auto-detect-line-endings& P# O3 E5 ?$ R
  856. ;auto_detect_line_endings = Off* F2 L4 g  K/ e3 W& r6 n( |  s0 P
  857. ' s. a3 u- M% \6 ~' `2 ~
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ; |& p" [+ c7 E. J& v2 Y& `6 k
  859. ; Dynamic Extensions ;
    , h8 T: W* B3 q+ J3 m0 B* W# j( D) N
  860. ;;;;;;;;;;;;;;;;;;;;;;9 E7 c( b' t5 g) V# c9 r
  861. - H' t5 k' `$ z/ W9 y, F4 m8 y9 {
  862. ; If you wish to have an extension loaded automatically, use the following
    ! z0 t& v. p, D3 y
  863. ; syntax:
    / U1 m+ [# z5 D6 [, i1 l# D, b
  864. ;
    - g2 I; s- A9 [6 W' z
  865. ;   extension=modulename.extension" {9 M& [& O! F2 b; g' j
  866. ;2 E2 t$ x) I+ b) }/ x, k% k
  867. ; For example, on Windows:2 a  Z' n3 {  O
  868. ;$ N! u3 e- I) ~1 E! x1 M( p3 \
  869. ;   extension=msql.dll
    $ W$ W9 \& ~1 w9 d- V" I
  870. ;
    : C. S! u7 E/ O) D
  871. ; ... or under UNIX:4 q$ z: I# u# l8 P6 s. D3 G$ y1 A
  872. ;* j- c5 N) s$ Z- |, \
  873. ;   extension=msql.so
    4 P& E/ H% K! w
  874. ;1 i( ]+ h& A: c. k  O. A# B
  875. ; ... or with a path:2 S# u% Y* {8 G4 I% F( E" m
  876. ;
    & ~# Q1 i; R. v) G* q
  877. ;   extension=/path/to/extension/msql.so
    - |; U4 r# g/ i$ `6 A" }
  878. ;3 O" n7 |& v1 V/ _0 ]
  879. ; If you only provide the name of the extension, PHP will look for it in its
      j, {; Q& ?6 t% n& a
  880. ; default extension directory.+ c8 }# |1 x7 J( ^' t* v/ n0 R
  881. ;
    . Z/ c1 r4 e) n" ^
  882. ; Windows Extensions: |" N, H& O' M% Q8 n3 S% |2 A; Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    - g4 R- R% K7 T6 }
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    9 p3 a; z: ?) s* ?$ O! P* [0 e
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).3 l+ ]; S( M- X: D! l4 V) ]
  886. ; Be sure to appropriately set the extension_dir directive.
    - l; A" Y# ^/ }7 Z
  887. ;
    0 n4 c& b8 }$ L2 y! J4 `3 U: e
  888. ;extension=php_bz2.dll: M5 ?* @, d& r( z2 |
  889. ;extension=php_curl.dll
    ( S* f  k" M" |3 V
  890. ;extension=php_fileinfo.dll- O; m8 g2 @0 t
  891. ;extension=php_gd2.dll2 p' B$ e5 j6 ~9 {8 |1 c! U
  892. ;extension=php_gettext.dll
    9 J! h8 H0 ]+ e) v& }0 p1 ~: x6 _, Q3 Y
  893. ;extension=php_gmp.dll+ Q- N$ F4 ~3 F* ]9 j2 S! T3 D
  894. ;extension=php_intl.dll
    8 x- g. _" _' u- p) O7 L+ @+ H* j
  895. ;extension=php_imap.dll
    0 u$ o/ I8 y4 d6 I
  896. ;extension=php_interbase.dll( A# J4 ~5 R) @  {
  897. ;extension=php_ldap.dll' J0 k1 q2 y9 Z
  898. ;extension=php_mbstring.dll- a0 u# f/ Q8 {; I# B
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: Z/ K/ x, _9 t8 {  X0 W
  900. ;extension=php_mysql.dll" T8 d7 G2 r: n% I; C, a% a5 A
  901. ;extension=php_mysqli.dll0 o( v/ v% E# _4 [* O+ Z% _4 h: P
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. [7 n% a6 H9 ^* j  g3 W
  903. ;extension=php_openssl.dll
    . K! a1 s, G* ^0 l) V; D! V* s
  904. ;extension=php_pdo_firebird.dll
      _( _1 y. S1 ?8 M$ p/ H! n
  905. ;extension=php_pdo_mysql.dll5 W' o6 @* D) d* z
  906. ;extension=php_pdo_oci.dll
    " W9 S4 g1 w$ W3 p- A0 j: {
  907. ;extension=php_pdo_odbc.dll
    ! Z4 u6 D& H  p
  908. ;extension=php_pdo_pgsql.dll, E# d3 m3 V4 V) q) n
  909. ;extension=php_pdo_sqlite.dll
    : c+ m) w" t- C- \0 o4 \
  910. ;extension=php_pgsql.dll
    . ]5 n7 N, n( N4 I
  911. ;extension=php_shmop.dll
    . x6 u& h2 D% Y5 N" c

  912. " ]$ p( n8 ~, p6 c2 b' J
  913. ; The MIBS data available in the PHP distribution must be installed.
    # q7 j5 u3 p+ K9 s2 F$ b
  914. ; See http://www.php.net/manual/en/snmp.installation.php 1 X  O$ t2 S3 A+ u! X
  915. ;extension=php_snmp.dll( v1 e3 {2 y, q& p( ?6 x( ?% S
  916. ) v8 ~' h# `, k& b$ N, K
  917. ;extension=php_soap.dll: P2 O' K, c/ a8 b7 p
  918. ;extension=php_sockets.dll
    * |  O  Z/ X/ @1 S
  919. ;extension=php_sqlite3.dll
    7 c& @" E3 @# t& \& D
  920. ;extension=php_sybase_ct.dll/ V' m) @4 b* N5 B1 A
  921. ;extension=php_tidy.dll7 L, V+ A1 b3 z! F" B
  922. ;extension=php_xmlrpc.dll
    2 X/ P) j  P' K9 {
  923. ;extension=php_xsl.dll
    ! G0 ^. C& V: w( G0 v

  924. " L  R5 y' o% Z
  925. ;;;;;;;;;;;;;;;;;;;
    3 w! u$ m  x/ @4 t0 e' }
  926. ; Module Settings ;
    % L+ b1 H, i( R& ]( o
  927. ;;;;;;;;;;;;;;;;;;;" O7 p, G( s/ o

  928. 8 T9 j8 d1 ]3 n) v5 K) g
  929. [CLI Server]" M9 l- L2 j! I
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., ]# b% v; ~# ]6 E0 K! l& i5 w  f+ `
  931. cli_server.color = On1 P$ b! O5 f- [2 F) m- ^1 S/ X

  932. . ]& n1 m3 P3 I. @3 ?' Z/ z7 P
  933. [Date]
    3 S5 W. m/ f! w4 i4 b# `& a' S  Y
  934. ; Defines the default timezone used by the date functions
    9 u, N8 S; f& u. v6 c
  935. ; http://php.net/date.timezone
    0 e. N. T' C4 K
  936. date.timezone = PRC) \8 c6 k* z0 Z3 M, D

  937. 8 r) `1 r0 k. i" r
  938. ; http://php.net/date.default-latitude
    0 u% O7 e6 _" d! C
  939. ;date.default_latitude = 31.7667
    ; k) y7 C& {' Z5 ~4 L2 {
  940. : r, V( o# T7 b! u* c
  941. ; http://php.net/date.default-longitude
    * M; h/ Q+ Y0 W; W5 D
  942. ;date.default_longitude = 35.2333
    % ]% A% ?6 O) t! _% {1 U. n
  943. 0 ~8 U" [7 B5 o, \- o/ `
  944. ; http://php.net/date.sunrise-zenith& q* ]; S% Q& g; i. T
  945. ;date.sunrise_zenith = 90.583333
      N# R7 y: _% ?7 k  z

  946. 5 _0 h! I6 b9 \
  947. ; http://php.net/date.sunset-zenith. X6 _9 z9 f! Y
  948. ;date.sunset_zenith = 90.583333' W; x8 j1 L4 d6 Y2 w- G4 x  w
  949. * w$ E6 n$ }: p& `
  950. [filter]
    + b$ Y) A7 `% {/ l% w4 r
  951. ; http://php.net/filter.default
    4 }% s) y( ~+ e3 M
  952. ;filter.default = unsafe_raw
    & J$ ?# [" m- O& A1 Z

  953. ! e8 O& Q. M) N( C" p2 ^* X) F) l+ M
  954. ; http://php.net/filter.default-flags
    % D! J" R4 D. c5 Z' Y0 Z" a
  955. ;filter.default_flags =% w2 {: x: s8 T
  956. + h. R% O, r* H0 q; s  D3 F
  957. [iconv]8 u/ j- Q* @2 Q- I" \
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.2 X$ h  j; r6 H
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    + _& s8 ?4 D1 a. @
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! j2 q% L8 ^( Z0 O
  961. ;iconv.input_encoding =; L" M0 T( h8 ]

  962. 3 d! |1 |( v* b( [& L
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( F0 ?$ ^& f# f5 G
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 ^+ o, H2 l; d/ T, f; w2 h8 T
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* \+ ]& j5 o# O5 {! R
  966. ;iconv.internal_encoding =. M7 `/ ?6 L/ o" g7 y
  967. + ]4 m/ T  t( g7 {
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 l2 X4 v% w0 _9 ?, i
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# Q( s1 S% ^  I; X0 C$ X( T
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    / g; a- K8 X7 g
  971. ; To use an output encoding conversion, iconv's output handler must be set
      f4 i" j( `8 I8 }1 e. z
  972. ; otherwise output encoding conversion cannot be performed.
    / B# {$ r) {# l% `$ x, i2 ]
  973. ;iconv.output_encoding =$ g9 G3 T! V$ m

  974. 2 G: M# Z3 [8 ~, r
  975. [intl]
    ; J' N5 |0 E2 k, _- V: O
  976. ;intl.default_locale =
      g+ ^, ~' [/ @" r
  977. ; This directive allows you to produce PHP errors when some error& h  F4 ^9 R& N& H. n+ R7 k5 a
  978. ; happens within intl functions. The value is the level of the error produced.
    - h% z! U/ r9 G( d: q0 \
  979. ; Default is 0, which does not produce any errors.
    * c$ Y0 n3 J6 G" f- H& e
  980. ;intl.error_level = E_WARNING
    3 T6 \9 x& T0 O5 [2 |5 Q. [) O
  981. ;intl.use_exceptions = 0
      _0 }' b: R& [" S

  982. & V- O9 I; I2 w( v$ d
  983. [sqlite3]3 _) G# t5 f: ^. |) H
  984. ;sqlite3.extension_dir =8 n( x: w; K  [2 f

  985. $ u- i( M, |" W- x
  986. [Pcre]9 C- @5 V# k  O4 O7 ?) ^& \& f
  987. ;PCRE library backtracking limit.6 |. X9 K) x. H& j% d
  988. ; http://php.net/pcre.backtrack-limit
    ) Z: ]1 A  s! `
  989. ;pcre.backtrack_limit=100000
    ! Q8 w" H& p; c& Y2 {4 I
  990. / u% D$ i) i8 i* `1 Q0 o
  991. ;PCRE library recursion limit.
    , C! t% h* n( {0 a" W
  992. ;Please note that if you set this value to a high number you may consume all/ V8 R6 l% t5 I+ R- F: r
  993. ;the available process stack and eventually crash PHP (due to reaching the) S9 B& I7 r8 @0 S2 G
  994. ;stack size limit imposed by the Operating System).
    1 m2 N  @& \' v6 w! Q0 H' K3 r
  995. ; http://php.net/pcre.recursion-limit
    " Y7 ?8 G% N/ c+ E6 s( d3 S0 d
  996. ;pcre.recursion_limit=100000
    " X( i- G9 }  B6 o+ ~

  997. * f- w  W6 G. S( e% j  \
  998. [Pdo]
    . {0 i4 L+ p% I
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ L0 R* d% |' B2 F
  1000. ; http://php.net/pdo-odbc.connection-pooling  l5 q( X5 c. D: }  q6 D6 y! j! K5 S
  1001. ;pdo_odbc.connection_pooling=strict* y, w' T; c% w1 m  B9 N: W
  1002. ; h. {2 x5 G% \4 |; b  J
  1003. ;pdo_odbc.db2_instance_name, ~4 `8 D# r. ~# d" P
  1004. $ V4 a0 i3 q9 U0 i7 e, e% _7 ~
  1005. [Pdo_mysql]
    8 a% K* @1 G# I( w" U6 }
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / B% O8 n& d% [) r; ^
  1007. ; http://php.net/pdo_mysql.cache_size  d3 W2 q" i$ a
  1008. pdo_mysql.cache_size = 20000 X* \# W( I8 |' G& t$ J' R) N

  1009. ! K, q7 J  V  Q. M) M
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 L# [9 A. d& x' {5 Z3 s
  1011. ; MySQL defaults.7 J! [! [( f: F1 k' c8 o3 [
  1012. ; http://php.net/pdo_mysql.default-socket+ y4 Q9 c" u& b
  1013. pdo_mysql.default_socket=& g( J' M3 k  S7 t) O4 L
  1014. $ i9 d1 b& x- @& J9 r1 G2 I" h" w
  1015. [Phar]
    6 \9 f) h8 ~" d3 G: R' i' Z! V& ?
  1016. ; http://php.net/phar.readonly
    - W5 H. N* h0 M& i$ g% P
  1017. ;phar.readonly = On: Q' E0 ?8 }( S& o

  1018. / l* R+ V# b+ T* r8 c7 u8 Q, F
  1019. ; http://php.net/phar.require-hash
    ; m9 Y+ ]7 ~# U( `
  1020. ;phar.require_hash = On/ U# L# t+ _: ?) e" |

  1021. + g& U: s- S- F/ ]* e6 g! I" T  |
  1022. ;phar.cache_list =+ B3 o0 X5 ]' L0 b, y
  1023. 9 |0 q# D  }9 m  A
  1024. [mail function]* r1 ?  G& a( ^( P6 ^
  1025. ; For Win32 only.
    4 {  r3 U- D6 ?# K0 i/ ~
  1026. ; http://php.net/smtp
    % |1 o0 `: Y" Q" X  Z; u
  1027. SMTP = localhost
    * U0 E; w) J: N0 O
  1028. ; http://php.net/smtp-port: e8 H" V, E2 L3 X5 q
  1029. smtp_port = 25
    2 I$ ^: R5 U1 v* _8 h1 `( t  t
  1030. ! W4 S2 `: N( @7 ]
  1031. ; For Win32 only.& k3 W' F1 j3 V
  1032. ; http://php.net/sendmail-from4 C1 r% ~; l) m+ a) Y% I
  1033. ;sendmail_from = me@example.com: j3 u5 L$ r% d- Y6 x4 \

  1034. # p( H7 x, i. @& y3 R6 c
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  I9 T# K+ O0 s- m5 [6 T
  1036. ; http://php.net/sendmail-path
    ' j1 S2 ^) y0 C
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    8 }" s1 \, C* r3 N
  1038. , i6 x0 g0 A2 @# ^- B
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    : ~8 [! A1 f+ E" ~$ G, [
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # }( }% d5 Z2 k- B- i
  1041. ; the 5th parameter to mail().3 b3 F6 s) L6 u* H& A
  1042. ;mail.force_extra_parameters =( J5 P  f) \1 A* r( q+ [9 U1 G4 L

  1043. & ~$ C; z+ i: o; Z6 \. @) W' z
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ N) Y5 r) }( h, k: ^
  1045. mail.add_x_header = On. s( x, L6 a. l, e; d

  1046. . Q+ P1 D% c# Y  o! l. a
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 w( C. _! v0 K* A$ c
  1048. ; the full path of the script, line number, To address and headers.
    2 o4 M0 F3 g8 [. @( [
  1049. ;mail.log =3 M$ @% M3 C3 m/ V, B
  1050. ; Log mail to syslog (Event Log on Windows).+ u! p2 c: w/ [# F9 ~0 f) U
  1051. ;mail.log = syslog
    $ W- W! r, J, A2 O6 K, D
  1052. " A3 H5 S4 r5 o9 K/ S1 K  m- L* j
  1053. [SQL]$ y1 O! k3 h2 I7 J2 P
  1054. ; http://php.net/sql.safe-mode
    + r) ^5 m, \9 C; V) ~
  1055. sql.safe_mode = Off$ ?; z8 {- C( A5 k4 P$ W! G3 R

  1056. ; `5 ~, S; Z- [# j, @; i
  1057. [ODBC]
    # A8 ~9 I3 F5 e0 x' M
  1058. ; http://php.net/odbc.default-db
    8 Q/ }8 K' y  Y
  1059. ;odbc.default_db    =  Not yet implemented" {& e1 V" D( `9 X" P6 Y

  1060. 1 A) L! r6 D, F
  1061. ; http://php.net/odbc.default-user* A7 N3 U7 u# n- F  f$ A+ {9 {
  1062. ;odbc.default_user  =  Not yet implemented* e; ?) A: V) R4 J1 R9 H; X
  1063. 3 Z/ j# g# m  R$ q
  1064. ; http://php.net/odbc.default-pw
    * y; t: a, i: c& q
  1065. ;odbc.default_pw    =  Not yet implemented
    4 B" L' v4 ^7 Q2 N7 b$ L
  1066. ( Z' R# E3 y1 n! m
  1067. ; Controls the ODBC cursor model.
      D' R! j0 _  s, i. k
  1068. ; Default: SQL_CURSOR_STATIC (default).' h7 [% J$ K1 d( t% R6 d
  1069. ;odbc.default_cursortype
    & h7 n. D: ]; a) o, j2 h

  1070. " Y7 i/ p0 E; B5 z6 c3 i  y, K5 p& i1 d3 D
  1071. ; Allow or prevent persistent links.9 K. A& F% n2 m
  1072. ; http://php.net/odbc.allow-persistent% Z( K4 r5 B9 P8 s. I1 B
  1073. odbc.allow_persistent = On+ m) P* X! h# f! p" c; u

  1074. $ w. v- F1 u$ d8 U* ?
  1075. ; Check that a connection is still valid before reuse.
    ' q- H8 @" D+ S
  1076. ; http://php.net/odbc.check-persistent; F2 T  S: B% W, j6 ^/ C/ y' v
  1077. odbc.check_persistent = On# t# K: K: l* m& a8 ?  }# Y

  1078. 4 k2 |" T2 v' o7 o
  1079. ; Maximum number of persistent links.  -1 means no limit.
    1 z& n" W5 g: }7 R9 o; U2 r6 }7 I
  1080. ; http://php.net/odbc.max-persistent
    8 ?, L, W: M# y
  1081. odbc.max_persistent = -1
    2 `" n4 D( U  Q/ Z5 l
  1082. 3 ^0 Q) s" }: o" j
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ a* p; J4 W: A, H& J
  1084. ; http://php.net/odbc.max-links
    , l: ~" g* |; g+ l
  1085. odbc.max_links = -13 j) U$ r  j) \5 x, Y3 ~. s; E

  1086. . y* H1 ~6 h: j/ N5 W; O: q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 E# U, b5 R& c1 l9 L8 w
  1088. ; passthru.
    4 Q. M1 |6 x; i7 Y1 \; x" Y7 ]
  1089. ; http://php.net/odbc.defaultlrl
    + t" B. K% I- k5 C* i/ n
  1090. odbc.defaultlrl = 4096, c& R3 G# y7 g+ a4 |
  1091. ! ~- f! L) \. A7 S' D
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.) z0 }' v% w9 r4 A7 j4 f, ?2 l# y
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation% {8 L- q6 n- p: u, C
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode3 }- j  ]* [! x9 `' L& ?8 t
  1095. ; http://php.net/odbc.defaultbinmode& H( i) p; n9 h$ W  E* g
  1096. odbc.defaultbinmode = 1
    6 q3 q" a* E: h7 p

  1097. 9 Z. ?' y( `! M6 c
  1098. ;birdstep.max_links = -1
    ! S8 A5 e( W/ m2 o: u4 {' G& p
  1099. 4 ]& O) X/ _4 O" P% ?2 a
  1100. [Interbase]
    # N4 v, h# G6 g5 S7 G
  1101. ; Allow or prevent persistent links.% g6 F1 o$ t. F8 k* k6 l* {
  1102. ibase.allow_persistent = 1& i" {* ^/ `& o4 E8 `$ S
  1103. $ F) v" s1 i: w* b/ S* `, w) s6 c
  1104. ; Maximum number of persistent links.  -1 means no limit.
    . I1 b- b5 {+ D
  1105. ibase.max_persistent = -1
    % W& W5 Q( {) @$ h  M. a$ g
  1106. ' t7 S# N! m" V+ [$ t2 k* ?3 g9 n
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 p0 U" p# i$ G% @3 J
  1108. ibase.max_links = -1
    " S9 M. A0 L/ t
  1109. % A, M7 ^! R4 X9 i! v
  1110. ; Default database name for ibase_connect()." `* H: H( u. j6 `0 M) z  G
  1111. ;ibase.default_db =3 `' E  f2 N1 t/ I( f
  1112. / H! o1 a) U4 J. c& D
  1113. ; Default username for ibase_connect().$ B  G& D/ _3 n
  1114. ;ibase.default_user =
      M* e! N, p- u1 U+ u6 z
  1115. 6 ~2 ~5 n2 X6 i# T; {. |- N
  1116. ; Default password for ibase_connect()./ w7 z5 M7 a" v( |
  1117. ;ibase.default_password =
    4 w7 f. j2 e: S! d8 \8 {

  1118. # Y; F0 Y% i% E, |- z# K
  1119. ; Default charset for ibase_connect().
    1 q7 d# n* J9 r0 \. c* Y. q
  1120. ;ibase.default_charset =' k4 C9 t1 `' Z: j0 n
  1121. ; W/ m5 H" q& u8 a8 o. F
  1122. ; Default timestamp format.1 y% M6 K  E8 y2 B
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 F+ r! {* L) Y& \* P6 a

  1124. : ?" {) i$ o% ^2 T
  1125. ; Default date format.
    2 v5 K$ W8 p% x  k$ k- p
  1126. ibase.dateformat = "%Y-%m-%d"- n; \7 J9 A* W  K6 R
  1127. 3 o$ J1 G& B3 i- o  o/ N
  1128. ; Default time format./ a5 z0 n- o$ I- y, c, ?& U! f7 S
  1129. ibase.timeformat = "%H:%M:%S"
    ; A9 m4 f6 [; |
  1130. / v9 K4 R! o; q; r) S+ h5 w  S1 H; X
  1131. [MySQL]  d1 k, `% g) s3 y- y  m' s
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # `, w; i2 {$ d1 ^3 L
  1133. ; http://php.net/mysql.allow_local_infile# `% \# ]+ ~) Z9 V3 \7 e2 ]
  1134. mysql.allow_local_infile = On7 t1 E$ l2 X4 k5 b

  1135. & U2 c8 o7 G/ o+ D- `' `0 m
  1136. ; Allow or prevent persistent links.
    # H2 F" W1 h4 a6 q0 U# c+ ?9 S% u
  1137. ; http://php.net/mysql.allow-persistent
    & a6 ~* V4 A# ^+ I; D& v) o: W
  1138. mysql.allow_persistent = On
    + X( H( a$ m1 s1 B8 g9 p: i: B

  1139. . j& D) E/ K4 k  X
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % x- k, [- w' Q+ ~/ j6 Q
  1141. ; http://php.net/mysql.cache_size1 k6 E1 h& J# i! ]1 `& E
  1142. mysql.cache_size = 20007 O* `( g+ _6 x/ M3 C3 a, N* n
  1143. ( N7 U/ e% K& R
  1144. ; Maximum number of persistent links.  -1 means no limit.
    1 d1 f6 k3 G* K' J5 @; a: o7 M; T; j
  1145. ; http://php.net/mysql.max-persistent
    " O  P! }8 m6 D5 J7 {. K
  1146. mysql.max_persistent = -1
    - |* @* }; a; z3 a9 Y

  1147. ( h, T% s! }: N; N2 \
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      z( s! Y5 r3 ~) F. A+ ~1 A( _
  1149. ; http://php.net/mysql.max-links
    : {  h" v5 V% O0 Z
  1150. mysql.max_links = -1
    6 ^) c8 {7 _( [, A  K% J' o* [7 @
  1151. ) d4 p( J" g9 X' d- I% H. i8 ]1 k
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ! m5 Y; x  I" u' [' C, u5 r) E3 q- v
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ @, q$ g- c. K
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 X( ?# R9 M! H& N* {9 W: v$ q
  1155. ; at MYSQL_PORT.! i5 U- [6 `- j# o# V0 U: X9 J
  1156. ; http://php.net/mysql.default-port4 E/ }/ ?3 ^$ Y% m
  1157. mysql.default_port =) L; r8 p. E' n
  1158. % H) }- @+ o( v
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * t* N$ H' j" n2 B1 E2 f
  1160. ; MySQL defaults.6 e9 |3 @5 X7 u
  1161. ; http://php.net/mysql.default-socket/ m( g3 g0 l8 h9 I7 B# D9 J1 Z
  1162. mysql.default_socket =3 P7 w, t8 f6 [6 i, ?5 {
  1163. 2 R6 C0 d: D! _% X5 m9 w
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).5 W9 }3 F  u+ Y) q: O' j0 d) P! u
  1165. ; http://php.net/mysql.default-host
    % g5 K" K7 n: r- n* `% J6 j7 \
  1166. mysql.default_host =
    * b% b9 a' N' c, o6 k) G  i

  1167. 7 r9 \; @# {1 R1 K) X' ]
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).# X7 ~8 L$ j" i+ I
  1169. ; http://php.net/mysql.default-user* X% @0 \' B+ u# K
  1170. mysql.default_user =% \+ m" P9 \! h
  1171. + M' V4 i5 t$ @" o& a
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    / o4 B( z6 ^  |
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    & G! g$ G% Z- B
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")5 ~& E) H, ~' \0 R# j4 D
  1175. ; and reveal this password!  And of course, any users with read access to this3 }5 ?2 I/ D7 W' m& M8 w
  1176. ; file will be able to reveal the password as well.
    : l3 e$ D! R7 p- D
  1177. ; http://php.net/mysql.default-password/ L( u4 B$ V/ K$ p3 h/ X1 O
  1178. mysql.default_password =% ^6 u+ ?9 m( D4 h5 y

  1179. & k; `1 [1 m# W8 O2 \, p* h4 P" r5 Y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    / q: Z! @" o/ P) X! T
  1181. ; http://php.net/mysql.connect-timeout3 u! G# b; K: I
  1182. mysql.connect_timeout = 60
    , n& y- h8 p# A

  1183. 4 V# n' }/ Q7 S+ a% f2 m, K0 m
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    1 h! _% W+ }; e# c  Q6 `- ]
  1185. ; SQL-Errors will be displayed.
    8 w) Q. Z1 C" J
  1186. ; http://php.net/mysql.trace-mode) z2 ?  i1 t' m- z8 Z
  1187. mysql.trace_mode = Off
    * r7 n! `' m/ Y0 J6 s( S
  1188. * q3 }$ V7 o6 D- n( T9 e9 B6 ^
  1189. [MySQLi]
    " n( V& ~, J7 S! u) ]9 I

  1190. ) n6 ^' ?. Y9 k' J
  1191. ; Maximum number of persistent links.  -1 means no limit.5 I% ]. s% G9 ]- z8 O
  1192. ; http://php.net/mysqli.max-persistent
    , x, M9 t# z5 ?. q- ]4 ~6 h
  1193. mysqli.max_persistent = -1- v: T: x! m" D) |: n

  1194. % b: b* Y/ U' f9 L: \, L
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  B( n- i+ G) i' B# I
  1196. ; http://php.net/mysqli.allow_local_infile
    " G4 c0 P1 E6 @2 t6 q0 x
  1197. ;mysqli.allow_local_infile = On3 ?+ v3 g7 {8 K" {0 n4 z
  1198. ' g# @5 k- x7 m- W4 [
  1199. ; Allow or prevent persistent links.
    $ q) j/ S. N* L$ f8 d3 s
  1200. ; http://php.net/mysqli.allow-persistent
    8 ^- ?1 B# s& C' V- w
  1201. mysqli.allow_persistent = On
    & b' i& t8 ]- Z+ d

  1202. 0 F' L  J" H7 Q5 M4 w
  1203. ; Maximum number of links.  -1 means no limit." s% @% R) b4 k; Z/ _; \0 ?
  1204. ; http://php.net/mysqli.max-links- ^2 c, {: X5 E/ U4 Y8 r: E" o
  1205. mysqli.max_links = -1
    5 ], b9 }% W! _/ N- d5 E. q7 w5 ^
  1206. $ Z9 |: ^0 M# e/ r
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + E; C" e. h$ B
  1208. ; http://php.net/mysqli.cache_size
    ; K3 d' g; Y7 ]: J& L9 u
  1209. mysqli.cache_size = 2000
    ; K4 m2 X: y4 m% y, E, J2 s1 e, n
  1210.   i# I7 e' s- Y% x# Q
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use. b# q  P# Q, a  A9 U  r" R) Q( V& n; z
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! K; |1 C  N% q. m% z. `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 w% R# \  Z. J" e# s' }9 n
  1214. ; at MYSQL_PORT.
    % I# |. V8 S/ g* [$ H4 x/ @
  1215. ; http://php.net/mysqli.default-port
    ) f4 S7 R( u0 m; }% R+ r, S
  1216. mysqli.default_port = 3306
      s6 J9 c/ X9 l/ R
  1217. ! g/ \8 ^. k: B
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 Z+ P  T' d: q2 f, q
  1219. ; MySQL defaults.
    1 L; x, b# w% o/ l. J2 L$ _
  1220. ; http://php.net/mysqli.default-socket
    4 h2 c* y4 s# D2 Z5 [2 p4 d
  1221. mysqli.default_socket =3 G" S( K/ v/ b' o. J4 y
  1222. ( J7 e5 c) y% C+ a5 ]  h
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).; D2 z/ Q) {# B8 f9 ~( t
  1224. ; http://php.net/mysqli.default-host. O! E( s% O  b& n
  1225. mysqli.default_host =
    9 M" X+ O4 W! A3 K2 }* m

  1226. : ?  L2 |0 u! |, l: M" t
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
      P3 g0 ?' N% C, W
  1228. ; http://php.net/mysqli.default-user0 F/ V5 V  D2 [! B% \5 L
  1229. mysqli.default_user =. l* T7 _, `& V5 W6 X$ ?
  1230. 4 G9 K% W% D/ a; U0 R# w: i
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    . a3 P5 c! B% _5 A6 d) x5 q8 M
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.# x5 p8 u! Y) y4 F: X1 |* t
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")' Y; G, \; @+ {8 S$ p
  1234. ; and reveal this password!  And of course, any users with read access to this& C, C$ k4 Y! J2 p2 Q
  1235. ; file will be able to reveal the password as well.0 O0 M6 A6 t/ u; a' p  U; ~
  1236. ; http://php.net/mysqli.default-pw" P$ }) U1 p8 r/ H) Z6 M1 o+ ]) n
  1237. mysqli.default_pw =
    5 T! ~  Z: r3 W2 B) s
  1238. 5 K" Z# ?8 P& Z3 }7 [. a
  1239. ; Allow or prevent reconnect# ]& f) N; k% g9 ~7 l) l: e
  1240. mysqli.reconnect = Off+ z$ U4 ?, g$ b* H. Z' d& Q

  1241. 2 G& X& C6 T9 r6 w9 t6 u$ |: L
  1242. [mysqlnd]0 y6 ~2 O) x0 _+ c; u" _! F
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 \7 O( ]& R2 d: u) Q- w6 R3 l6 t
  1244. ; used to tune and monitor MySQL operations.
    * D$ n3 [7 D6 p  q1 z# B
  1245. ; http://php.net/mysqlnd.collect_statistics
    . N. E) w4 J2 b" `  C
  1246. mysqlnd.collect_statistics = On
    ( y( F: P: e4 ?7 W6 r  d1 D

  1247. / r+ s4 ?4 Q  }: Y. P; [
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 {3 \* F% Z& `% k  U. t9 |; V
  1249. ; used to tune and monitor MySQL operations.
    $ ]0 Q( J" \/ @/ l- w& y
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 p$ o5 L' K# P9 c) Y+ Q- a) L5 O
  1251. mysqlnd.collect_memory_statistics = Off4 T$ Z- l" e. b) ~6 s

  1252. 2 U. x8 m' M; @; L7 {
  1253. ; Records communication from all extensions using mysqlnd to the specified log7 S$ l3 C# f$ t. `: h% a
  1254. ; file.# t/ s% ^1 D$ Q, d* G* p2 |
  1255. ; http://php.net/mysqlnd.debug- J( t1 A' l1 Q9 F, i
  1256. ;mysqlnd.debug =* |$ H$ t9 O4 o0 j
  1257. * p/ S+ j4 I: r8 }& b' w
  1258. ; Defines which queries will be logged.
    4 \5 c8 K8 b6 q. m4 [5 J' C' \" o
  1259. ; http://php.net/mysqlnd.log_mask7 y- g0 g  o9 g6 c: d  r
  1260. ;mysqlnd.log_mask = 03 A. _5 W4 ]) B6 u- G; C

  1261. 0 \$ A7 [: d; N/ C. _1 u  ?
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.5 T( D2 Y# l# U1 _) F! X6 t2 B
  1263. ; http://php.net/mysqlnd.mempool_default_size
    9 Q$ G1 d  S, L' |
  1264. ;mysqlnd.mempool_default_size = 16000
    . w) e- |" t* W& T" U7 m. m' U

  1265. & Y) I, P4 g/ p; U- N* n0 A, r
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.! f/ t( J2 F  l' V; w
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    5 d: E' I) r! s6 y/ [2 g
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    % E8 Z$ r3 b$ y. {, y

  1269. ; V2 |; s0 [. ~4 v  C' J
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & D4 Z" J; F* g# }, j8 G
  1271. ; bytes.
    * L8 U, _* m$ ]& t. W: b" Z# ]% K# R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( ]+ O5 n. S0 Z$ `. U& i; n; i" y$ s
  1273. ;mysqlnd.net_read_buffer_size = 32768. `, N) X( q. k
  1274. 0 F; B# @, F/ \5 J
  1275. ; Timeout for network requests in seconds.
    8 ?" S% w1 ?: w% o* F' e9 m1 H
  1276. ; http://php.net/mysqlnd.net_read_timeout
    / q( Z6 t/ X$ _, v6 \  K! f
  1277. ;mysqlnd.net_read_timeout = 31536000
    3 U! u/ z$ `) q5 [& N4 ^, P
  1278. 2 |& @, j5 R6 e0 T, U5 Y
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! d! E; y, ~1 K# ^5 ?" `9 X' i
  1280. ; key.
    8 z) G, U0 l& f( j
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    % [  I0 J& H5 s. s; ]
  1282. ;mysqlnd.sha256_server_public_key =# @3 z  X* n7 {* g

  1283. ) K; T9 s3 ?5 t
  1284. [OCI8]4 e3 k5 O' f, |: O  ~
  1285. / E* Z) Y- f# s: y
  1286. ; Connection: Enables privileged connections using external
    3 Y/ R3 y7 d( d, y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & t* `$ M$ g! t; X
  1288. ; http://php.net/oci8.privileged-connect
    7 |  |: K1 H( I: \) [
  1289. ;oci8.privileged_connect = Off
    , L7 l( M  t% I" h7 n$ J& [- E6 Y" h

  1290. 1 Z6 V7 {* E5 O4 D3 {
  1291. ; Connection: The maximum number of persistent OCI8 connections per! J# R$ F+ e) P
  1292. ; process. Using -1 means no limit.! @- b5 f2 ~- Y" @8 K6 }
  1293. ; http://php.net/oci8.max-persistent
    0 T3 B& J7 r- y- D* @9 Z
  1294. ;oci8.max_persistent = -1
    . R  T. b4 R# X  _! `+ o3 E
  1295. 5 `+ b. z$ \# O, x
  1296. ; Connection: The maximum number of seconds a process is allowed to: D6 i( b$ o; S5 p+ X5 i- t. w
  1297. ; maintain an idle persistent connection. Using -1 means idle
    7 Y( ]6 k  [, a* ^3 y8 @3 i
  1298. ; persistent connections will be maintained forever.
    2 f% t/ ^& M* |  J$ t) ?/ I. K7 ~
  1299. ; http://php.net/oci8.persistent-timeout2 }; _4 V( g4 Q2 _. r& s
  1300. ;oci8.persistent_timeout = -1: m, T" g. `% a$ G

  1301. $ F4 \3 g1 v. x
  1302. ; Connection: The number of seconds that must pass before issuing a+ k- K7 }7 g' ]  x
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ' r9 B  I1 H6 _, {3 U* D# Y
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ l2 Z- [) L1 J' L
  1305. ; pings completely.0 X7 H7 a/ N' X& X8 o# m: P. U9 O
  1306. ; http://php.net/oci8.ping-interval
    % w+ F6 |- ?/ @
  1307. ;oci8.ping_interval = 60
    ; Q1 K! ?, y5 b- h0 e7 E: u& D
  1308. + M4 f0 f# Y% \4 Y5 R* S! B' e
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 c+ G' m" |$ t) H5 `: L
  1310. ; for all pooled server requests with Oracle 11g Database Resident# Z' j2 p7 t, ?+ x7 G$ `: P3 N* K# j
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& ]" N+ {8 X% d2 ?- y
  1312. ; the same string for all web servers running the same application,+ B0 ~5 Y# R$ b
  1313. ; the database pool must be configured, and the connection string must- g6 q- T; @# b' R0 t/ Z
  1314. ; specify to use a pooled server.: M" j4 X2 R, N4 U% t! a
  1315. ;oci8.connection_class =" ~6 |: ]- p$ Z3 Y! }( ~

  1316. & N. R6 r% A) k" b% [, o/ |
  1317. ; High Availability: Using On lets PHP receive Fast Application0 w7 O) g  P2 l  L$ d) J
  1318. ; Notification (FAN) events generated when a database node fails. The9 n. H% w% J! `9 T
  1319. ; database must also be configured to post FAN events.- {' v* m( \! l9 U
  1320. ;oci8.events = Off
    + }3 r6 S) T/ g& v0 b; G
  1321.   I- \- x  ?# F# h3 U
  1322. ; Tuning: This option enables statement caching, and specifies how
      G. k! g9 k) L* N
  1323. ; many statements to cache. Using 0 disables statement caching.; N3 M6 O" D$ F- t
  1324. ; http://php.net/oci8.statement-cache-size
    ) i5 _$ M: g& J9 Y- d2 ]" I
  1325. ;oci8.statement_cache_size = 20
    ' ^3 g/ l3 N) W  V0 W5 p

  1326. , ^/ J/ H: f7 `: C# t! k/ E
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    7 G% q9 ]2 D/ V2 k! r
  1328. ; rows that will be fetched automatically after statement execution.
    * ^& v$ E6 _& o: n7 ~
  1329. ; http://php.net/oci8.default-prefetch; y9 _1 X- k4 L2 s5 I
  1330. ;oci8.default_prefetch = 100$ Z8 c% ^3 l" J& H3 L5 x. o

  1331. / i* K% M9 U) G3 T' i9 ?
  1332. ; Compatibility. Using On means oci_close() will not close
    3 a* R* x2 M8 H/ j* `( I
  1333. ; oci_connect() and oci_new_connect() connections.* ]$ }/ x. {% M$ ~0 U
  1334. ; http://php.net/oci8.old-oci-close-semantics/ L3 `" A, ]* Y* Q" }2 V/ f9 n
  1335. ;oci8.old_oci_close_semantics = Off
    3 C' e- {# m; Q0 {3 `( p0 [4 {- f

  1336. ( f7 e: K9 I0 [
  1337. [PostgreSQL]
    " ]( S3 W. Q1 x8 _
  1338. ; Allow or prevent persistent links.
    7 {; k+ O* r! c' p' d' n0 ]4 s
  1339. ; http://php.net/pgsql.allow-persistent
    , s) e  E: b9 U4 A" ^; K% N
  1340. pgsql.allow_persistent = On
    " d) u1 H& \$ O9 _" w$ y
  1341. 7 u  D" w( L5 _0 w3 E: D& ~8 H
  1342. ; Detect broken persistent links always with pg_pconnect().
    2 E/ d( i, I" {+ I3 l: l1 D% ~
  1343. ; Auto reset feature requires a little overheads.
      d' R; \0 l; {$ e3 Y* A  n- ^
  1344. ; http://php.net/pgsql.auto-reset-persistent4 H4 ^5 A# O) p! E
  1345. pgsql.auto_reset_persistent = Off
    ! a0 I0 B: k1 `! Z+ J
  1346. 1 e9 j: `$ n: F" p
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ( `9 a2 D3 I1 @' k; P
  1348. ; http://php.net/pgsql.max-persistent
    1 {5 E. c) ]. F+ f' x
  1349. pgsql.max_persistent = -1$ u1 `$ Q' v6 T2 x0 c: \

  1350. : w% g& a) E; f3 {- W
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! P$ O+ B& z+ O/ j, E5 O8 Y! E
  1352. ; http://php.net/pgsql.max-links; Q" i& b" S# m+ }
  1353. pgsql.max_links = -1+ p/ V$ _' b- M* p
  1354. " b4 _) f7 I! z- Z
  1355. ; Ignore PostgreSQL backends Notice message or not.+ h- j  E" @& E7 j; T. D  ~
  1356. ; Notice message logging require a little overheads.
    , `9 W5 I9 t2 J% t' f+ H  ~: e
  1357. ; http://php.net/pgsql.ignore-notice
    . @$ o) s$ H2 [7 ?3 q& b
  1358. pgsql.ignore_notice = 0
    1 T/ l* X( c! @7 j1 T- V6 O) V

  1359. 1 O7 \8 K& X  s1 E* H' B5 e
  1360. ; Log PostgreSQL backends Notice message or not.% h: `5 q+ I: H
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * @7 U. B- ?3 M9 F- n+ k* I, B5 g
  1362. ; http://php.net/pgsql.log-notice
    - M+ I' e6 \/ W, f4 O1 E. I( T! P
  1363. pgsql.log_notice = 0* y9 X# ^4 j+ M* \* `  U

  1364. 7 W$ p3 j/ N, `, ]6 C1 E
  1365. [Sybase-CT]
    3 v. B9 o& \. m6 {' X! L# |( ]
  1366. ; Allow or prevent persistent links.5 \8 ]$ G! r; o$ n9 Q6 o- X1 N1 f
  1367. ; http://php.net/sybct.allow-persistent1 U! b# d2 x8 ~
  1368. sybct.allow_persistent = On1 W# u; {. P9 k. C; x- o
  1369. , l2 H- A3 E3 o9 d7 k
  1370. ; Maximum number of persistent links.  -1 means no limit., k2 ]: ]4 i9 {" T
  1371. ; http://php.net/sybct.max-persistent. I+ O. s" [: j
  1372. sybct.max_persistent = -16 C9 }7 e& G# X) g: E3 b

  1373. ( @' d4 E' @1 J6 g" h( {- `. Q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' A) s. ]/ V3 ?6 X6 Y* w1 [0 ]  D
  1375. ; http://php.net/sybct.max-links) M7 Y+ P* C3 n
  1376. sybct.max_links = -1! R; j; j- w/ z+ |' @3 D

  1377. . m5 e& v2 B% |; @3 h
  1378. ; Minimum server message severity to display.6 F6 A" Z$ ?+ w0 B9 Q/ }$ v5 m
  1379. ; http://php.net/sybct.min-server-severity
    , X; A$ b; E% }  A. @
  1380. sybct.min_server_severity = 101 n8 \4 Q* W& H

  1381. , Y$ Q) F: I; R$ L( y, a
  1382. ; Minimum client message severity to display.% @$ R" K, O" \* s
  1383. ; http://php.net/sybct.min-client-severity
    9 @- D, F7 w% r: X& Y/ Q- A
  1384. sybct.min_client_severity = 10" ~) C7 C# A" r$ G
  1385. 1 M, X" H- n$ G( A7 C, m0 b
  1386. ; Set per-context timeout& ]1 C* \) o8 v
  1387. ; http://php.net/sybct.timeout
    0 ^  O1 Q4 v+ U1 ^" O$ T
  1388. ;sybct.timeout=
    , ]8 C% n: V+ }3 t5 r) L! f7 c

  1389. 4 f5 C- Q- T- z" v4 v/ V. K, s
  1390. ;sybct.packet_size! ^2 t7 e0 ]3 ~; ~2 I

  1391. ( x4 [3 f. F+ v( p  y$ b) ^5 y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.! K9 N" g6 G  j$ d/ K
  1393. ; Default: one minute% j0 Q8 w! N( G( f! a: v  w0 H
  1394. ;sybct.login_timeout=
    / ]) @  M: d7 {/ s& }7 Q
  1395. # u. f' Q) L. A; u" g5 {  O
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.3 J0 a  i5 @# t& _8 f% g0 Y
  1397. ; Default: none
    ; I3 V" ]5 v4 W& a+ J
  1398. ;sybct.hostname=) m. y! F2 `1 L$ ^
  1399. ; ^1 z* _2 i% W# R- ~) W3 _6 O
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ) c! {' ~5 `3 H' q3 _; {" _( j, Z
  1401. ; Default: 0
    8 ?: r  D9 z" g7 z& _
  1402. ;sybct.deadlock_retry_count=$ }% c& |/ q" @! m/ Y

  1403. : ]4 v+ r4 k8 e
  1404. [bcmath]* R3 G0 C. h; w8 l
  1405. ; Number of decimal digits for all bcmath functions.
    5 C* S$ h4 X9 W( K! H) J' u
  1406. ; http://php.net/bcmath.scale3 S+ C$ ^- b2 {' {9 ^+ e
  1407. bcmath.scale = 0
    - t5 q, U- D1 K
  1408. $ n, D  S4 x. H! [
  1409. [browscap]. |! F4 t2 n0 U4 `* F6 _# Z# q
  1410. ; http://php.net/browscap
    # {' @; J7 [; A
  1411. ;browscap = extra/browscap.ini# W( d5 J& _3 q& J" C# }* M
  1412. , G6 g3 U; U; n9 ^* M0 V
  1413. [Session]
    . w- A  _6 w6 ^3 y8 o: p
  1414. ; Handler used to store/retrieve data.3 u7 s& ?6 b9 ~9 ^( i
  1415. ; http://php.net/session.save-handler) ~4 c# C6 R; [7 |3 a
  1416. session.save_handler = files
    . L4 n. p7 P* \6 ~

  1417. . M# I) P  u" N, \3 z4 k
  1418. ; Argument passed to save_handler.  In the case of files, this is the path9 a8 x9 b+ W) I, I
  1419. ; where data files are stored. Note: Windows users have to change this
    * ?1 T* `# n+ c$ ~+ {
  1420. ; variable in order to use PHP's session functions.
    ! Z. Q( Z* _: W6 t1 g4 W5 x$ |5 @0 K
  1421. ;$ p# K& r0 C: \2 Y% Z0 J5 z
  1422. ; The path can be defined as:* B2 z, p  A3 e3 x# V" ^) k
  1423. ;, v, E4 X9 _& ^7 ~
  1424. ;     session.save_path = "N;/path"; y% V" m; y5 F! E
  1425. ;
    8 g; X9 e: f& ~, `& }* h4 }
  1426. ; where N is an integer.  Instead of storing all the session files in
    9 h" \2 Y' Y+ X; |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and4 n7 z! N, ~3 w7 i
  1428. ; store the session data in those directories.  This is useful if( d4 E4 U. \! B! R4 m7 O2 f+ W
  1429. ; your OS has problems with many files in one directory, and is4 m1 z6 {) O4 O2 w6 V- _5 `
  1430. ; a more efficient layout for servers that handle many sessions.
    ) [; t5 o' o4 b1 v4 e7 R; @9 B3 Q
  1431. ;9 L$ c( C3 V% c0 m9 V8 H
  1432. ; NOTE 1: PHP will not create this directory structure automatically.5 ~8 m: z/ E3 L7 O( Y" x, z* t
  1433. ;         You can use the script in the ext/session dir for that purpose.$ N1 d: h1 C7 O( H) }, |
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- |* m, Q# `' O  z. O6 y# Q0 P$ T
  1435. ;         use subdirectories for session storage
    $ }$ ?' L( U0 K
  1436. ;  g# F; h: x9 V7 k/ g$ p; Z
  1437. ; The file storage module creates files using mode 600 by default.! u7 C7 I+ n: j0 Y
  1438. ; You can change that by using
    1 e, C3 I* d! G* |1 ~* b% k9 c
  1439. ;. j+ w, U" |& {$ }: s/ E
  1440. ;     session.save_path = "N;MODE;/path"6 a+ S4 t6 a0 W' c! ?) A
  1441. ;
    ! b# I/ G- s' `2 ~- j
  1442. ; where MODE is the octal representation of the mode. Note that this" v- j& D) \! F& ]
  1443. ; does not overwrite the process's umask.
    * n" w/ a' ?6 }* Y' @7 f
  1444. ; http://php.net/session.save-path  A+ E; }0 ^0 j: B
  1445. ;session.save_path = "/tmp"( V2 B# ]& s, P+ Z: c- u( M
  1446. 5 G4 q1 B0 B! W, j
  1447. ; Whether to use strict session mode.' V3 [/ y2 O6 x6 v2 t; T
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate; W3 o& o+ L# s4 v# Z" z
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects9 X. s- S9 r  _7 Q2 l! h
  1450. ; applications from session fixation via session adoption vulnerability. It is2 p, w: N* g* ^9 p" z' J  r" I
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.& U2 C1 a5 u& s, K! l; [: u1 Y9 Q
  1452. ; https://wiki.php.net/rfc/strict_sessions# t4 E& e7 ]: s2 B7 N1 d
  1453. session.use_strict_mode = 08 ?  @7 ~: U8 |8 U+ K% X% |6 z

  1454. 6 K. [9 y8 ~1 @9 N1 \" Z
  1455. ; Whether to use cookies.9 T, V0 O  H4 }3 g0 b9 V" ]6 F0 k0 [
  1456. ; http://php.net/session.use-cookies8 y8 E( e, ]+ |1 j3 w
  1457. session.use_cookies = 1- R4 A& B7 r: B& d- u2 ]

  1458. ' T$ U  a# q9 u: w- }# O
  1459. ; http://php.net/session.cookie-secure
      K, `4 u; d0 v  H( t3 C
  1460. ;session.cookie_secure =
    ' z' y( j4 `! A& C
  1461. 1 f0 P  u$ A# G
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; E/ l% k" ^8 X& ?/ p
  1463. ; the session id. We encourage this operation as it's very helpful in combating4 F- Q! V: J# ~1 W* }
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( x7 P$ m3 \! Q9 }, e0 `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.( G9 {$ a. V' ~" ~
  1466. ; http://php.net/session.use-only-cookies- C7 c; m$ l  h3 e7 ]; j$ K" X
  1467. session.use_only_cookies = 1
    : w; [) [: I5 A: o

  1468. - [3 h4 W, k3 w5 e# k
  1469. ; Name of the session (used as cookie name).
    * ^3 c: b6 e1 `" T1 f: f
  1470. ; http://php.net/session.name
    1 ~! r8 y* |" C# `
  1471. session.name = PHPSESSID: }" a" v' |$ J2 W

  1472. : k. o  `: O3 F$ d) C/ H, {. e
  1473. ; Initialize session on request startup." I' K' `0 c9 k: f+ q( s' w$ ~
  1474. ; http://php.net/session.auto-start8 I9 M: {. f+ B5 u" f0 K9 {
  1475. session.auto_start = 05 o! r6 Z$ W+ H: H1 O& `

  1476. 6 c( q3 y: t% D' ~8 F/ F! }: w: ]
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 B0 I" q6 m# k" e. _% v2 y: {* D
  1478. ; http://php.net/session.cookie-lifetime
    - \# f; {/ b' g- s
  1479. session.cookie_lifetime = 0
    ' F9 O" W/ j. w" b$ b7 u
  1480. - P2 ]/ l/ ?* e/ F
  1481. ; The path for which the cookie is valid./ `) v, l- z; u8 K
  1482. ; http://php.net/session.cookie-path
    ' g- P( O! t) \0 s2 N
  1483. session.cookie_path = /5 J( Y) U: V0 F- e' |! [5 _. [
  1484. 1 `; X' e+ x1 b4 M
  1485. ; The domain for which the cookie is valid.
    ; T$ ~) R5 Y3 s
  1486. ; http://php.net/session.cookie-domain
    3 A& J3 o+ M/ S8 W
  1487. session.cookie_domain =
    8 |( W* o3 s$ X8 j7 S; V2 t6 Q$ k
  1488. . P" M: Y* L" y. @% q2 m" h. E
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    6 {8 X7 `' A% T; z
  1490. ; http://php.net/session.cookie-httponly& x/ [* O3 r& z
  1491. session.cookie_httponly =
    . R! i1 I3 W# F1 F4 B3 k
  1492. ' K0 U; Q0 o6 n' l( X
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    $ E' N; M/ X0 R" u# U2 p% b
  1494. ; http://php.net/session.serialize-handler
    1 M9 V. [9 V+ Y* ^
  1495. session.serialize_handler = php
    3 Y  k; J( P( X" H
  1496. + f1 B) I; C5 @) R
  1497. ; Defines the probability that the 'garbage collection' process is started; w* N0 k/ a- i' n4 M
  1498. ; on every session initialization. The probability is calculated by using- Y2 M" P4 u7 d. h* h; U. H  i! j4 _
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 t& F2 {6 N4 p3 p
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1! r. _0 b6 n  z2 {' k; Q, f2 L
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * |: ?# F' [. S7 s4 h: B" F
  1502. ; the gc will run on any give request.
    3 w% s# x; g8 E3 h% K( ^
  1503. ; Default Value: 16 b. O9 _% N/ `5 p" T
  1504. ; Development Value: 1
    + Z1 W: |3 ?, m% `9 q
  1505. ; Production Value: 1
    2 u, t* _) }! S! Y$ K7 u
  1506. ; http://php.net/session.gc-probability: j# H, p' C0 l, q/ @9 J- |5 _
  1507. session.gc_probability = 1
    4 w3 H, E/ u2 X! Z
  1508. * K0 S# D* r6 r
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    7 |5 m$ L+ E$ Q1 g8 l
  1510. ; session initialization. The probability is calculated by using the following equation:
    6 a* W1 _+ T- ^, n5 G- N7 L& R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    , L( n# T7 G8 w3 Z; _. ?. m8 u
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1/ P/ F, E/ H4 e6 N1 e8 P1 Y
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& G6 E/ A$ r; O  \# A( }
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you5 K) T7 l5 t7 \, w- S) m
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    , O5 x: O$ ^$ @8 J; Z! V" ]
  1516. ; this is a more efficient approach.# u$ W; {! x  o1 D; r* F* j
  1517. ; Default Value: 100
    . i3 E, x5 s3 G* n$ u. a2 s( Z
  1518. ; Development Value: 1000
    ! f+ `: U3 f( n) B
  1519. ; Production Value: 10002 \! i0 f! C) R
  1520. ; http://php.net/session.gc-divisor: \) d( c# H/ r; A
  1521. session.gc_divisor = 1000; V' ~0 ?" o+ u( {) n$ l

  1522. % y9 y0 C8 I( I% V7 k' m% f, v
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 E3 S) S& G* C4 X6 L* F
  1524. ; cleaned up by the garbage collection process.
    , K8 S0 o5 U- l9 `
  1525. ; http://php.net/session.gc-maxlifetime
    * ^0 l' x/ y# H7 c
  1526. session.gc_maxlifetime = 14408 Z0 \8 V5 S) A. R9 e. b

  1527. ; b. z' ?0 z  {5 {2 U
  1528. ; NOTE: If you are using the subdirectory option for storing session files, v1 E8 f0 V1 k& \( P. K
  1529. ;       (see session.save_path above), then garbage collection does *not*+ q" x8 t1 g0 x, k3 p
  1530. ;       happen automatically.  You will need to do your own garbage$ c8 a; k2 u, }1 h" H" T& s8 O
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 m7 U5 ]" a2 o; H& x, s
  1532. ;       For example, the following script would is the equivalent of
    ( D2 E) Z  g, L% e; G4 E
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; `4 s- ]* u! o& _0 ?# p! q
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# v" j7 k4 y9 `- r9 L3 V& Z3 w

  1535. % R3 X" q9 x( F9 d9 Z/ J3 H
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 H% B& W9 t) y) f8 Z8 Q
  1537. ; HTTP_REFERER has to contain this substring for the session to be) [/ @) |% m' o
  1538. ; considered as valid.) \! ]- S9 E/ U; l+ [
  1539. ; http://php.net/session.referer-check' s! r8 K) l( o0 _+ V) R
  1540. session.referer_check =& ], g7 d: g7 R2 M7 n) n1 l
  1541. ( R" `2 l5 w5 U4 w, q( Z9 W0 e2 g
  1542. ; How many bytes to read from the file.
    2 J. L% i$ J& }6 F# E$ q) R- V+ j
  1543. ; http://php.net/session.entropy-length
    / h& l: L1 I8 q. k7 O
  1544. ;session.entropy_length = 32" V6 z. O! X# \. j& H6 a$ s

  1545. & Q- f; d9 i' q3 |" ^+ P7 C0 Q
  1546. ; Specified here to create the session id.' E. l/ z+ }9 P* I6 C; Z
  1547. ; http://php.net/session.entropy-file
    7 u- B1 a2 W; D' c
  1548. ; Defaults to /dev/urandom
    " U/ U& x( ?9 m- c9 o/ p2 x0 O& ^7 H
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom: {& f% r% ~1 E/ s7 p5 u9 X
  1550. ; If neither are found at compile time, the default is no entropy file.
    0 B! S% S7 ]6 v; Y
  1551. ; On windows, setting the entropy_length setting will activate the* |+ T, h/ l, B- s
  1552. ; Windows random source (using the CryptoAPI)
    * p% Z% u6 v3 {
  1553. ;session.entropy_file = /dev/urandom* u" L% C# f/ \6 |4 y: S0 J

  1554. : d5 ?. [/ L6 [4 @; p# l# A
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ Z0 s$ @. c" j; z/ c  r$ E/ g
  1556. ; or leave this empty to avoid sending anti-caching headers.
    $ l; s7 C$ p( m, q6 Q( J
  1557. ; http://php.net/session.cache-limiter
    # v) n* r5 c+ H# ?/ T
  1558. session.cache_limiter = nocache
    * m0 H* U' p9 k6 L
  1559. 8 X5 y* u4 i; X6 j1 L; F" |
  1560. ; Document expires after n minutes.& q! A" U3 z/ i  e
  1561. ; http://php.net/session.cache-expire
    . r* o  K, Z  }; L, c- D2 D: t9 G
  1562. session.cache_expire = 180
    + t$ p9 `3 X% ]) R  R/ @

  1563. 4 j; e, v/ M1 Q% S% Z/ g% J$ R
  1564. ; trans sid support is disabled by default.7 k2 Z3 C/ z1 S+ G. R* b6 o
  1565. ; Use of trans sid may risk your users' security.
    $ C: x! h' S5 Z: X  w
  1566. ; Use this option with caution., X' n: O3 V6 @' |" _5 [% v
  1567. ; - User may send URL contains active session ID( D- ~1 K# A, T2 A) `
  1568. ;   to other person via. email/irc/etc.5 I1 S' E9 q; E. o/ z, g9 F
  1569. ; - URL that contains active session ID may be stored8 h, Y) x0 Q- j2 A4 x( @
  1570. ;   in publicly accessible computer.# c+ k2 N( {3 V
  1571. ; - User may access your site with the same session ID
    % _. {5 K. j' ~& s, e9 I7 K
  1572. ;   always using URL stored in browser's history or bookmarks.# T8 Y9 y. V, O% R/ |
  1573. ; http://php.net/session.use-trans-sid9 U  h) e. A: Q" i, l  z9 }
  1574. session.use_trans_sid = 0# v3 y( C6 L8 m2 S) k) e( L( J/ w# Z

  1575. 7 I- }: R( @: Q' I% \$ W9 F) i
  1576. ; Select a hash function for use in generating session ids.
    ' l" b/ U0 S/ u9 C- w4 S
  1577. ; Possible Values
    - H& E. f8 v: T# a0 F
  1578. ;   0  (MD5 128 bits), i7 L( k8 r; J9 P1 ?$ Z! U
  1579. ;   1  (SHA-1 160 bits)
    ( F+ O& e3 K' r' J3 M, W" ~
  1580. ; This option may also be set to the name of any hash function supported by
    * b+ O6 n& a, R, M( t
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 \4 q" P$ w1 L7 D: g  S! X; t
  1582. ; function.+ T+ H% N* |8 L$ D; Q$ e. p
  1583. ; http://php.net/session.hash-function
    - g0 E& d7 X& H; K
  1584. session.hash_function = 0
    ( x; m, `% z( N7 e- Y( v: c- Q
  1585. + i  Z9 ?! G, B' x( p0 n
  1586. ; Define how many bits are stored in each character when converting
    3 V) ^) k% I: V& t# q; Z* b* z
  1587. ; the binary hash data to something readable.# ^- e1 B- s& d$ s* l
  1588. ; Possible values:, _& g7 S0 o  U7 f0 Q1 s
  1589. ;   4  (4 bits: 0-9, a-f)7 k% D! O$ I2 O6 ]8 {$ M
  1590. ;   5  (5 bits: 0-9, a-v)
    7 ^/ k3 C3 o0 L% y, w* v( n
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")& A& C9 v5 O8 P$ F- [3 o
  1592. ; Default Value: 4' T7 B8 `% [# r% f. b1 h' P' K7 {
  1593. ; Development Value: 5
    4 b* Q0 Q$ }0 I9 R1 l% g% \/ H/ ^
  1594. ; Production Value: 5
    5 F& q/ I  y2 @! ?; u9 p0 m& l
  1595. ; http://php.net/session.hash-bits-per-character
    # r* D9 `$ k7 C8 z  I
  1596. session.hash_bits_per_character = 5" g8 `; d5 S0 A# _- x3 u+ x

  1597. . V' a% j' t2 W, s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.( _7 J: \( b% l
  1599. ; form/fieldset are special; if you include them here, the rewriter will6 d0 g$ i) d9 x  R2 X
  1600. ; add a hidden <input> field with the info which is otherwise appended
    % j$ y+ _$ ]( n1 U4 ~
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.7 Y3 J: L5 ?2 k0 ^- A# R2 }
  1602. ; Note that all valid entries require a "=", even if no value follows.
    * _* G5 ~& A( s
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! ]" g0 f, j& r7 ~' E$ x6 v
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  l) q: p% D& K$ k8 c8 Y7 J
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 k$ u0 \# _) S+ Q0 v2 b; A  \" ?
  1606. ; http://php.net/url-rewriter.tags5 |0 d! W4 M4 d* z5 g
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"0 a/ x# L! x. K
  1608. 8 l7 b. J1 P0 x+ ]9 o, k, B
  1609. ; Enable upload progress tracking in $_SESSION
    4 s- n8 \5 P/ \4 W
  1610. ; Default Value: On
    2 a$ U7 k. u# j
  1611. ; Development Value: On! `) i! o& A/ @3 [
  1612. ; Production Value: On' S2 b, d& ]& U1 G- f
  1613. ; http://php.net/session.upload-progress.enabled1 B! B. P0 s) x3 g4 U& g' S
  1614. ;session.upload_progress.enabled = On5 q% P" k0 ~7 }+ @4 m

  1615. 9 A! J2 m" o0 Y/ ~  l
  1616. ; Cleanup the progress information as soon as all POST data has been read
    , c6 S" u0 Q4 F1 n6 v) C
  1617. ; (i.e. upload completed).9 E* f1 M* t" A9 K
  1618. ; Default Value: On
    ! [0 R$ I* [1 |
  1619. ; Development Value: On
    7 x5 o! `5 h1 n* h
  1620. ; Production Value: On
    & t* o7 |8 n( O- N
  1621. ; http://php.net/session.upload-progress.cleanup
    ( \/ U, D3 ]$ f! p$ n
  1622. ;session.upload_progress.cleanup = On
    5 j1 K* S; y4 V# E+ o0 e
  1623. ' b, i2 \) f, G
  1624. ; A prefix used for the upload progress key in $_SESSION
    / B) H: D1 b6 z1 J
  1625. ; Default Value: "upload_progress_"9 `  C2 z6 `- V6 b$ V3 T
  1626. ; Development Value: "upload_progress_"
    + x6 ?# l& I. x& H
  1627. ; Production Value: "upload_progress_"
      J, P4 H- W# r( S% E/ e1 ]% V
  1628. ; http://php.net/session.upload-progress.prefix- d$ j1 L1 J8 H5 L0 \. l
  1629. ;session.upload_progress.prefix = "upload_progress_"$ m6 y  o0 a1 \! l5 q

  1630. - u) B/ p1 j4 ^( v
  1631. ; The index name (concatenated with the prefix) in $_SESSION. Q' R# x4 ?# p) i0 A( D3 O5 H
  1632. ; containing the upload progress information
    ; ?' y% Q$ s" F3 ?% n
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , C- {! u. V8 j2 m6 q
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 e' e5 \  D7 x( R/ ~: k* K' u5 t6 i
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", y5 E4 y9 O$ @+ P" @$ g- o
  1636. ; http://php.net/session.upload-progress.name; ~) K$ c' ?- G# _2 x8 N6 d; A
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", j  c) W2 v6 v. m

  1638. ( ]( N4 ]) b% `
  1639. ; How frequently the upload progress should be updated.. U$ m* h1 B" B* e& T" n' Y
  1640. ; Given either in percentages (per-file), or in bytes
    - w* h" c9 u( Z. W
  1641. ; Default Value: "1%"2 Z# X/ m9 C/ H& `
  1642. ; Development Value: "1%"" q& o5 _% U) |! @! T! B1 _3 e7 |
  1643. ; Production Value: "1%"
    7 ^7 S4 t3 o2 Y: U
  1644. ; http://php.net/session.upload-progress.freq
    $ E) A! |6 L( J
  1645. ;session.upload_progress.freq =  "1%"0 y6 \# V5 @1 n! @% y2 j( Y

  1646. 5 m0 E( Q8 v' J* h
  1647. ; The minimum delay between updates, in seconds
    ( _, G, {, h8 B, r$ o9 G
  1648. ; Default Value: 1
    5 [( }% [0 U' N- L% H
  1649. ; Development Value: 1- i. i! U7 T5 N$ k
  1650. ; Production Value: 1
    / X7 C2 a- U6 P6 C- B; z" ^+ b
  1651. ; http://php.net/session.upload-progress.min-freq
    9 P8 w+ i6 d' V9 M; f
  1652. ;session.upload_progress.min_freq = "1"4 `7 v" |$ t, i; A
  1653.   H4 v$ [5 j6 Z
  1654. [MSSQL]
    ) L% [+ s; n# ~) O
  1655. ; Allow or prevent persistent links.
    * J1 E$ ?" y% Z
  1656. mssql.allow_persistent = On
      `) F  h0 k2 I" J% z
  1657. 5 f! D9 n9 u" O5 R' g
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ) k: |4 u/ y, E$ ~
  1659. mssql.max_persistent = -1$ H2 M6 ~! J+ E" w: }

  1660. ) a; c% e% ~5 x7 _3 s; C9 G( a2 f
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 f$ a4 [% }' @4 b. t' k/ F
  1662. mssql.max_links = -1! S- G+ \8 L' G
  1663. 2 N$ g  B0 F# \) u: M4 ?
  1664. ; Minimum error severity to display.1 ]3 A7 z( r# W$ `. X
  1665. mssql.min_error_severity = 10
    9 U0 V2 T9 Y0 t" A7 g* F2 J
  1666. / `4 T% Y! l% l
  1667. ; Minimum message severity to display.
    : n# |. Y9 y. k. A8 k
  1668. mssql.min_message_severity = 10
    0 N' t% Q4 v7 J, w3 U
  1669. 0 a3 F3 z) f: \( @
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ' I2 D1 `" s) t
  1671. mssql.compatibility_mode = Off) D# O/ E( }. W% L& Z1 E: ]6 I1 M! b

  1672. 8 @; Z: _% @. h. m* s5 D2 b$ S
  1673. ; Connect timeout# E* u" p( O6 z/ n3 Y2 Y- J
  1674. ;mssql.connect_timeout = 5
    ; M4 R8 i* B# O5 a, `6 I: N

  1675. # W/ ~% ^4 a' }7 Z6 E! _
  1676. ; Query timeout8 i- `& I! ]( L- A# N0 v; A$ f
  1677. ;mssql.timeout = 60; n4 B, r( r- e) M& W
  1678. 1 l0 @, O4 @, ^  c0 V- E7 j, M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.7 [, C5 ]4 B# c5 \- b$ Y2 k
  1680. ;mssql.textlimit = 4096
    ' K) d* B3 @% M- X$ M% E$ e  Q
  1681. & O) s1 x1 P% E( B* k
  1682. ; Valid range 0 - 2147483647.  Default = 4096.& W' B( f- i; i3 B& S. k7 v6 V
  1683. ;mssql.textsize = 4096
    + u: r2 b; X) _, G! N% s$ e
  1684. ; S) c  B6 x* f3 l9 J. E
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.6 ^+ ^) p( z+ w$ r( Z
  1686. ;mssql.batchsize = 0% U; J+ Z% K( S# m

  1687. / W4 N. ~6 V- H: @2 Y/ q! t
  1688. ; Specify how datetime and datetim4 columns are returned" v$ ~% M0 ?9 Z8 T2 g- C& G
  1689. ; On => Returns data converted to SQL server settings
    / v- i' t% d  ?, v5 a: {
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss: O# ]5 G4 |! }7 }# V
  1691. ;mssql.datetimeconvert = On; b; Y: y6 T9 b4 O+ E/ f

  1692. 7 w" l  w. F, c
  1693. ; Use NT authentication when connecting to the server' Z) e0 G! P' s/ W  P" C
  1694. mssql.secure_connection = Off
    % k$ Z3 c% ^: F! V5 w7 n
  1695. - V1 [! i, ?- H# [; c) g9 p, g8 q
  1696. ; Specify max number of processes. -1 = library default
    7 N6 f( ?. G' c: l
  1697. ; msdlib defaults to 257 J+ f8 A1 X5 G
  1698. ; FreeTDS defaults to 4096
    ' Y, e4 [7 l+ w
  1699. ;mssql.max_procs = -1  y' A0 R$ m: \5 i8 N
  1700. ( }$ H, A4 ~) ~/ I+ T" e7 Z/ K
  1701. ; Specify client character set.
    / O  Y2 ^8 ]! v  P% P5 p* ?
  1702. ; If empty or not set the client charset from freetds.conf is used
    1 F' |7 G% k/ L) @" I; ~0 d7 v
  1703. ; This is only used when compiled with FreeTDS' ]1 G& n# Z+ ~8 e. C
  1704. ;mssql.charset = "ISO-8859-1"1 `7 D0 ?  f) Y+ U/ ^5 f1 Z% w+ l$ i
  1705. + _% ~; ]+ X& B2 H7 j! |
  1706. [Assertion]4 H& \0 r5 |" ^$ N
  1707. ; Assert(expr); active by default.. ^5 j& O/ V8 h8 j
  1708. ; http://php.net/assert.active" Z/ P3 i6 m& Y4 N& ?
  1709. ;assert.active = On, c  v8 ?* Y4 \6 D$ [" ?: r7 |5 y

  1710. 4 p9 G, ~3 a; a" S
  1711. ; Issue a PHP warning for each failed assertion.
    ; P2 X& \& h9 X0 ~6 t) s+ X$ g
  1712. ; http://php.net/assert.warning
    2 F( i1 h9 m; w3 D5 N9 n2 }- ^; T2 {
  1713. ;assert.warning = On
    7 c" p: \, |+ ^/ r, F" p8 t) `

  1714. . S% C6 f) W1 ~3 f+ r6 G
  1715. ; Don't bail out by default.3 K" U6 d( _7 D9 O' Y) X
  1716. ; http://php.net/assert.bail
    ' ?* R# g  x$ I' p& [
  1717. ;assert.bail = Off. d: q/ s2 ?! @1 R" d) a. r+ y/ g/ g
  1718. ' @8 ~- S0 @: m2 }! m
  1719. ; User-function to be called if an assertion fails.' x9 B. ^0 Z2 b  i- s7 _
  1720. ; http://php.net/assert.callback- a' E+ ?5 O3 J% d  m
  1721. ;assert.callback = 0; P7 r+ F" M4 b# w: [

  1722. 5 ?9 A( x& w2 Q' O) ]
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    & U9 j2 |" o" q, B8 o3 }
  1724. ; error_reporting(0) around the eval().
    ) s; ]5 J$ Z' _. z$ g' n2 C
  1725. ; http://php.net/assert.quiet-eval
    9 E8 D2 h4 x$ V' T4 H
  1726. ;assert.quiet_eval = 0( A; p( B1 Q% u0 o+ v, F0 Q
  1727. , q# m5 |! X$ q: I& l
  1728. [COM]. t- P6 G4 b% P8 I7 Y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs" K& j. X! ]# A1 c( r- \1 L) T
  1730. ; http://php.net/com.typelib-file
    / R+ q; b, Q3 y; d9 ]; F
  1731. ;com.typelib_file =! M! B* _6 I- a2 }  U$ f" z

  1732. 4 A$ R! g# T9 S0 |: w' S
  1733. ; allow Distributed-COM calls) S# d( n3 D( D( X; C" D& w3 N
  1734. ; http://php.net/com.allow-dcom) b8 N* p# k% s' m' f2 P6 r5 `( ^
  1735. ;com.allow_dcom = true
    / g7 M" D, z" Y) d9 n

  1736. ) B7 e1 B( o% j) q8 k5 O& ^
  1737. ; autoregister constants of a components typlib on com_load()
    * N, j5 Z) l: c  L0 x! X
  1738. ; http://php.net/com.autoregister-typelib
    9 Q) c$ t" p5 ]* z
  1739. ;com.autoregister_typelib = true
    9 J* m( n) D4 e6 c* q& Z
  1740. ! L" f0 P9 I) X1 N$ o. m
  1741. ; register constants casesensitive% l7 m' y4 y  W# r
  1742. ; http://php.net/com.autoregister-casesensitive
    # W6 w: [% a7 V5 N. q$ \; u) L- ?6 A
  1743. ;com.autoregister_casesensitive = false& F+ j+ u3 ?; s5 I1 d
  1744. 3 C: T$ d( m8 K' Y* z' B% \
  1745. ; show warnings on duplicate constant registrations! t: ^9 H: `" z+ l, x
  1746. ; http://php.net/com.autoregister-verbose
    - Y3 K. k; i" n% Q) c" d
  1747. ;com.autoregister_verbose = true" {9 E! q3 j, A+ F6 K

  1748. 3 K3 F2 S7 _6 o9 ]) z) \% U
  1749. ; The default character set code-page to use when passing strings to and from COM objects.$ [6 i# w* s' x- \$ U
  1750. ; Default: system ANSI code page
    8 s  i! }. V) l2 ]% X
  1751. ;com.code_page=
    4 R( r: \- J. M$ R& b- k1 s+ q

  1752. ( ]+ O% H7 V/ F: c' ~& j% c$ V
  1753. [mbstring]8 f. N% \4 N- o( `) E0 V
  1754. ; language for internal character representation.2 B. y' z4 b7 n) n0 L# J" k6 L
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.  d* \- [; k) b4 ^
  1756. ; http://php.net/mbstring.language
    0 K1 c) D( S8 `( ^
  1757. ;mbstring.language = Japanese' \& E6 z$ f5 {5 A
  1758. , L. l  Y3 L, W! c( I
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 N# M" Z; e4 Y! }/ Z5 l) |
  1760. ; internal/script encoding.
    & E1 b- d% g! N
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*): n- w# ~: z" q/ A+ k/ M. G
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( ?: N1 Q" L' j- D9 m+ p* r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - W) s5 u4 J5 t. |$ C/ f* K# P
  1764. ;mbstring.internal_encoding =
    ! x- a# [/ e/ ]" p3 W+ r! `

  1765. 6 Y( a& i  l% u9 \. Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 B/ o& {! e5 F
  1767. ; http input encoding.$ X/ ^& y3 h! U( l/ W
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    $ [/ W6 b7 m" E  v4 o
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.& V+ B8 K" J# B3 U
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' [; _$ t% U6 K* \0 _9 }
  1771. ; http://php.net/mbstring.http-input. l" K" P% i1 y
  1772. ;mbstring.http_input =& `" I- W0 [4 U" m" B* k
  1773. . Q% C  n9 X' a& D
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! A; I$ Z* D& r2 E6 G/ X
  1775. ; http output encoding.) k! [) a0 w6 F
  1776. ; mb_output_handler must be registered as output buffer to function.0 R1 C6 i# B# H) O! e8 e' X
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    - x' F; V4 K6 ^8 h9 X. p0 w- s! c
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output, @- {, ^/ A* O) [/ l7 r7 j
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    $ `% G8 M' Q2 p; q7 X' p* B
  1780. ; otherwise output encoding conversion cannot be performed.
    8 ]/ l  V8 h5 ^; Q1 ~
  1781. ; http://php.net/mbstring.http-output
    - z; w6 K5 Q( N% L
  1782. ;mbstring.http_output =
    7 W+ d- H8 e0 L* e- t3 L( q
  1783. : v6 {' o3 X7 F: J( `& T
  1784. ; enable automatic encoding translation according to
    ; d! _( K7 j5 i% ?
  1785. ; mbstring.internal_encoding setting. Input chars are
    ( W, p9 q# O" g( G# k
  1786. ; converted to internal encoding by setting this to On.4 Y2 K3 _9 B  C5 f' }3 X" P9 V
  1787. ; Note: Do _not_ use automatic encoding translation for! z- F. E+ k/ X) }2 y/ C( x
  1788. ;       portable libs/applications.' H; u9 L4 ?; V8 E5 s: u9 z  n: t
  1789. ; http://php.net/mbstring.encoding-translation
    , Z8 A3 R9 ]6 K4 |. d5 j- x+ T
  1790. ;mbstring.encoding_translation = Off
    , r9 f# M& l+ Y2 b$ D& `

  1791. & J- Q3 Y' L& S( |% c7 H
  1792. ; automatic encoding detection order.
    ' O' f% b" m  C# m" w9 q
  1793. ; "auto" detect order is changed according to mbstring.language
    ( Q$ c+ |- Z1 ]
  1794. ; http://php.net/mbstring.detect-order! ^  B3 E$ d( M- y
  1795. ;mbstring.detect_order = auto! G# \- P# V# }$ X& ]" T

  1796. ; L/ s: j$ h/ m: w5 Z% z5 d# K! N2 J
  1797. ; substitute_character used when character cannot be converted
    ( I6 ?, L: w( U) @7 \6 e
  1798. ; one from another. t& X' z0 L- n
  1799. ; http://php.net/mbstring.substitute-character
    4 e7 `! `4 ~3 X  n: {/ q
  1800. ;mbstring.substitute_character = none
    0 R2 J+ V; o( f1 e
  1801. : @/ h4 a5 r4 }* Z7 {# |: o: O
  1802. ; overload(replace) single byte functions by mbstring functions.( Z" h0 {4 L1 Q* T, D
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    / X! x9 n+ E' ]$ `8 F' c. i( G2 f
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    / w$ e7 [, Q( c$ i. C" y6 Q' e
  1805. ; For example, 7 for overload everything.
      N, M7 Z$ W" g4 {
  1806. ; 0: No overload5 j: V+ v; f0 h9 N" ]4 L
  1807. ; 1: Overload mail() function
    ' @& {6 T% V0 m$ x
  1808. ; 2: Overload str*() functions
    5 F6 `; k& o1 l& r
  1809. ; 4: Overload ereg*() functions: k& \0 ]3 f; V+ v2 \7 O& P
  1810. ; http://php.net/mbstring.func-overload" q6 Q4 H1 h8 ]% C5 Y: F
  1811. ;mbstring.func_overload = 0
    7 \4 ?% b/ S; p3 {' _$ z* |
  1812. % u7 N* @8 }$ @# ?# m0 P
  1813. ; enable strict encoding detection.4 R1 a0 X4 q( \* W, L
  1814. ; Default: Off
    $ P$ N  y. a5 D' ?
  1815. ;mbstring.strict_detection = On
    . h7 y/ L% x4 y9 ^& b
  1816. / Z3 m. i# T& a6 Y+ w( V: j) L( ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : N6 ~7 f, Z- e! l
  1818. ; is activated., G& I8 E2 w$ t+ }7 B
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)) K! L$ U6 @; c: C  @+ N+ |
  1820. ;mbstring.http_output_conv_mimetype=8 Z! z8 S! [8 d8 F# a! Z1 ~7 }
  1821. 5 r: q& t' b8 R/ Z6 F9 s0 e
  1822. [gd]
    $ G( o( B8 G# P0 a( f% l
  1823. ; Tell the jpeg decode to ignore warnings and try to create2 V% b- ^" ?3 p. D+ l9 x  C
  1824. ; a gd image. The warning will then be displayed as notices
    2 M/ U7 X; L/ j
  1825. ; disabled by default
    ! z+ O7 \/ b( H1 Z* w4 X1 r. D
  1826. ; http://php.net/gd.jpeg-ignore-warning
    % N! G9 [2 A( [: J* w9 D  v
  1827. ;gd.jpeg_ignore_warning = 0
    ( v; ]% ^$ I7 c) k& Y
  1828. " W- A# Q4 Z3 {$ U
  1829. [exif]
    & c* ^& R, p) p9 W% ~, v4 L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.( e; m: S/ ^7 {$ |# k
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 U, ]9 q, t& P" I" T
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    2 J& S# e; `( R: [
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ' p3 |% C- I+ s) U; a9 c
  1834. ; intel byte order. A decode setting cannot be empty.
    8 C. }# h3 @9 u, |  P8 @
  1835. ; http://php.net/exif.encode-unicode
    . |6 [& f  @; J/ C
  1836. ;exif.encode_unicode = ISO-8859-15. v4 k( C4 N2 _# c

  1837. : E  ^# P5 `2 N3 Y0 C3 q; j
  1838. ; http://php.net/exif.decode-unicode-motorola* v, C( \6 {; o
  1839. ;exif.decode_unicode_motorola = UCS-2BE" G3 P+ u( w* w% q8 [
  1840. / {+ y& o9 ~+ P' M) L
  1841. ; http://php.net/exif.decode-unicode-intel
    8 S: B0 @% ^1 U6 O3 r
  1842. ;exif.decode_unicode_intel    = UCS-2LE2 k% N, ^1 ?) X" f

  1843. ( y0 @8 {, `- Y+ }. j
  1844. ; http://php.net/exif.encode-jis0 V' g. z' F  R! @
  1845. ;exif.encode_jis =
    ) q' O# J- Z+ z" c

  1846. & f0 k: o. f: [$ p. a8 x5 a; d
  1847. ; http://php.net/exif.decode-jis-motorola4 `( i" B3 V+ i1 {
  1848. ;exif.decode_jis_motorola = JIS/ k6 o, M" D# Q% Z, L* {& i4 s
  1849. 7 f# J" a% L" G5 F8 o7 O) F& o3 u
  1850. ; http://php.net/exif.decode-jis-intel9 n# A$ k2 k3 V+ [% c* d- \
  1851. ;exif.decode_jis_intel    = JIS$ {  V4 Q% I0 ?) b( r- Z
  1852. " X; ^! i& C* q. K: P+ m
  1853. [Tidy]
    7 s0 Y5 n/ j/ z& x& |) J2 y
  1854. ; The path to a default tidy configuration file to use when using tidy0 n7 _$ K* h  d
  1855. ; http://php.net/tidy.default-config
    2 Y( x2 v6 x( B2 V% t# y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    $ N) o* D/ d- u( l5 G  J. s6 ?6 L

  1857. 4 N  u" ?' j7 D4 A" K
  1858. ; Should tidy clean and repair output automatically?  u: e" t3 v1 I. w( Y
  1859. ; WARNING: Do not use this option if you are generating non-html content( q, o( @/ B6 Y! C% h
  1860. ; such as dynamic images# E/ p7 L  @$ ?5 t* n0 |
  1861. ; http://php.net/tidy.clean-output
    5 c5 N0 @' Z& R: P; Z
  1862. tidy.clean_output = Off
    0 @  t6 @9 E, A$ {
  1863. 4 r7 V0 `( D5 [& r
  1864. [soap]) m2 ?0 S- `+ b, I. O  X
  1865. ; Enables or disables WSDL caching feature.
    ( @; D# {: T2 S% v7 I
  1866. ; http://php.net/soap.wsdl-cache-enabled
    * t/ K6 M- Y$ A, c4 i+ Z4 c
  1867. soap.wsdl_cache_enabled=1
    - U1 i- e) N% C8 ^* o  n" h+ v$ ^

  1868. ; M! i% @* F8 C. w9 \- s
  1869. ; Sets the directory name where SOAP extension will put cache files.
    7 g3 s  H. e9 g! }! {
  1870. ; http://php.net/soap.wsdl-cache-dir5 L! Y, C# ~4 ]0 L# Y8 x
  1871. soap.wsdl_cache_dir="/tmp". p- }) M0 m; P. X

  1872.   N( A9 q& L* q+ @  h) d% G' l0 f
  1873. ; (time to live) Sets the number of second while cached file will be used
    7 T- j' `1 x: a5 ?! z  `
  1874. ; instead of original one.: ^, ^+ ]3 ?9 y% R
  1875. ; http://php.net/soap.wsdl-cache-ttl
    % A" c3 d! A8 D& E" W8 l1 _
  1876. soap.wsdl_cache_ttl=86400* o- [0 ^$ v; }
  1877. + y# ]/ \6 H& ]/ ]$ d' I# I4 `9 Q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    - n/ r9 n9 H8 S
  1879. soap.wsdl_cache_limit = 5/ Y- T( @* K/ d' a
  1880. 3 h% ^6 U& S9 r; {
  1881. [sysvshm], ?( v- i& z8 A8 T! E# v% m
  1882. ; A default size of the shared memory segment9 v9 X6 T: _% V6 x' u2 v
  1883. ;sysvshm.init_mem = 10000
    ( a& `/ m0 m- U: \. W& d. m

  1884. ) a8 l6 a, L2 `) b' N& ^" L
  1885. [ldap]
    2 W3 p: h; H" L* b
  1886. ; Sets the maximum number of open links or -1 for unlimited.7 _- d, N; T/ \& V( f
  1887. ldap.max_links = -1) P2 S) K) U+ U* g1 \: q% }& a& F/ J

  1888. ( _7 _" D# h# {. F9 v5 W7 ]
  1889. [mcrypt]
    : o% L9 w4 W* d* L
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 y7 B- w; q; P0 r! H
  1891.   O( A- S9 x) a/ O
  1892. ; Directory where to load mcrypt algorithms6 x" F+ _/ _+ H9 U; r
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% e! q% B) L4 U6 g* s
  1894. ;mcrypt.algorithms_dir=
    : S2 x; F* F" H4 ~$ N& {4 X6 U, h

  1895. + H/ b# p' F$ X+ I
  1896. ; Directory where to load mcrypt modes
    : V. V5 K2 X$ i2 Z" r7 u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! g; W, K  i5 `3 p
  1898. ;mcrypt.modes_dir=
    3 A% O5 w, {0 A' l' g

  1899.   e/ N  B7 z" O: G! w, h0 Y8 ^# {& ^6 H
  1900. [dba]/ l* T$ I3 m: n- v
  1901. ;dba.default_handler=0 T$ j& G" L5 j, K
  1902. 0 {; N6 E! Z3 Y0 y8 F0 V) I
  1903. [opcache]
    6 _7 u  n  F& \) [
  1904. ; Determines if Zend OPCache is enabled
    ) i  ^9 B  `* c4 A% y8 \
  1905. ;opcache.enable=0. ?/ `/ j/ ?9 ^. ~) p5 X1 k$ m
  1906. ( k( |# h) {& L/ ~
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 v( f0 @: G! C
  1908. ;opcache.enable_cli=0
    6 t0 e- P2 E7 N, _! u$ Z; ~

  1909. & D  M+ T3 r; y- S
  1910. ; The OPcache shared memory storage size.2 i- Q! q( i! W" a- ~( h
  1911. ;opcache.memory_consumption=64+ P' E; c# U1 D9 H5 I
  1912. $ P; G* x4 Q/ R) g. @: r
  1913. ; The amount of memory for interned strings in Mbytes.
    ; R$ j3 h, p& K  l
  1914. ;opcache.interned_strings_buffer=4) z1 k2 F0 i- p) U/ k
  1915. ; {2 t/ t1 l3 }( G1 J5 m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.3 S' `5 y8 Y6 ^% I8 k: ~4 L. q
  1917. ; Only numbers between 200 and 100000 are allowed.
      ~3 ?# s) S8 U
  1918. ;opcache.max_accelerated_files=2000
    ) `2 R  z2 `- P* p! V, E

  1919. 9 G3 v0 y; ?3 f' D
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: t$ X7 N& G% d* ]4 ^
  1921. ;opcache.max_wasted_percentage=5
    : r& H* {' J) w' K$ K2 d7 z& L; K

  1922. 0 o0 f3 t& g* E8 j- y
  1923. ; When this directive is enabled, the OPcache appends the current working
    ! X% t2 M: u/ v& B( k
  1924. ; directory to the script key, thus eliminating possible collisions between
    7 w9 ^5 j/ U8 K+ O4 e
  1925. ; files with the same name (basename). Disabling the directive improves, n8 }$ c* a  v! S3 @" w
  1926. ; performance, but may break existing applications.' i8 w" h+ S- X, p0 [
  1927. ;opcache.use_cwd=1
    / r6 y8 M& _" |; J9 `8 J6 r3 U1 o! S

  1928. 4 z1 B) f  e) `& _
  1929. ; When disabled, you must reset the OPcache manually or restart the
    + E" B8 z+ D* B9 R1 D
  1930. ; webserver for changes to the filesystem to take effect.' _7 H) T, n# L3 t, f: D
  1931. ;opcache.validate_timestamps=1$ n# V& D& Y; k$ J

  1932. ; {1 F6 v- [: T3 ~+ d7 P' e$ q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared5 [( @3 I- h6 e& X
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 K4 ~. T3 Y2 @- p
  1935. ; once per request. "0" means always validate)
    : H2 _/ x( A* Q+ W$ `7 r! [9 k
  1936. ;opcache.revalidate_freq=2
    ; U$ G  S* n  m, ?
  1937. & B; C8 z2 ]  k
  1938. ; Enables or disables file search in include_path optimization
    ! K. J+ l  B2 U$ I8 Q! F
  1939. ;opcache.revalidate_path=0) f7 J6 q' G3 A5 l5 K/ V
  1940. ( C1 P6 R! s& P
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; v9 s$ f- m$ z- n; }% z
  1942. ; size of the optimized code.9 ~0 E  ?2 Z% n6 |
  1943. ;opcache.save_comments=1( Q1 I% p, y0 E4 ]3 W

  1944. 7 X  ^1 @3 T* ]! E, B3 ^
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"5 n! Y/ w! Z* M# \% y3 j: s/ v
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    4 a- _5 q3 {1 n) \
  1947. ; that don't need them anyway.
    , R/ J/ h0 V5 G2 W8 m, t
  1948. ;opcache.load_comments=18 @: ]; O- j* F" J5 a( F8 h6 l
  1949. % y' I+ u8 e5 c# v
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code( U, A8 N  R0 W
  1951. ;opcache.fast_shutdown=0) i6 H. {. W) Y3 N* c6 Z
  1952. 6 D9 T' u) O, v
  1953. ; Allow file existence override (file_exists, etc.) performance feature.9 S% t; f: l$ v; s" C8 [  o
  1954. ;opcache.enable_file_override=03 j9 P( Q: V$ i9 M- F6 ^

  1955.   A) w# q: ?, s6 ?, c8 K, k
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    7 _# O$ Y" N1 i
  1957. ; passes7 Y/ _9 T! ~: M! D& c. B  ~/ F: a
  1958. ;opcache.optimization_level=0xffffffff3 _  U: O3 A  _$ r, G

  1959. 5 l3 ~3 s" F: S/ |) O
  1960. ;opcache.inherited_hack=1
    # ~$ j7 ]: `" M
  1961. ;opcache.dups_fix=0; V- F- n* B5 g! N2 i

  1962. 3 |2 {& G8 B/ K! V
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 \" n! m% A; b- K4 d! \6 t/ W
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 M5 g. z/ i) U- b7 J3 S
  1965. ; that should not be accelerated. The file format is to add each filename
    . ]( Q2 L' |1 c
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : g6 J1 B1 `; C( b( S- M
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www" Z) E6 C( v2 \8 G
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).' z  l6 r+ X( q) }
  1969. ;opcache.blacklist_filename=
    1 q+ m7 ^9 s/ B" P$ E* N
  1970. 1 d- m/ k# `8 b, c+ K5 u
  1971. ; Allows exclusion of large files from being cached. By default all files
    ( g7 H: k$ X2 Q& X0 I) p
  1972. ; are cached., r4 U. e0 \& K/ R+ v
  1973. ;opcache.max_file_size=0
    : h+ a% v7 p) k/ P+ l5 `
  1974. ' A8 L. w" n9 M3 Q" \4 Q, [7 v
  1975. ; Check the cache checksum each N requests.$ ^: k% G/ H/ }
  1976. ; The default value of "0" means that the checks are disabled.; \) t. c  L7 D- h
  1977. ;opcache.consistency_checks=0
    , ^/ z! E3 h7 F9 M0 N* m
  1978. ' U! V8 y: @# ]9 V
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      N6 {4 J5 o9 M$ f! a8 e
  1980. ; is not being accessed.
    ) Z( \  k( W% H
  1981. ;opcache.force_restart_timeout=180# K$ F$ ^9 k) Q/ Y3 T7 X- O

  1982. ( Y. O& N" L% o8 i1 F" I
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    , j2 @  [- j. k/ T5 f
  1984. ;opcache.error_log=
    4 t1 f6 x6 t8 M
  1985. - R) t! a8 T4 n% O7 M
  1986. ; All OPcache errors go to the Web server log.# t5 T! C3 K0 o1 n4 N, l( a/ }) {
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 I4 s3 N3 f& l7 ^; a  {- F
  1988. ; You can also enable warnings (level 2), info messages (level 3) or7 y0 ^1 K1 A1 R; x( I) _6 b0 i! J
  1989. ; debug messages (level 4).) T& h" o5 z7 X, a
  1990. ;opcache.log_verbosity_level=1* g7 s' t2 O6 F# G9 K) f
  1991. : U( X9 M: C( o, }
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.8 W3 d; k; n- O% }; @1 o
  1993. ;opcache.preferred_memory_model=
    3 }% C: {8 b' @
  1994. ; c4 Z* \( l+ f
  1995. ; Protect the shared memory from unexpected writing during script execution.
    . F. a$ {- p9 Y  u
  1996. ; Useful for internal debugging only.  C; O/ A$ s( u5 d. P% x1 ?' A
  1997. ;opcache.protect_memory=0: D. ^6 r( r6 C# ^0 o7 s

  1998. ; {9 P$ i2 \; ]0 |" y7 D( T
  1999. ; Validate cached file permissions.* @! {, Q) [) M4 b7 g
  2000. ; opcache.validate_permission=0  }0 _9 B' I7 l% y; p

  2001. ; w0 I& u8 |5 V: b6 Z: l1 q. |
  2002. ; Prevent name collisions in chroot'ed environment.: w+ J0 Q7 I% ]4 z7 D" J& c! C) H  D
  2003. ; opcache.validate_root=0$ C5 F4 X7 W) a. \* C) C' _) K( q
  2004. ; e# R/ U- N4 B" y# Z) e
  2005. [curl]5 b" z; X/ V) h2 _9 E( C  ?1 ^5 a
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an2 d/ `' u% ^7 m, K0 K
  2007. ; absolute path.0 {3 `% H$ @$ H4 T/ a: z* d+ i
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ E; k7 ]' c- |4 I
  2009. 3 S/ O, ~8 Y, d" N
  2010. [openssl], s* ^4 J3 |; {. F+ C0 {
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem' q& e8 W  ?( U
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) [" L) t) G' E1 E- ~/ g$ _! A% B
  2013. ; not specify a value for this directive as PHP will attempt to use the
    % A4 Z: a+ f# H4 p
  2014. ; OS-managed cert stores in its absence. If specified, this value may still, j4 W# s6 c  [1 [7 @% \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 U1 r% J5 K; q
  2016. ; option.
    3 f& [$ k0 I$ z$ x
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 U" p( l9 |' p$ b, w/ u

  2018. 2 s. f2 t- V9 |+ O7 D! O2 l; x* Q
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    , P( I% `0 f/ M% f" d# }* ]
  2020. ; directory pointed to by openssl.capath is searched for a suitable( G  U6 W  j/ s! n, D
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    0 M" O) b* P5 ~, `
  2022. ; Most users should not specify a value for this directive as PHP will
    7 d  C% Q5 N2 Q* \2 |7 R# |
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,, d9 L2 \6 S" c2 A
  2024. ; this value may still be overridden on a per-stream basis via the "capath"" f& n4 K! s& g! i
  2025. ; SSL stream context option.: }  [+ C0 X6 z
  2026. ;openssl.capath=
    , h7 b& C) V/ S3 O$ j
  2027. 1 D. o0 L7 a- k) A! W
  2028. ; Local Variables:( L( m, y) e. V% ~
  2029. ; tab-width: 4
    5 d6 t* [8 R8 O0 H1 Y
  2030. ; End:
    ' M; x6 E: K7 E& V# d

  2031. 0 w4 n' K# h7 y$ F1 x: Y
  2032. ;eaccelerator
    & J, Z, f' q! w

  2033. . _0 W' H+ v) k* T- [: R& h
  2034. ;ionCube* W0 [" r+ L( e6 E- p& f3 N  n
  2035. 1 X& S% x3 {% f9 v& ]0 X
  2036. ;opcache
    6 N) k' \+ D. J& t4 I+ z4 e

  2037. $ y# Z9 Y* `$ x; Y! ^
  2038. [Zend ZendGuard Loader]
    7 \; Y2 h% D% o# D. {$ k
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    7 n7 R1 \7 C: D
  2040. zend_loader.enable=1
    " A; |3 N  x$ ~( s3 p
  2041. zend_loader.disable_licensing=0) J- e% \# ?. {
  2042. zend_loader.obfuscation_level_support=3
      L" g" F- L- J1 H7 @' X( a
  2043. zend_loader.license_path=' m4 f$ O* c, V  ^+ [

  2044. - a* ?# S9 A1 j" Z
  2045. ;xcache
    3 s* `% p) _( n; C5 B

  2046. ) y% x& M, I9 E) m/ W& P7 J
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692  \* D6 V$ P9 m

1 @' ^% f- c' q+ R8 `. r4 ]! G+ }( ^4 e7 w" k9 n9 ^
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
7 d  @+ l2 f* t# q* O& P. S
+ a0 ?: n2 i& ^. p- ^3 JDiscuz!程序版本选择:
2 v% C6 I, u- j; K$ g4 N% d% _站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
; O! L  P9 y# l* [不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
$ ]$ n! |( \" g4 c6 K4 W( {) ~" TDiscuz!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。' V  k; `  N8 v
1 r/ f9 B  N  A4 G' b: R* m
Discuz!插件模板版本选择:
* c0 m8 I( \. z很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
2 l( \  r9 P5 a7 p3 T& Z; G" w针对这个问题做个统一的普及:7 X' P# D, Y) q6 z, B5 p
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
+ b8 ^' P$ u2 P7 Q! g$ L
! x. k" Y1 ~4 y所以: J: L, I3 O8 f4 {/ |, H+ d& t
适合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的二级域名。# S1 w2 p; I. g& w* M$ r* [# {* r
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
5 U9 o" R) L- L% _2 r. e' _注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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