分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0! F& g& u) e  k. @3 U* R: Y/ N

5 B+ e) C! Z. F5 c4 \4 v- Q9 M
  1. [PHP]* O+ l' ?# F" e

  2. ) N: v3 ~* _% v9 b
  3. ;;;;;;;;;;;;;;;;;;;( `6 r3 J" T6 h: \; L; u8 R$ {
  4. ; About php.ini   ;  k* l& J+ o* I
  5. ;;;;;;;;;;;;;;;;;;;+ w' z' C; t3 Y$ \$ L
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 M+ i: j" G7 {0 o% s7 n. N
  7. ; configuring many of the aspects of PHP's behavior.0 x+ b, I, P7 B& t4 z: Q7 p! u; O! |5 M

  8. 0 ^" t2 }) v: M' ?# R( e, s
  9. ; PHP attempts to find and load this configuration from a number of locations.% m' y4 q  i4 t: Q6 U$ g' U
  10. ; The following is a summary of its search order:
    - a" o% P6 D' B' ~- y5 A
  11. ; 1. SAPI module specific location.
    ) c9 A( Q8 X% J- `1 A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ F: Z; i( R+ w1 e9 D# q$ |9 W" `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)1 ?; o2 N9 E# u. ]# L
  14. ; 4. Current working directory (except CLI), F; |$ ^. G: f7 ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    6 t2 L$ n# X0 Q0 R7 `' l% F5 g( L
  16. ; (otherwise in Windows). }+ Q$ Z& X. c
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      ^0 p9 Z* ]& p/ g7 B0 {1 X
  18. ; Windows directory (C:\windows or C:\winnt)
    + y9 Z5 z: d, c( g
  19. ; See the PHP docs for more specific information.0 q2 F# X+ G$ g& O% n2 y1 C# \
  20. ; http://php.net/configuration.file/ c8 [. s+ E/ T0 h2 Q8 v( [6 h
  21. $ @4 t7 G* A5 R6 f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 P+ j6 O- r  H! W& y# t
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 G: B/ h+ m( t/ B, u+ [7 ^
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 c( C" y7 L1 \  @5 ]- i
  25. ; they might mean something in the future.$ B$ I% {. t4 o( q7 f

  26. + i- d% |8 [7 c) ~
  27. ; Directives following the section heading [PATH=/www/mysite] only( K9 {9 t  q! T/ i
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 I3 X% y+ [) ~
  29. ; following the section heading [HOST=www.example.com] only apply to: B8 ], A4 p; X! V' d9 Q
  30. ; PHP files served from www.example.com.  Directives set in these1 _3 P$ ?6 V4 A$ c! Y
  31. ; special sections cannot be overridden by user-defined INI files or
    $ w1 g* X" A- t0 }$ B, k. g
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under+ O" {' C  w! t: m% R; U. I
  33. ; CGI/FastCGI.6 N% C  ^; l9 I6 c- H2 ^
  34. ; http://php.net/ini.sections
    9 {8 A9 V& J) W
  35. : p( ^( T# q& ]8 j
  36. ; Directives are specified using the following syntax:
    8 V; K; v; [2 a9 W+ y
  37. ; directive = value+ [8 {* Z  B1 m/ t1 s8 P6 v6 c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 L8 M, y- L+ B* r' H
  39. ; Directives are variables used to configure PHP or PHP extensions.! P7 }; \: i9 q# `
  40. ; There is no name validation.  If PHP can't find an expected) x6 a' M& Z/ e) x1 r
  41. ; directive because it is not set or is mistyped, a default value will be used.9 k' j0 D9 M$ a3 n* J

  42. ) v# D3 Z. S/ }
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one8 k: S/ c, x  X- h# K3 [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression5 K# S+ j5 X* l
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ! Y$ w! u7 K; u  Z( Z& Q
  46. ; previously set variable or directive (e.g. ${foo})5 y. j! y4 a' E0 j* \' u
  47. 5 U7 g: k9 r9 s* Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 {* i* R0 R) [( e) h
  49. ; |  bitwise OR
    6 y! b* t+ S5 D
  50. ; ^  bitwise XOR
    ) j2 i. k) S4 ~3 c
  51. ; &  bitwise AND- E& J+ s. H0 b1 m' \% `9 B
  52. ; ~  bitwise NOT
    3 }6 Z# m( Y0 ]' }5 l! ^0 G. I
  53. ; !  boolean NOT9 m* [4 M! o! i8 o

  54. ' U0 S# Z9 ]1 P/ T3 {4 s& ^- @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    9 h  j5 t/ s8 y; A( P! \
  56. ; They can be turned off using the values 0, Off, False or No.% t) F9 W" b& S6 s3 g9 p6 }
  57. 6 d" o3 R3 _& _& M7 [- N
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 e0 f9 r% y) z- e/ Q# d* C
  59. ; sign, or by using the None keyword:( h$ H& }  t0 Q2 v) c+ H5 d, H
  60.   S1 {1 \% T( S0 h
  61. ;  foo =         ; sets foo to an empty string
    2 P6 q0 X. E2 o' I
  62. ;  foo = None    ; sets foo to an empty string1 j7 R% ?' T% |: v% o
  63. ;  foo = "None"  ; sets foo to the string 'None'3 O8 a7 A3 W) q0 m# E) ?1 \
  64. ( Q: F2 o" ?' {( v2 G0 q2 M0 r
  65. ; If you use constants in your value, and these constants belong to a
    3 R/ r) w& d, h
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , S% P" x, n  Z
  67. ; you may only use these constants *after* the line that loads the extension.
    4 w7 q% ?( L; t% U
  68. ; b1 o2 y+ B8 g* F- u
  69. ;;;;;;;;;;;;;;;;;;;; W3 m5 u: C: l3 D
  70. ; About this file ;* x- H5 h6 H5 y2 B* ]6 \
  71. ;;;;;;;;;;;;;;;;;;;
    - J% Z; Q8 j; C7 H5 K6 _; Q& ?& [3 v
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 s7 l7 u7 t2 H: B. e% ?
  73. ; in production environments and one that is recommended to be used in
    1 a) c# f  G: H4 b, V
  74. ; development environments.! B1 I4 M( G9 b# ?+ V9 H, a

  75. # v* y5 |, a! v0 s2 V4 E  E, ~+ z
  76. ; php.ini-production contains settings which hold security, performance and; o  _3 \" J- _( n* c, W$ n
  77. ; best practices at its core. But please be aware, these settings may break
    ) Z9 U4 H5 Z# A0 o/ z# w# X
  78. ; compatibility with older or less security conscience applications. We
    * Y* W! M2 @, q, }8 G' ^6 q
  79. ; recommending using the production ini in production and testing environments.& q! R/ o& M6 M( x
  80.   V& c& G" O/ ^  q1 W0 \
  81. ; php.ini-development is very similar to its production variant, except it is" n1 R1 ^8 y/ c9 D" m
  82. ; much more verbose when it comes to errors. We recommend using the
    / v9 S( `# I$ z$ ^8 I$ `
  83. ; development version only in development environments, as errors shown to/ k0 Q* z3 @* w: C
  84. ; application users can inadvertently leak otherwise secure information.
    ( k2 H1 P+ ~- O
  85. 8 L; [+ _" g: q
  86. ; This is php.ini-production INI file.! H" \6 N, q' @+ N% T) b$ }

  87. 2 y) r, f, F( ^
  88. ;;;;;;;;;;;;;;;;;;;
    * K% Z: x8 U5 f/ e  S% Q9 X
  89. ; Quick Reference ;/ j* L9 {! C& J0 v7 P* {
  90. ;;;;;;;;;;;;;;;;;;;
    & M* P4 _+ A3 T, }' [1 [/ I* r. `0 N
  91. ; The following are all the settings which are different in either the production
    4 a- s* Q# D9 n7 @" H3 A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    5 {. r0 z5 V8 G* v& I7 q5 y
  93. ; Please see the actual settings later in the document for more details as to why* V& B5 [' E8 a2 r2 F
  94. ; we recommend these changes in PHP's behavior.
    , ?$ C& w- ]# z9 A0 Y( R

  95. $ S* m7 l/ ^. N. S  I
  96. ; display_errors. k1 f$ K5 w' V  @0 h! N
  97. ;   Default Value: On$ t! A* T" V" H; L8 Z- O- p
  98. ;   Development Value: On- w- F$ a' z8 g: k  e. A
  99. ;   Production Value: Off
    + V' u( y  J) m# @. s7 }2 G
  100. * C9 e1 n/ d1 N" h
  101. ; display_startup_errors
      Q# |6 Q1 q. p, p
  102. ;   Default Value: Off( a. J1 t4 ^! S7 Z; ~" k
  103. ;   Development Value: On* u( a7 ^2 R$ c( N( `, K3 K
  104. ;   Production Value: Off+ I' k0 }; o' p) M* z. ?

  105. : I. @7 }( z6 y$ i! N9 @) `! H6 k
  106. ; error_reporting6 L# S) O% H% n. H3 [. G) g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # b8 Z9 l% V# ~% T
  108. ;   Development Value: E_ALL; g' {+ P' j8 N: l7 x  e/ T  e. _5 o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( }& }6 E% `7 P! S- A, p0 V

  110. ! C( p- L1 J6 _9 l0 Z$ _
  111. ; html_errors8 M0 I: u  A: k6 K: [$ k
  112. ;   Default Value: On3 M; m4 a6 o5 @8 o( J- Y
  113. ;   Development Value: On0 i8 l! k1 ^3 q' a9 \# Q4 w
  114. ;   Production value: On
    ) U9 Z2 j1 k6 I  @( w5 q& u6 |
  115. % ]6 c/ ~2 a  e! e" c  X
  116. ; log_errors
    ' N$ F6 c' h$ n% B. n! A0 ~0 {
  117. ;   Default Value: Off! @, j8 h0 T/ w! `! F$ l" ?) Q; n
  118. ;   Development Value: On; X* S0 `1 `7 c+ O  P9 z
  119. ;   Production Value: On/ \+ s3 y! T+ W, A& l
  120. - H% |" H% e! D6 ^
  121. ; max_input_time& R' I" ?/ E* L5 v) K" p9 V
  122. ;   Default Value: -1 (Unlimited)
    # [2 q" ]1 W7 s; F* P7 I  A
  123. ;   Development Value: 60 (60 seconds)
    & }3 n7 V0 f' ]) J
  124. ;   Production Value: 60 (60 seconds)
    ! U+ c/ X% l* v$ u" k
  125. $ T8 e7 m8 M3 ^( S
  126. ; output_buffering; K7 M0 w" o5 [& Z' g
  127. ;   Default Value: Off
    ) i$ {" [6 B7 W- A+ s  q* k# j" d( o
  128. ;   Development Value: 4096
    + o& t( `! l: o- n9 B  a
  129. ;   Production Value: 4096( i. I" l+ `' s- i

  130. - [7 Y0 }! f4 @6 M
  131. ; register_argc_argv; b9 @4 u( ^  o- {- p/ b
  132. ;   Default Value: On) X& E0 K! [3 M( q* a7 H9 u- k
  133. ;   Development Value: Off: I' \( c( N* l
  134. ;   Production Value: Off
    4 n4 }) P4 f+ o& J7 S

  135. ' t2 T* i" s* t$ I9 Y% b
  136. ; request_order. r/ U8 H/ d4 H' `+ T) }6 {
  137. ;   Default Value: None, F& C+ ]+ O- ^0 U0 j" F7 b& _
  138. ;   Development Value: "GP"
    9 ~( K+ G& W5 o, ^4 [
  139. ;   Production Value: "GP"
    9 V, t  U6 z9 n9 Q

  140. # U" A, c/ E  _
  141. ; session.gc_divisor
    * d/ Y6 m! X0 J- u0 e. i: L# _6 M
  142. ;   Default Value: 1007 Q% z: E! w9 V
  143. ;   Development Value: 1000$ c- M- c0 f& [3 A( e) E
  144. ;   Production Value: 10009 D1 @% H8 Z9 d1 k3 }* [3 }3 N
  145. 2 c, b( v7 |% T8 f/ y1 [5 e% H
  146. ; session.hash_bits_per_character
    ' Z" S6 j" E/ g: Y
  147. ;   Default Value: 4
    4 z4 h7 f" F# G( Y' x
  148. ;   Development Value: 5
    ) K& p8 H  F! ?  R
  149. ;   Production Value: 5
    & i5 m9 P1 I6 Z) E5 g0 r
  150. / f4 _' O) k: {! f
  151. ; short_open_tag0 c9 a4 a, f8 c5 T" L; e, [
  152. ;   Default Value: On
    ) G. Q# R2 i% w) M6 y! Z
  153. ;   Development Value: Off
    ) x. e# n3 w& D* g
  154. ;   Production Value: Off
    8 B. T" C7 o0 g" }4 u

  155. 4 `7 R- X0 y* l# v
  156. ; track_errors
    $ f" K3 t" @7 d. i+ k
  157. ;   Default Value: Off' }4 K- }9 E. n
  158. ;   Development Value: On* W* }" p8 f$ w- V
  159. ;   Production Value: Off
    ; T. D6 p  y; H: c" T( {

  160. ) {; v' M& t3 j
  161. ; url_rewriter.tags
    9 F. _6 M. f+ X% U( J2 k" a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + `6 q. Z* E( J. W) b4 m
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( B0 s! q" F6 p( [0 {. x" @
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! ~$ B0 t$ [# _. ~' B9 s3 m% E! d

  165. 4 f2 {$ J2 |/ o
  166. ; variables_order& T9 n  |/ y- {2 g# h0 L$ J+ s4 T7 R$ H
  167. ;   Default Value: "EGPCS"0 ]* f; a5 ~" p1 }
  168. ;   Development Value: "GPCS"
    0 E+ J: ]% y5 }3 ?+ a! ~" R; s
  169. ;   Production Value: "GPCS"( `. _; H( B$ M9 b8 M9 `( l

  170. ! Z( G( ~! ~2 `! k9 {% n
  171. ;;;;;;;;;;;;;;;;;;;;4 Q( j" g0 W; M* X4 A2 H
  172. ; php.ini Options  ;9 l& I1 X) r0 h+ t' |+ v! `
  173. ;;;;;;;;;;;;;;;;;;;;5 N$ f% f9 f8 Z  T. g& z/ d
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 R  b9 m  |! y8 M% F
  175. ;user_ini.filename = ".user.ini"
    0 H% a7 z9 h9 P

  176. 7 k* q: M" @+ C3 J8 t
  177. ; To disable this feature set this option to empty value
    0 R6 ?, h7 Z# ?& h: B& ]
  178. ;user_ini.filename =
    % V! u' |. ~, o& S

  179. ( ~7 G8 R/ e1 M% c8 H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , L7 [, T% L# t/ H" y
  181. ;user_ini.cache_ttl = 300
    4 e$ Z# {& X( L: S* K* e

  182. * }9 ?8 X5 t' |  E7 y
  183. ;;;;;;;;;;;;;;;;;;;;
    1 x3 D2 ]3 g. B) b( {
  184. ; Language Options ;  L( B: o* B2 [- l5 e6 \
  185. ;;;;;;;;;;;;;;;;;;;;* [. g0 E  Y5 F: |" v

  186. & b: h* M  \7 W; h5 o; ?" U
  187. ; Enable the PHP scripting language engine under Apache.. P: |( R$ ?2 Y9 k5 q
  188. ; http://php.net/engine# k' y% p) F' U. J8 B4 M
  189. engine = On
    6 F$ T5 U9 K" `# x

  190. ) W/ W. w! I! S8 |+ O9 e
  191. ; This directive determines whether or not PHP will recognize code between2 t) O- b, n  k- i( I2 ]  E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 Z9 h2 x3 A& m4 p0 R- x# L
  193. ; generally recommended that <?php and ?> should be used and that this feature+ X, E2 o: h  x4 w/ g
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ' U. e6 p) }  G' |& k
  195. ; documents, however this remains supported for backward compatibility reasons.
    7 G8 V3 P, d; [: S) L5 J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    # E  w- D, c6 \0 C- i
  197. ; used regardless of this directive.
    0 Z2 q! V1 C' T) h9 `" g; M+ g
  198. ; Default Value: On
    6 G5 W! z8 S" ?5 A: b4 S+ T
  199. ; Development Value: Off
    - {( I" V& z- r& E
  200. ; Production Value: Off3 ?, z$ A! X) o/ _9 A+ B9 c$ g
  201. ; http://php.net/short-open-tag9 b3 Y9 ?$ u7 d! l! u$ ?) a- B3 @
  202. short_open_tag = On
    3 e' i  |9 S5 |3 A: C2 f9 W* a1 O
  203. 0 I1 t6 H2 D! ]. N* e4 Q# B
  204. ; The number of significant digits displayed in floating point numbers.
    ' T0 A( p5 V9 e( e1 U' Z7 a
  205. ; http://php.net/precision+ I" d# N! j" J" g- Y7 ]( {
  206. precision = 14/ a. W# l! v& j: {) u

  207. - v  L. j  L% N& T" L2 n6 I
  208. ; Output buffering is a mechanism for controlling how much output data
    - k5 K* u' i' J0 {
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that3 M! X% R6 \0 b" V
  210. ; data to the client. If your application's output exceeds this setting, PHP
    # Q- Y3 q- ]4 T6 W" N
  211. ; will send that data in chunks of roughly the size you specify.: b7 D8 V5 O0 w
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    9 F: w/ }; k: N
  213. ; interesting side-effects depending on your application and web server.
    " C% c4 V3 |0 u
  214. ; You may be able to send headers and cookies after you've already sent output
    7 j; E* O9 ]. K2 C7 V; y
  215. ; through print or echo. You also may see performance benefits if your server is" ?- O3 q0 V4 P% C& I' m
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ! H6 {- C, R. K' _+ K) Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance5 P6 i# i/ k+ _. @; q( R! O2 W0 c
  218. ; reasons.
    9 n4 V7 K5 o+ f1 d) W& s: s3 H; m7 k
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    2 _% T! O4 e$ y5 a; @
  220. ;   functions.2 H: a$ F$ d! w3 B1 P4 i
  221. ; Possible Values:
    7 K+ Y7 `! T! i" R5 ~5 X
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 T; l& ]" M7 d4 {
  223. ;   Off = Disabled
    ( G; s8 {" V6 t% U+ U2 `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    & ^4 E, o( F! ~9 a: F
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . P9 y  ^0 r# r) O/ z
  226. ; Default Value: Off1 V4 M5 M& K6 Q/ o4 e
  227. ; Development Value: 4096' B! t5 M! e! B  ]
  228. ; Production Value: 4096
    6 e, B) v: L9 l8 c
  229. ; http://php.net/output-buffering
    , S& G2 n  |" t$ Y& F
  230. output_buffering = 4096
    ) B; m, D# w5 H
  231. ' v' [* X; M5 w: F8 ^9 s  L2 }
  232. ; You can redirect all of the output of your scripts to a function.  For
    6 C! C/ S. D$ n
  233. ; example, if you set output_handler to "mb_output_handler", character
    5 a* Q4 ~& K: ^, _  [) g' N
  234. ; encoding will be transparently converted to the specified encoding.
    " m) i0 }$ N4 g3 x7 v
  235. ; Setting any output handler automatically turns on output buffering.
    ' }. U& ~7 {; b3 Q
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ( A  w6 A& c" T+ u- C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 n* v8 Q7 S0 j/ |
  238. ;   Using this ini directive may cause problems unless you know what script9 @  [' O" W3 X% m5 }- @
  239. ;   is doing.* ?- w$ s0 e( w7 V
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    % J7 t# H  N' r$ S. K
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ' C1 l1 u/ |, d! K( g
  242. ; Note: output_handler must be empty if this is set 'On' !!!!5 L0 b4 E- r2 K8 \6 b
  243. ;   Instead you must use zlib.output_handler.8 ]# o2 V# w# h
  244. ; http://php.net/output-handler
    1 X( N# d% Q" M5 r% B
  245. ;output_handler =( p1 F' A% O: A: v: h1 Q4 R( N
  246. + n$ d0 `* F+ F" _9 h4 P. D( z4 h# e
  247. ; Transparent output compression using the zlib library
    4 W' J! S3 v/ e
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size7 v( u; T5 w! i% R3 w: U. u
  249. ; to be used for compression (default is 4KB)
    - Z8 O: k3 j, ^& g  L, C
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ t# S2 ]/ C6 W  }- S
  251. ;   outputs chunks that are few hundreds bytes each as a result of+ U! v! k- e8 N0 n: w0 p% G
  252. ;   compression. If you prefer a larger chunk size for better
    ) n* B3 w, O( o/ B7 G0 W3 O- U
  253. ;   performance, enable output_buffering in addition.  M% r* M/ A+ i7 g
  254. ; Note: You need to use zlib.output_handler instead of the standard
    9 {$ Z0 O. f2 B. ]
  255. ;   output_handler, or otherwise the output will be corrupted.
    , A* t4 e1 S/ Y9 t; P. M6 H0 ?
  256. ; http://php.net/zlib.output-compression% v1 ], R8 B( w2 s! v
  257. zlib.output_compression = Off
      X" X+ ?$ G1 r8 J3 G" A' c

  258. * X9 f& r" n0 \' u& x+ ~, ~
  259. ; http://php.net/zlib.output-compression-level; @( D( ?' U" ~9 w4 J" @
  260. ;zlib.output_compression_level = -15 l% X0 N1 k) J9 k% F
  261. , R5 `+ k2 Z% {. w. ~5 t
  262. ; You cannot specify additional output handlers if zlib.output_compression4 U) L+ T$ U% r7 w7 `
  263. ; is activated here. This setting does the same as output_handler but in  {$ R9 W% m: S+ `8 W8 o9 }
  264. ; a different order.+ s- {  C- d  V+ `; H$ f1 O
  265. ; http://php.net/zlib.output-handler& ]( X& [# P; |, Q7 h! W
  266. ;zlib.output_handler =
    . q* |1 `* q0 t8 D3 j/ k

  267. ' x0 h+ R6 k. X4 B$ m$ b
  268. ; Implicit flush tells PHP to tell the output layer to flush itself1 c9 Y, s( O( p( {4 D8 E; E
  269. ; automatically after every output block.  This is equivalent to calling the
    2 c6 f- v$ w4 }- Z: G2 Y+ Z
  270. ; PHP function flush() after each and every call to print() or echo() and each- f; ?7 o$ Q- x7 L9 v1 Y/ }
  271. ; and every HTML block.  Turning this option on has serious performance0 ^/ d: x, U; w1 o* R
  272. ; implications and is generally recommended for debugging purposes only.  F, l. r& s% _8 u
  273. ; http://php.net/implicit-flush6 P+ B, X; c" h0 F
  274. ; Note: This directive is hardcoded to On for the CLI SAPI6 m5 ~6 i* h, e% k
  275. implicit_flush = Off
    6 ~) N1 u3 p9 k
  276. " A2 e9 ]/ W4 r% @1 ]; y
  277. ; The unserialize callback function will be called (with the undefined class'
    4 [' m/ B9 X# Z  ^! l+ t
  278. ; name as parameter), if the unserializer finds an undefined class
    4 ?% C1 V$ c' V
  279. ; which should be instantiated. A warning appears if the specified function is
    2 L. ]1 l8 w4 [! `+ @8 l
  280. ; not defined, or if the function doesn't include/implement the missing class.
    , G2 V6 {; h: T6 `2 e
  281. ; So only set this entry, if you really want to implement such a1 n6 T0 O4 \- S% R' T, J* d
  282. ; callback-function.! W9 S" G; p# m7 ~5 r
  283. unserialize_callback_func =
      {$ a; s- S0 n" i3 s  C5 M

  284. 2 f" Y! D, `$ O# _7 e- M. l
  285. ; When floats & doubles are serialized store serialize_precision significant
    % Y2 Q3 B( T2 ~6 I, }9 k
  286. ; digits after the floating point. The default value ensures that when floats
      l0 D0 ~0 x' G5 G/ K% g
  287. ; are decoded with unserialize, the data will remain the same.4 U5 G  p* C+ a$ w
  288. serialize_precision = 17) C$ [7 C8 i: i" {

  289. , H9 a. m+ B' g7 g3 T! k- Y
  290. ; open_basedir, if set, limits all file operations to the defined directory8 n/ P9 B8 D: G6 a+ C
  291. ; and below.  This directive makes most sense if used in a per-directory
    6 k- ^5 ^9 V( ?' M0 t
  292. ; or per-virtualhost web server configuration file.! n, D/ ]% ]) d
  293. ; http://php.net/open-basedir' Q7 B+ }) w/ R% C8 [) H- M
  294. ;open_basedir =6 R8 q* o" z* ~- Y
  295. $ M$ T+ a) Z9 n- }/ s$ g
  296. ; This directive allows you to disable certain functions for security reasons.
    0 ?& w0 e1 t5 |: V# l5 [( F3 v
  297. ; It receives a comma-delimited list of function names.
    + c: L- X+ \* M4 o
  298. ; http://php.net/disable-functions! A8 Y. p4 Y8 K# k  l, h8 Q  I
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! j+ s9 F7 Y! f4 }

  300. # o  G' o3 e" A; C* l1 D6 Z
  301. ; This directive allows you to disable certain classes for security reasons.
    % y* K- Z2 }$ g3 B* R6 K* I3 W
  302. ; It receives a comma-delimited list of class names.! m* g" Z) S3 T
  303. ; http://php.net/disable-classes
    + J, n! u+ N* `$ S1 p# w
  304. disable_classes =
    - C0 W- F* r+ T& c
  305. + M% \6 U3 i) ]8 ?" M+ p+ Z& n
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; I, I% h  E: B, z; Z9 V. v
  307. ; <span style="color: ???????"> would work.
    ; O/ T* x/ Y; u4 J* D2 R
  308. ; http://php.net/syntax-highlighting
    ) i: Z0 r( M4 n+ T
  309. ;highlight.string  = #DD0000
    % I* m# B) n; R' L  Q/ \- z$ V
  310. ;highlight.comment = #FF9900# c7 W: H* ~7 l. C, n# o
  311. ;highlight.keyword = #007700
    ' \: ?8 p, L- d4 ~/ ^1 t8 c3 b
  312. ;highlight.default = #0000BB
    $ g. v6 a' s. k, R8 W5 \# z3 b/ D# c& l
  313. ;highlight.html    = #000000
    8 F/ V. y  W5 ~0 F, N* \
  314. # K1 C1 |+ G' W% X( Y
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    / i3 Q5 q5 q) x
  316. ; the request. Consider enabling it if executing long requests, which may end up, o2 ^/ ]0 }* `( b* V0 Q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior) \8 S8 ~# n/ w+ Y$ q
  318. ; is to disable this feature.0 O9 U3 }. A1 m; p
  319. ; http://php.net/ignore-user-abort
    2 ^9 R) n+ v# W: y' t. t3 s
  320. ;ignore_user_abort = On
    ! I& I  K5 |- q
  321. 3 F3 ?9 Y; u# a% m: |/ d9 H; R
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    7 \- r; `, ^7 T+ [" b
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! Y/ U4 A) m: e
  324. ; the file operations performed.7 E) i0 T  C, h7 x
  325. ; http://php.net/realpath-cache-size9 H; X5 ]0 r/ [9 M% B
  326. ;realpath_cache_size = 4096k
    0 A& L+ C; g' Y+ n

  327.   s2 V0 ?% h  p& O, z4 `0 q  E
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    3 r6 v2 W4 _8 j+ q
  329. ; file or directory. For systems with rarely changing files, consider increasing this5 l9 I+ L& b+ O7 @3 u
  330. ; value.
      m6 e! ^# }! J# @" r
  331. ; http://php.net/realpath-cache-ttl. Q4 m  ~! j& v
  332. ;realpath_cache_ttl = 1208 P# i- E/ x8 G" P4 w9 q5 c# Q

  333. ) X& j  _- X8 ~! X  E+ p4 z
  334. ; Enables or disables the circular reference collector., I" q3 T2 ^# K
  335. ; http://php.net/zend.enable-gc
    % e/ h) K+ u) H! D) _
  336. zend.enable_gc = On, i1 o) U. f1 z% E6 s# q

  337. 6 E* f5 u: @8 X. M- R& ^- B4 l
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    0 U& w) _5 L! O# S/ L0 v2 |" M
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, t5 @4 D" I. s+ @" r! @2 b+ p$ h
  340. ; encodings.  To use this feature, mbstring extension must be enabled.  N+ f3 U! M2 `8 C) e1 ^0 }
  341. ; Default: Off
    4 l8 p- c0 d' o" q3 G1 x) e6 R
  342. ;zend.multibyte = Off
    . d; \2 ?& W) I6 F3 e
  343. 0 t, e3 n' R1 `+ ~- s1 E
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    3 f% @4 o4 x9 P% o7 _) I% p0 A
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 m% C8 Y( x9 L) E3 K% }- D+ h
  346. ; Only affects if zend.multibyte is set.5 T1 L7 r- D% \  i) @
  347. ; Default: ""( p1 q; n2 p1 _
  348. ;zend.script_encoding =% D: s" W5 G7 Z, |

  349. * \# Q8 i* A% f, M' q9 {2 U& a
  350. ;;;;;;;;;;;;;;;;;( ^; t5 p; W% G, K5 u5 O
  351. ; Miscellaneous ;! F/ i2 s1 s5 Q" c
  352. ;;;;;;;;;;;;;;;;;
    7 p$ ~; K& @2 k
  353. ( K+ @/ v4 C" \; `+ D2 [
  354. ; Decides whether PHP may expose the fact that it is installed on the server( T) W0 F' K% B6 D$ P
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; R5 T, V( R- O* @8 O( c# l: K. `& A
  356. ; threat in any way, but it makes it possible to determine whether you use PHP6 x; Y) S4 O  j0 V4 d4 ~
  357. ; on your server or not.: c, I/ v1 @. ]+ d) j$ s9 G
  358. ; http://php.net/expose-php
    : `8 Z/ P$ u+ [' Z; L' [# l7 R
  359. expose_php = On
    3 j  @2 N& _. V: V  y, {/ F
  360. 0 r0 m" j/ j. Q+ C9 s: I
  361. ;;;;;;;;;;;;;;;;;;;% [+ o3 d6 E9 c( @3 P" O0 o
  362. ; Resource Limits ;
    % K3 X# t3 M" x% V
  363. ;;;;;;;;;;;;;;;;;;;
    ; G9 K; v1 M6 ]; z2 c
  364. 6 A6 N/ E8 H% @, u! e. {- W4 d4 B
  365. ; Maximum execution time of each script, in seconds" ?* H( l1 C6 [1 n& c
  366. ; http://php.net/max-execution-time
    4 A, l# [0 k4 b: W3 l7 y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI- z1 v( y6 Q+ q' Y+ F! }( N
  368. max_execution_time = 300
    % ~$ Y" g& u, A( a) ?5 s8 p8 ^5 r
  369. ' q, N* T5 n, j. ^; Z4 O( Z) J6 U
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    8 j% @2 z3 ?0 Y( |, Q/ v1 K
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 x* p& x  n2 G; j. `, C5 U
  372. ; long running scripts.
    " Z- g" p. ?$ a
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    * k6 \4 V' m& x- E5 G2 G
  374. ; Default Value: -1 (Unlimited): Z7 q' U2 r* Q6 p* W" Y+ U
  375. ; Development Value: 60 (60 seconds)/ k. Y  J* _1 F6 C
  376. ; Production Value: 60 (60 seconds)5 x/ A! L: X3 G& K3 P' m
  377. ; http://php.net/max-input-time4 M1 v& ^( K( {; ?8 c
  378. max_input_time = 609 H" Y1 d, o0 c
  379. # l+ l0 e; E$ e1 E0 V! }6 l  u
  380. ; Maximum input variable nesting level0 Z3 X5 U9 A6 d, q# [9 h
  381. ; http://php.net/max-input-nesting-level
    . p% f+ V% Y, _  v; _
  382. ;max_input_nesting_level = 64
    * V) D0 p3 @- j1 k3 B
  383. 6 c) x/ a" f3 z' v/ W0 [
  384. ; How many GET/POST/COOKIE input variables may be accepted% g2 D1 \7 P3 j1 Q
  385. ; max_input_vars = 10009 `3 W$ E# Z$ w  K

  386. ) n3 }) Z3 h0 x9 M/ G1 R( t
  387. ; Maximum amount of memory a script may consume (128MB)6 u" i* i; Y3 R$ o# ]; R) |# y& E
  388. ; http://php.net/memory-limit9 ^! L  L4 N0 p$ C/ W" I
  389. memory_limit = 128M4 N4 R0 ~; F: c% c0 r% ^0 a
  390. 4 M& a  x  J/ K3 z* Q
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: I( g* {" S; K9 o
  392. ; Error handling and logging ;
    , @+ F5 ], W) J0 N* w
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( T  S' t1 P5 j9 }
  394. / p  C2 |/ `& F0 C) @) `$ ]
  395. ; This directive informs PHP of which errors, warnings and notices you would like" Q1 k( _4 g( ?2 t
  396. ; it to take action for. The recommended way of setting values for this
    . z) ?. B& H- i6 {
  397. ; directive is through the use of the error level constants and bitwise
    9 r% D! N5 O2 r$ f) h1 R9 a0 Y
  398. ; operators. The error level constants are below here for convenience as well as9 o& Y, @% ?4 X& q/ |# G
  399. ; some common settings and their meanings.2 |/ t" \& b- O3 }/ x4 z2 W/ k
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    . ?( d) y6 j# U# L
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! n4 t0 t+ A9 `* ]  K3 w/ A
  402. ; recommended coding standards in PHP. For performance reasons, this is the: L+ N! C7 |4 E* k$ N9 Q( ^
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    # d( v3 }( L2 T" q; y
  404. ; resources complaining about best practices and coding standards. That's what1 f: X# W8 \$ ~! h, @
  405. ; development servers and development settings are for.
    - t4 h4 Y8 d/ e, _9 b4 X
  406. ; Note: The php.ini-development file has this setting as E_ALL. This, c) O! J7 l2 w4 N! {
  407. ; means it pretty much reports everything which is exactly what you want during# i8 m) |9 ~& d# B2 O' Y1 C1 R
  408. ; development and early testing.
    7 r# V" M5 P6 K: T- Y# I! ^
  409. ;
    6 J0 j: ^5 G5 e: [4 r
  410. ; Error Level Constants:& r& o2 N  }1 J  M5 h+ F9 Q. W7 V2 {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 Y: r3 F0 x( N$ |- k( \7 z' F( y
  412. ; E_ERROR           - fatal run-time errors! y3 T6 u1 b" f7 H" z4 z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / d8 b! p9 D! b! T# L/ E! C) N! ], r4 s
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    " l# X0 t* n+ l, y; f! ?
  415. ; E_PARSE           - compile-time parse errors
    ; ~6 O) M1 t. Y% s( Q+ a4 I4 b
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    7 R& T6 Q( t0 Y5 L/ I
  417. ;                     from a bug in your code, but it's possible that it was
    3 A1 p7 |0 e4 j( l% z( U. [
  418. ;                     intentional (e.g., using an uninitialized variable and
    4 X% I) ?- x( ~
  419. ;                     relying on the fact it is automatically initialized to an2 n6 V3 Y1 k+ e9 ~- j% I. {6 l
  420. ;                     empty string)$ x( h1 c8 w9 Q- k2 Q3 A
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    1 o" ]" I7 F" ]! x0 g5 k
  422. ;                     to your code which will ensure the best interoperability+ G/ L4 Y4 J% y6 p2 W' @: y
  423. ;                     and forward compatibility of your code
    1 y: K8 k6 Y9 }1 `! G
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. s9 @$ E/ s+ N) n; a4 m4 y" a
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's/ a) A$ N" w8 m$ L- v3 W, `
  426. ;                     initial startup
    & K, m7 `9 V1 `4 }; Z: V  @
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    ; C9 ^9 _  V$ Z% p
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " S& j+ ~+ B3 ~+ J7 }) b8 A1 u+ C5 {
  429. ; E_USER_ERROR      - user-generated error message
    2 o/ ]# z/ ~+ y: Y3 n  d
  430. ; E_USER_WARNING    - user-generated warning message
    5 ~7 J( D1 h% d- K" o
  431. ; E_USER_NOTICE     - user-generated notice message
    + {, ~! U6 h- s: R9 J; q: n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions2 |3 ^) Q( A4 ~* x/ c# |$ M" [
  433. ;                     of PHP
    " w0 i' C' d/ G
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; k& p8 `1 {( n0 p
  435. ;2 Z# u/ p/ y) W
  436. ; Common Values:
    * ^) F+ \8 M! f4 V/ [  X
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    & w" E  I$ ?3 \7 b2 W) A* N
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ! `+ a: s/ J4 v& m2 ?4 c# M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ) k" e) V* H- _! e8 H3 D3 R
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors), l: c7 n0 S; t& h; l6 Q2 j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 u1 U  n$ Q' m" O" G. G' l3 D
  442. ; Development Value: E_ALL8 {* \3 ?  v* L
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 p. Z. a1 s: s
  444. ; http://php.net/error-reporting
    4 Q1 X, ~7 u7 _% ^
  445. error_reporting = E_ALL & ~E_NOTICE8 x% z3 ^' r9 y( G0 h
  446. 9 o- [0 g% c: B" a  P9 o& u
  447. ; This directive controls whether or not and where PHP will output errors,
    2 P& N# Q7 K; [* ^3 O; z
  448. ; notices and warnings too. Error output is very useful during development, but  d; X7 Q7 O9 a2 V* v* e
  449. ; it could be very dangerous in production environments. Depending on the code6 @8 V2 X7 x# n
  450. ; which is triggering the error, sensitive information could potentially leak6 V# o- Z% _( t4 C
  451. ; out of your application such as database usernames and passwords or worse.
    ( H8 W. k. y. W
  452. ; For production environments, we recommend logging errors rather than
    % f$ L  T8 g. i1 g& z
  453. ; sending them to STDOUT.
    * A! O) V3 j3 ~2 A0 I4 i. g8 D
  454. ; Possible Values:
    . e# x' T5 u6 d; ]  {" y
  455. ;   Off = Do not display any errors& b& y" V, \  |3 g* E
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / c7 J9 Q, P" _, g( f. ?$ R
  457. ;   On or stdout = Display errors to STDOUT) }, Z- J# v0 C+ a2 s# j9 e3 L) V
  458. ; Default Value: On
    2 w& [( X/ `4 R! L, H) [& Q
  459. ; Development Value: On& d1 O- _* o  Q, \
  460. ; Production Value: Off
    8 K" r! R: |5 l0 @7 X/ k" G
  461. ; http://php.net/display-errors/ K6 i' F6 _; w
  462. display_errors = On
    + m# q- M' {" {  ?' ^
  463. & m) S+ [! `1 H5 W0 h
  464. ; The display of errors which occur during PHP's startup sequence are handled1 E9 _/ R8 z+ `6 S$ X# e0 C
  465. ; separately from display_errors. PHP's default behavior is to suppress those0 K% Y1 X# R( X: Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in" D5 Y5 N" c; T1 R$ |- x
  467. ; debugging configuration problems. We strongly recommend you/ N0 M+ ?7 w/ \  p* ~
  468. ; set this to 'off' for production servers.( e, d/ M% T2 Z/ T. Z
  469. ; Default Value: Off
    $ g5 s" p  a$ G3 {
  470. ; Development Value: On' V1 _% ?% `* n9 s3 L- A3 t) O
  471. ; Production Value: Off: g/ [- [1 n& @# ^
  472. ; http://php.net/display-startup-errors* c: V9 O7 l5 J9 \
  473. display_startup_errors = Off2 W8 C' t: |+ [" d5 O5 E5 A
  474. 3 w2 P& n6 S% R
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ; }: I, }8 X3 j6 w
  476. ; server-specific log, STDERR, or a location specified by the error_log! q: m, c1 H+ z7 @0 Q
  477. ; directive found below. While errors should not be displayed on productions  u! H  F' T1 j2 k, \7 ~
  478. ; servers they should still be monitored and logging is a great way to do that.
    0 H# R: Y. G3 Q7 L
  479. ; Default Value: Off
    - j. Y6 g6 P# E+ W5 j' k
  480. ; Development Value: On9 _6 ?3 I/ Q) c- k! m
  481. ; Production Value: On
    . d# Z7 \- v: `* x
  482. ; http://php.net/log-errors
    * k5 C4 _2 R8 f$ q( [* p1 ^
  483. log_errors = On
    + b  R7 g/ n- H& D

  484. . D( r' M4 A' j
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ( F5 S, ~. [5 ^
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.- n" t2 E( ~4 _! Z
  487. ; http://php.net/log-errors-max-len
    7 d3 G# `! G8 U5 d* _1 V
  488. log_errors_max_len = 10241 w4 C8 W' [, k
  489. 9 a3 E+ M2 c9 f' m" U  l$ \' c
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same: B( q" e; X, C+ M+ }1 I. T
  491. ; line unless ignore_repeated_source is set true.
    # q2 `7 h! m1 Q5 K
  492. ; http://php.net/ignore-repeated-errors
    , _& [# I' h( U, y9 U1 y) I3 _5 S
  493. ignore_repeated_errors = Off
    $ t7 t  Y8 h4 e) W, a/ V
  494. & Q7 m$ m+ m1 R2 @) W( P
  495. ; Ignore source of message when ignoring repeated messages. When this setting+ R# j) Z1 q) X& }8 I0 z  D+ v# d; {
  496. ; is On you will not log errors with repeated messages from different files or5 {1 k9 u! k+ Y/ H6 `
  497. ; source lines.1 Z* x+ |' ^% L+ A) v1 T
  498. ; http://php.net/ignore-repeated-source
    & r  W) d4 e, Z! r& q. c+ @
  499. ignore_repeated_source = Off* k& m; h$ d. F  V+ u, k& P5 m
  500. 3 @' K* W. X" U* L) r, c/ M
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    # ^) }' \1 J  s7 H  k
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 a5 T! s, ^% I7 L/ H- C+ @* \: q4 q
  503. ; error reporting includes E_WARNING in the allowed list
    ; P- f" W. V# Y& N2 w
  504. ; http://php.net/report-memleaks6 p' L5 l. P4 ?* K( Z, Z
  505. report_memleaks = On
    9 V7 \, G0 Z- z' n  \$ p
  506. 7 T+ p4 G: P7 A3 h0 b: l2 V
  507. ; This setting is on by default.3 J, g1 |6 ]7 H2 j7 Y
  508. ;report_zend_debug = 0/ t5 ?; x+ C$ e2 G
  509.   t, _4 k; e3 b! ^1 i# X
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    + }9 ^2 x) O* e& |
  511. ; to On can assist in debugging and is appropriate for development servers. It should* z( C. }' V" Y1 T
  512. ; however be disabled on production servers.9 ~' X) {0 E. `& t) L
  513. ; Default Value: Off
    2 W2 W) _* r& H8 d8 ?8 t
  514. ; Development Value: On
    ) j1 _9 P: x3 f( ?4 N6 y, N
  515. ; Production Value: Off: }( O& K. I! f' p, R; Q8 T
  516. ; http://php.net/track-errors  j- F: x6 w) T* s( l- ?: s" K
  517. track_errors = Off' e" ], [2 e' J" B

  518. ) Q4 s8 h& q0 P% ]* g% c, a& N7 U0 Z
  519. ; Turn off normal error reporting and emit XML-RPC error XML* _/ @6 l2 F% c( z% `1 E
  520. ; http://php.net/xmlrpc-errors
    ( i3 e0 T8 c0 d, g
  521. ;xmlrpc_errors = 0
    / n7 |: A% U5 n
  522. / I3 l9 v# H; ~: n6 R! `# u. a
  523. ; An XML-RPC faultCode
    + b: S6 w) s2 K. r- w- A9 G
  524. ;xmlrpc_error_number = 05 H6 |. a5 s+ v5 w! R8 F1 V% ?
  525. : |4 S$ ]) R5 p1 ]6 C8 j' I( W9 w
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    % |% ~2 Z2 q0 U" L4 ]9 ]$ S, ]
  527. ; error message as HTML for easier reading. This directive controls whether
    $ F5 X0 m0 Z, P) a% E
  528. ; the error message is formatted as HTML or not.* r. ]: m5 t& x. E* w! M
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " c# O7 k" S, s, F4 M
  530. ; Default Value: On/ T: t0 b7 H  T6 s& }, V
  531. ; Development Value: On
    - {% |* P2 s4 t# H# w8 ]) v
  532. ; Production value: On9 {+ M- z' x, b" k* `: \
  533. ; http://php.net/html-errors
    . K  b7 t+ p9 }/ u1 ?
  534. html_errors = On
    * Y5 N: C3 r% d8 k6 R) x6 ^8 |# K6 e0 Y$ W
  535. : ~( @% r( O! R4 X1 p
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP& f& E/ Q+ G* l" z$ K
  537. ; produces clickable error messages that direct to a page describing the error
    ) M, ]8 p1 ?. i+ n3 F/ t5 i1 \# T
  538. ; or function causing the error in detail.
    - H8 A0 c8 P0 v3 ~" o- o( Z9 t: Z
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    # Z2 K& }  W$ j6 s+ B0 U  v( v, T
  540. ; and change docref_root to the base URL of your local copy including the
    1 j, n3 i$ O' ?+ U2 `, ^
  541. ; leading '/'. You must also specify the file extension being used including
    / M4 ^( _$ p; J2 f3 Q+ E
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 S- K8 z& Z. U" Z
  543. ; case no links to documentation are generated.
    6 p( R  Y; P5 |7 A+ _
  544. ; Note: Never use this feature for production boxes.
    % a9 t! P% a" \2 a# u& ~
  545. ; http://php.net/docref-root
    . k1 v2 _- G' A( i* @1 R; a
  546. ; Examples
    : D$ B% s, t5 u) B3 v' r: B
  547. ;docref_root = "/phpmanual/"6 w" v; V: [" n1 U

  548. 5 A) B; z: W' m1 Z5 T( f9 b1 F
  549. ; http://php.net/docref-ext
    , o' L' @- P6 y7 ]* x
  550. ;docref_ext = .html: }, c; @. {- k, Y, X5 O2 @7 i

  551. - {' j% X7 C/ m
  552. ; String to output before an error message. PHP's default behavior is to leave
      N; ?! L7 Q; _. G; G% A
  553. ; this setting blank.
      ~9 g/ L* g( S# O% U) S% o  I
  554. ; http://php.net/error-prepend-string
    0 ~  |' h. {& ]! E4 h
  555. ; Example:
    4 E$ q! D2 f% d, ^6 p0 q4 Y" V
  556. ;error_prepend_string = "<span style='color: #ff0000'>", ]2 _' w5 O* O5 t$ \

  557. 0 G  J0 Y4 ^) c- S' N
  558. ; String to output after an error message. PHP's default behavior is to leave. N  I) D" Q; ?! H( Y9 k$ D
  559. ; this setting blank.7 y6 s  K5 J7 C' P9 U
  560. ; http://php.net/error-append-string  L( K2 s. h, U, t' i/ W4 r
  561. ; Example:
    * p9 t0 Y# G# f7 h
  562. ;error_append_string = "</span>"
    / v4 p6 }7 L/ u5 O: `# r
  563. ) x4 N  H  D& m0 A9 m& \1 T
  564. ; Log errors to specified file. PHP's default behavior is to leave this value# [0 O! y' V9 y: i8 x+ r3 [
  565. ; empty.0 ]+ |  C/ }& A8 u. `  S/ X
  566. ; http://php.net/error-log
    - n5 T8 h/ n1 N
  567. ; Example:
    ' A* z, l# P6 J- x" h+ b
  568. ;error_log = php_errors.log9 U/ p0 q2 X( y! V
  569. ; Log errors to syslog (Event Log on Windows).4 Q8 \; H* ]3 j. v% B
  570. ;error_log = syslog
    : Q1 x4 p: z5 n1 Q1 `

  571. % }0 _9 v* X& V$ A
  572. ;windows.show_crt_warning) w: O7 w2 I2 S2 D2 V. S. k
  573. ; Default value: 0
    $ d* @3 B+ W' A( x: G9 q4 A/ j
  574. ; Development value: 09 N+ d' k5 v8 b
  575. ; Production value: 0& u& t3 _# }3 r6 I# o. |
  576. - Q6 K" I0 Z, R4 o
  577. ;;;;;;;;;;;;;;;;;" c* L  T3 G, E
  578. ; Data Handling ;
    3 T3 d* O! [% p0 F8 y
  579. ;;;;;;;;;;;;;;;;;
    - f5 E, G* C( i' x  R* h9 x" {; R

  580. # u. ~# V) M- _* L$ _
  581. ; The separator used in PHP generated URLs to separate arguments.
    . x: K/ i; H/ }0 Q4 q
  582. ; PHP's default setting is "&".4 f" e( m6 c2 D. V/ d5 i. t' e
  583. ; http://php.net/arg-separator.output
    + z* L8 Q# Q* M* z5 `
  584. ; Example:
    9 u* s9 @8 U6 O, @
  585. ;arg_separator.output = "&"$ y# \, Y( R  S1 S/ r# }3 m  L

  586. 1 D4 L& G  }: [
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
      R5 l5 J, l# y8 b3 u
  588. ; PHP's default setting is "&".
    + C$ L0 z0 h. S) Z: u- r% m# b% l
  589. ; NOTE: Every character in this directive is considered as separator!
    2 D( n( ?# G  ~7 [# N6 P4 j7 o4 l3 y
  590. ; http://php.net/arg-separator.input
    7 m4 K3 V$ j( }% |  T. I' |9 ~
  591. ; Example:  ?2 |0 |) [2 W0 A0 R) w
  592. ;arg_separator.input = ";&"
    ( W9 t2 \  A. B2 j$ V

  593. 1 x' z" {8 _1 [: l% X
  594. ; This directive determines which super global arrays are registered when PHP3 k4 M: u( V3 f
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 k% h6 e1 u5 y
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % N; ^* y' [- F+ ]
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ! d6 d9 H; H& `& _) S' E: E
  598. ; used as the others, ENV is not recommended on productions servers. You. \5 U9 h+ }) c* l/ w( C7 b
  599. ; can still get access to the environment variables through getenv() should you0 ~% l- g; O8 I! W' M
  600. ; need to.8 R/ l% S% h" E  U  w
  601. ; Default Value: "EGPCS"/ H/ E* c* u3 r6 c% @
  602. ; Development Value: "GPCS"6 t& ~' _9 |' m4 b( r. [1 g
  603. ; Production Value: "GPCS";
    " G. Z' \$ \: U1 H" T8 ~
  604. ; http://php.net/variables-order  J" @! M1 T  K% s8 ?* `
  605. variables_order = "GPCS"& p/ W' }# v. a) Q" T6 \0 y) B

  606. $ g/ P3 K; z/ V/ @
  607. ; This directive determines which super global data (G,P & C) should be
    ' _8 S$ ?9 n' C# D" G! ~
  608. ; registered into the super global array REQUEST. If so, it also determines# l4 V2 l2 v8 ]4 K3 \$ Q, K
  609. ; the order in which that data is registered. The values for this directive1 r2 ]# |. |/ g5 L, U" ^
  610. ; are specified in the same manner as the variables_order directive,
    1 L" ~" m/ L% A5 P3 V
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ p% W" e2 y+ R" X9 p" F6 I  Z
  612. ; in the variables_order directive. It does not mean it will leave the super
    ) w. `1 F. i$ l$ H. ^* y
  613. ; globals array REQUEST empty.2 L( P& _) k( k- G: }- k$ e
  614. ; Default Value: None
    4 u) y" \6 c  f/ k$ S7 B
  615. ; Development Value: "GP"
    % Q3 G6 z8 f2 r+ A+ m
  616. ; Production Value: "GP"
    / |* H( p" z+ ~' {
  617. ; http://php.net/request-order
    / B' T7 j/ n% {5 g  i2 b
  618. request_order = "GP"
    + O) x0 ~$ b9 `
  619. ' T4 T& U5 S0 B( Q+ M
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    . n/ l  s9 ^- W5 @; @
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script* |4 [2 z  q9 T0 z
  622. ; is invoked. $argc contains an integer representing the number of arguments# B% g6 g5 D5 K7 A2 z
  623. ; that were passed when the script was invoked. These arrays are extremely
    , p3 x& u, g. K, D( c# }/ U; k$ {% |
  624. ; useful when running scripts from the command line. When this directive is
    " m, W8 v7 ~) }* D
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    3 `# Y5 P5 e. e- ]6 ?$ l
  626. ; a script is executed. For performance reasons, this feature should be disabled4 d0 c0 l4 i  c# }' _# L7 q  |6 t
  627. ; on production servers.* _$ I3 j) F- t& e
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( n& x5 H& t0 q; j0 s
  629. ; Default Value: On
    $ L: Z. ~2 q! Q2 }
  630. ; Development Value: Off; d% b4 m# d' [
  631. ; Production Value: Off0 o" e" w, A+ ?. P
  632. ; http://php.net/register-argc-argv
    ( i5 n6 v: D$ }0 a$ a. Z
  633. register_argc_argv = Off0 q1 [- t- p4 _8 ]
  634. 2 L* e- {6 e9 K
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 ~3 p( ^5 e" M4 y1 S( j9 A
  636. ; first used (Just In Time) instead of when the script starts. If these# \' J% s' z7 g' P& {
  637. ; variables are not used within a script, having this directive on will result& g& z( X. C; Y4 B: Z8 k( E0 h; q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled! d4 `# W+ v( R
  639. ; for this directive to have any affect.8 Z& D. u" m& |3 A5 p2 @, M
  640. ; http://php.net/auto-globals-jit
    , l! [+ n( O8 J! E; N
  641. auto_globals_jit = On# h* Z+ U! i9 Q: A
  642. 6 i3 @0 f- L' C- p4 X! A
  643. ; Whether PHP will read the POST data., r# T+ J# _9 h, o2 l3 Q5 f, `
  644. ; This option is enabled by default.5 S" U; ^/ L$ r' r. `0 u$ O
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 Z5 K: j2 |' b  f; Z  V1 m3 h( R
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    6 \9 a* w4 i) A2 N) e' {' d
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ! U8 s8 U: A9 m) c, f& o6 x+ N
  648. ; to proxy requests or to process the POST data in a memory efficient fashion./ ?( S6 q7 I. F
  649. ; http://php.net/enable-post-data-reading
    8 M2 f3 _' Q3 ?2 O
  650. ;enable_post_data_reading = Off
    7 G: o- A! z; E* q
  651. 3 t9 j) d9 Z8 O/ W# \
  652. ; Maximum size of POST data that PHP will accept.4 Y& `  g( w; @
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    . C! k" R8 \! P+ B/ t" v
  654. ; is disabled through enable_post_data_reading.% b* z* O! u3 q! S' E2 V: m) o+ n
  655. ; http://php.net/post-max-size% F, b% G, R0 j+ f' P9 o% M
  656. post_max_size = 50M
    ' t1 j$ H* J5 x  ]3 Y' D& j$ L
  657. / J# T4 F- ^, ?$ i( [& ~5 r
  658. ; Automatically add files before PHP document.% ]* `0 v( H5 W% t1 J; h- Y+ {2 x
  659. ; http://php.net/auto-prepend-file
    ; k' n3 P) N5 O% S! F/ B
  660. auto_prepend_file =
    ' D1 k( L2 f3 C" ]: z
  661. - z9 k: c, l% u* C0 @
  662. ; Automatically add files after PHP document.
    . L9 }. ^# H, S/ |$ ~
  663. ; http://php.net/auto-append-file
    9 u6 ~2 t/ a# t" _
  664. auto_append_file =( S- N* I, O/ P' f( G
  665. 8 o5 R& K7 W% _# W6 f, O" e9 |5 N( H
  666. ; By default, PHP will output a media type using the Content-Type header. To6 g; i0 W! `: F; L! b8 f
  667. ; disable this, simply set it to be empty.; k4 K% u8 e4 {8 v* N
  668. ;) h+ Z) p& F; d2 g
  669. ; PHP's built-in default media type is set to text/html.7 [9 D8 [! k7 T# z
  670. ; http://php.net/default-mimetype+ a$ a. E: E; ^
  671. default_mimetype = "text/html"
    * {/ ]: y& _! F) U) F+ [- m3 v
  672.   y7 {5 P# p6 H2 V1 d
  673. ; PHP's default character set is set to UTF-8./ y, h$ ~% m8 p7 V/ B
  674. ; http://php.net/default-charset
    4 \; j* _4 L/ Q! \- I
  675. default_charset = "UTF-8"
    - ], Y5 \. p6 Z- J% p: {' J% U' F
  676. - t, Z: E; R# r) ^
  677. ; PHP internal character encoding is set to empty.( h9 @, w- _( M8 V
  678. ; If empty, default_charset is used.
    5 b0 \" f4 [* p- D
  679. ; http://php.net/internal-encoding/ s# h) u, w" k
  680. ;internal_encoding =
    / _7 F5 c3 a) \2 U  ]3 r

  681. 6 V% H2 U: R5 S& B7 s
  682. ; PHP input character encoding is set to empty.
    : Z3 |9 S2 A8 y2 Z) ]$ q5 V6 U
  683. ; If empty, default_charset is used.+ i" U0 `# _7 e) C
  684. ; http://php.net/input-encoding; D3 K& @) l; x& v" @+ }
  685. ;input_encoding =
      |7 T9 d! p  N4 v8 d# _6 @9 [
  686. ( z6 x! {( N$ d, z' M& M
  687. ; PHP output character encoding is set to empty.7 c& i/ \! N* w
  688. ; If empty, default_charset is used.
    # I- h* j1 e$ ^& O5 V0 X
  689. ; See also output_buffer.: K+ i7 T" w6 k4 j# Z0 {% L0 l9 b
  690. ; http://php.net/output-encoding
    2 a3 h1 G+ H& a) C6 ]2 Y
  691. ;output_encoding =
    % [. F5 {% X8 [& b% ~% J& o8 {
  692. ) t; n$ b5 z/ u, B# N' T
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    $ H- z$ y! L. g+ n% a5 ?; [
  694. ; Paths and Directories ;
    5 m' z, G2 v: G- O- f/ ]
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;0 N) J  H+ v  I0 l, y2 U2 O* D; v! w5 d

  696. / b1 f, Z/ k! e# u: q
  697. ; UNIX: "/path1:/path2"; Y9 p7 w7 h9 G% W9 `" S; [2 I
  698. ;include_path = ".:/php/includes"
    / I' z5 \: U" }% w: d
  699. ;/ q. [% A' c3 T0 v% @/ f# {
  700. ; Windows: "\path1;\path2"% C, b+ t9 d: d5 t
  701. ;include_path = ".;c:\php\includes"- Q; v# |4 ~7 L* e: P* Z# E
  702. ;( y/ _5 ], F" F8 D
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear". Q0 ?3 V, S# \# i; `
  704. ; http://php.net/include-path5 P- `4 J  I  k# ]

  705. / [  w& {( C& _' U" w
  706. ; The root of the PHP pages, used only if nonempty.; c7 x, J: T- \% l
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ( J- c: o$ }0 R) a! t; D/ \
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 a' v6 r3 ~" `+ i4 F6 w
  709. ; see documentation for security issues.  The alternate is to use the
    & ^* S; [$ p2 G- f
  710. ; cgi.force_redirect configuration below
    % h: z, i, b8 r& G) `3 z) W
  711. ; http://php.net/doc-root
    2 z6 l8 I. D: B/ h6 W" z0 H, ~4 ~: O
  712. doc_root =
    . `) P" _8 v& F  k

  713. & Z8 b. Z  q3 _
  714. ; The directory under which PHP opens the script using /~username used only
    4 Z9 R, o1 q, R
  715. ; if nonempty.' M" r3 D: w. m
  716. ; http://php.net/user-dir
    6 q8 V( g8 g2 M
  717. user_dir =1 ?& M) @! J4 `1 `) V7 g

  718. * D8 O5 K, S# a  T& ]- t  E
  719. ; Directory in which the loadable extensions (modules) reside.
    5 N$ ^( |! t2 g
  720. ; http://php.net/extension-dir
    ! q1 q1 Q' A$ ~
  721. ; extension_dir = "./": ~& q/ o9 ~# K* [0 Q
  722. ; On windows:. L6 Z5 j* s5 x" }! p& R
  723. ; extension_dir = "ext"! l# \* f% W/ K7 ^1 R1 ?- v
  724. % H% y' P  o; I1 M, s2 Z
  725. ; Directory where the temporary files should be placed.
    9 n5 t3 Z/ a& F- Q
  726. ; Defaults to the system default (see sys_get_temp_dir)
    1 J& c' D% \. B3 J$ Q6 d- z
  727. ; sys_temp_dir = "/tmp"
    6 H: M& _" f4 Y! f4 N* y

  728. 8 U; c. Z3 ~5 l; n& e4 C( n
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work" F; w  y+ W  ^5 W6 t4 v7 i
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( q5 ~1 \1 B1 E# H, l; ~  X, g7 F8 Z
  731. ; disabled on them.
    3 P0 \2 D3 _8 T# |- |$ J1 }4 t
  732. ; http://php.net/enable-dl+ N! D  u; T. g
  733. enable_dl = Off
    - y" ^  Q$ H* m" v% ]

  734. ! a# P( y- `8 U, D: S0 i
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
      d7 e0 N4 H3 Q. a
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    - n8 c5 h+ ~: c
  737. ; turn it off here AT YOUR OWN RISK6 Y0 \, I( y$ Q- s
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.*** ]% D- ^/ w9 s
  739. ; http://php.net/cgi.force-redirect: o1 V" k  ?5 |7 {/ s8 w% h+ {
  740. ;cgi.force_redirect = 1
    % {% `0 e+ R1 T0 R* D- i, H: m
  741. . a+ F# S0 J& E, L' c0 j( h4 w
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
      x& b& V$ _- F2 s! t# j
  743. ; every request. PHP's default behavior is to disable this feature.
    % i/ V1 Q9 Y2 y* P
  744. ;cgi.nph = 18 M4 V8 X" p! e

  745. 1 g/ J7 H) n# M7 u/ ~$ G
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) r. T. ?) D9 o2 Z/ S* ^" \
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP# L2 i! V. d( h, [
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY: F' b1 |& S. g2 K$ x7 I9 Y5 p4 n* e
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ D1 G" ~; g# C3 n" K# s
  750. ; http://php.net/cgi.redirect-status-env
    + x& \& |5 H# F9 d0 W7 J
  751. ;cgi.redirect_status_env =3 i2 \: I# J9 ~

  752. 8 g% _" U8 K* T, _/ _
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's# o% o# v1 ^8 ]$ i9 A9 |. |- b
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ s  C" F. Z) Q4 Q
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' N- V( O( H# s/ k
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , n  A! j; S2 y( `* D2 q" T
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 M4 H) m$ z4 P. ]5 e
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & e& U2 y6 O; [$ Y
  759. ; http://php.net/cgi.fix-pathinfo! W, O: _, p. Y+ I: A- h- }5 @
  760. cgi.fix_pathinfo=16 C' o3 u. g0 q) ]- l$ _9 f. T5 }7 \

  761. 1 \% a* g! O1 f! q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , V! f- b" n$ o- l% m2 G
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    % P! A+ e# g8 B1 ~6 w
  764. ; http://php.net/cgi.dicard-path
    & s8 _! {! ]  j2 _% k% Q
  765. ;cgi.discard_path=1
    7 }- J, d- M  O$ U* z0 K

  766. 6 h+ N) p) R. L
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 l7 W# x: R4 Y" K
  768. ; security tokens of the calling client.  This allows IIS to define the+ d5 Q0 u. J/ i/ i
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ! `- e8 g% z! G# v  u- R3 b" M
  770. ; does not currently support this feature (03/17/2002)
    ' L  Z8 b! ~4 ?& P4 y
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 N, O! C; Q9 M$ ]% n: C, ^
  772. ; http://php.net/fastcgi.impersonate3 X" A7 F6 G) ~. M
  773. ;fastcgi.impersonate = 1
    $ I6 {# k7 `+ Q" B

  774. 9 d( m$ b$ x  y# F" K) ]$ Y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable; t! ?) L7 T5 G0 ~) z
  776. ; this feature." o( @0 I* Q: e! P8 c
  777. ;fastcgi.logging = 0
    4 y* o+ f3 l" O' F* C1 Y8 z& O
  778. " V( U! K$ I/ A/ ]" ~' h) Q
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 b2 x/ i& c' y: m$ R& X: W$ V9 y+ c
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : O% I. U6 `- T( v- I$ {! T
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    $ A# ^; r1 J  U  f7 h& ^; N
  782. ; RFC2616 compliant header., m0 A, _6 e$ u5 e$ x  q3 M( }# W
  783. ; Default is zero.
    " B' t$ z; ]; S* I, T
  784. ; http://php.net/cgi.rfc2616-headers; B+ u1 r1 z9 o- I! H$ x# Y1 y3 s
  785. ;cgi.rfc2616_headers = 0/ p. x; `% |1 f% [: X

  786. 5 C* ]4 }7 `- p, e& v5 r" D: X7 [
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, w# ^& }  T5 m
  788. ; (shebang) at the top of the running script. This line might be needed if the1 f$ H8 C) e0 i
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI9 @2 {1 _9 S: E' [4 I& Z
  790. ; mode skips this line and ignores its content if this directive is turned on.
      [0 I0 r6 Q4 x. V3 `0 |
  791. ; http://php.net/cgi.check-shebang-line
    ( ^7 F. L3 z- P4 s* k" Z
  792. ;cgi.check_shebang_line=1# p+ G: T$ ]3 [0 N3 Y9 f7 d; _

  793. . v: o2 Y" a% k0 j0 G1 B: O# |
  794. ;;;;;;;;;;;;;;;;5 i) a" z0 t6 J- r2 [
  795. ; File Uploads ;' I* G9 K8 ]- m$ C# Z
  796. ;;;;;;;;;;;;;;;;
    . ?4 a: p- [7 f
  797. 5 a! `2 }, B2 D
  798. ; Whether to allow HTTP file uploads.
    ; d  N5 V- W& t# Y9 A* ~7 q
  799. ; http://php.net/file-uploads4 D1 c' f4 D& l1 _5 }5 C" s8 p
  800. file_uploads = On7 e7 n0 K7 S( q- _9 s& _9 S
  801. 6 B' K0 p  R/ k" n5 ]; L
  802. ; Temporary directory for HTTP uploaded files (will use system default if not5 p  Y; T. I. [9 H- M( C# {
  803. ; specified).
    2 w6 V! O2 t5 J6 h# I
  804. ; http://php.net/upload-tmp-dir
    # W% Z2 V, d' y$ w  l0 g& Q
  805. ;upload_tmp_dir =5 M$ D1 n- i+ \  f& R. l' x
  806. % ?4 K- y( i) [  m0 B: h3 A6 B
  807. ; Maximum allowed size for uploaded files.
    ( B4 Z! J' A" n3 v6 O' o
  808. ; http://php.net/upload-max-filesize
    1 h" `, I; g0 B6 ?6 o2 D
  809. upload_max_filesize = 50M
    ) ~4 b$ i, Y* W9 E& A7 q
  810. " x3 I" \& C! O
  811. ; Maximum number of files that can be uploaded via a single request5 C9 n& v& S8 h$ l' E# P
  812. max_file_uploads = 20
    . C" H% x6 v" q$ b3 L
  813. - A, P# r7 E4 M4 ?2 e2 h* F: u3 w( c
  814. ;;;;;;;;;;;;;;;;;;% K( M9 f8 e$ r" f  J
  815. ; Fopen wrappers ;
    : m5 f: Y. n& V  V: X( H9 X! ]
  816. ;;;;;;;;;;;;;;;;;;
    " m- g2 s+ k7 ^/ Z! G1 q; F

  817. % m0 D! F- S4 `+ Y: _" [8 H1 @% ~
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    2 g6 l5 z$ n- U
  819. ; http://php.net/allow-url-fopen% r6 D  N* h1 v  A: ?; T
  820. allow_url_fopen = On8 ], n5 u& {- I

  821. ) x3 q1 k. k" o6 T! u
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) K9 x$ e3 B1 e/ `
  823. ; http://php.net/allow-url-include
    . v8 t; F/ e% H5 @, o
  824. allow_url_include = Off
    - V5 l. G7 t- A$ ?  Q; s8 \
  825. 2 n  F2 F7 L1 r$ J
  826. ; Define the anonymous ftp password (your email address). PHP's default setting0 V; l2 m) y, \
  827. ; for this is empty.
    + B0 j, `. [0 H4 ~
  828. ; http://php.net/from
    $ M/ ?, P4 M4 V+ l
  829. ;from="john@doe.com"$ y- K4 n# G3 i) {! D
  830. " g8 [0 j, v# A7 |, s/ ]7 `
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    , O9 X# j7 ?' z: j( `& Q9 E) j
  832. ; http://php.net/user-agent3 w0 M+ t( L( _5 t& {: y( V
  833. ;user_agent="PHP"7 h9 p# Z( X! s, V# J
  834. 4 q$ ^4 `3 r7 ^! j
  835. ; Default timeout for socket based streams (seconds)& \1 e* r1 Y9 C& V- R# J
  836. ; http://php.net/default-socket-timeout, j% w! [* s. w9 r, s/ S' M4 R
  837. default_socket_timeout = 608 k. [, N5 i: z$ s1 X) F; N
  838. # m+ H( b8 F  m: A, N
  839. ; If your scripts have to deal with files from Macintosh systems,, R2 \3 F9 W: K
  840. ; or you are running on a Mac and need to deal with files from
    * W. o7 q/ z+ Y- V3 f
  841. ; unix or win32 systems, setting this flag will cause PHP to  X8 W4 y& ]" ^6 ]7 c  q- o: l
  842. ; automatically detect the EOL character in those files so that
    2 T$ _9 C1 P8 ?, s$ R) O5 S
  843. ; fgets() and file() will work regardless of the source of the file.1 v' v7 {2 w% I
  844. ; http://php.net/auto-detect-line-endings' w  H' q2 [! j% H) v  u3 `- h" ]
  845. ;auto_detect_line_endings = Off
    5 u) A: C; w' @- ?; R% s$ b4 r8 S
  846. ! U/ r6 u: S2 i# S
  847. ;;;;;;;;;;;;;;;;;;;;;;1 B! G7 g( a3 p3 x
  848. ; Dynamic Extensions ;
    / C" y8 B# q$ W. l) ^) f. a! G
  849. ;;;;;;;;;;;;;;;;;;;;;;, @8 @$ ^, J) c4 S/ c
  850. 7 W# Y4 ^- {7 n: f
  851. ; If you wish to have an extension loaded automatically, use the following1 n- ?) p& w) W9 [# H
  852. ; syntax:9 S# M1 r/ ]3 U& p6 r
  853. ;* I$ V7 f$ W1 T! b' V
  854. ;   extension=modulename.extension( v- Q/ \! J2 c6 ?; v+ x4 z$ X
  855. ;
    ) f1 ]& h* F, A% J! r% k
  856. ; For example, on Windows:
    9 N! T0 E, W' R& e( ^- _
  857. ;, b% p1 T8 L1 Y4 S9 f
  858. ;   extension=msql.dll, c4 r2 D5 O( b
  859. ;
    3 J) t. d. Z4 N1 h* q+ i
  860. ; ... or under UNIX:
    ' [- J# W# K& f) [8 A- r2 K1 {
  861. ;% M4 O( `# d, U! H, d1 \1 \
  862. ;   extension=msql.so2 d! A, @* G% }2 _4 a$ U: o: O3 K
  863. ;1 C2 N) |  |! C' S' u6 q
  864. ; ... or with a path:( O; c- o% C+ n$ v2 [6 l
  865. ;; U) m+ N! J" [. D2 W, o
  866. ;   extension=/path/to/extension/msql.so4 a) w  `; J, a0 c. g1 e4 M
  867. ;
    : `7 M( r4 X+ z$ W: h/ t+ A# Z
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ) j3 I' S+ L; a3 N
  869. ; default extension directory.0 e) R6 Z/ o' Z
  870. ;1 p! V/ h; C# O4 e+ C2 y% Y
  871. ; Windows Extensions
    0 V1 T1 d- D' t) I7 N  R9 q3 c/ q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    % Q5 l7 D4 v7 @/ p6 g
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    2 p: a( \6 `* @7 U& l: \
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / M: l' `" `- M7 [4 _
  875. ; Be sure to appropriately set the extension_dir directive.* W4 Y% h: L1 O0 G* M4 s- S) e4 W+ @
  876. ;1 `8 l( `7 e2 [
  877. ;extension=php_bz2.dll% m# s. h1 F( T* h2 k
  878. ;extension=php_curl.dll
    9 e2 n7 x; d7 U* P5 o9 n+ n) \
  879. ;extension=php_fileinfo.dll+ g" M7 n$ I; s+ G7 O
  880. ;extension=php_ftp.dll7 Z( \; C- ?( q2 f
  881. ;extension=php_gd2.dll
    , d0 r4 j! }3 X# E, w
  882. ;extension=php_gettext.dll. o2 k5 ?0 k0 o2 r: v5 `' j7 y# k7 A
  883. ;extension=php_gmp.dll
    . M6 c" F/ Z$ V& z* i
  884. ;extension=php_intl.dll! v0 V, c2 [# n" n- Y
  885. ;extension=php_imap.dll
    * w  K6 G1 C/ `# l; s. T
  886. ;extension=php_interbase.dll$ E* E$ }& r: p2 p  w  c
  887. ;extension=php_ldap.dll: E8 P8 F3 ?: s! b& i
  888. ;extension=php_mbstring.dll
    2 g7 J1 R; f- C
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it" ~* W$ G) X# O  J
  890. ;extension=php_mysqli.dll+ ?: }" U/ K, ^8 }
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: f- S; Y' e+ g( m0 x$ C* ~7 @' j
  892. ;extension=php_openssl.dll, w( c$ O& r5 {6 e) `4 n0 c8 A
  893. ;extension=php_pdo_firebird.dll
    & G+ c6 L) i7 U) F+ Y' R
  894. ;extension=php_pdo_mysql.dll+ Y* A( b2 U2 u3 M9 u
  895. ;extension=php_pdo_oci.dll, n  A" U& B- T2 |! ~# E0 e3 N
  896. ;extension=php_pdo_odbc.dll3 s: l/ v5 Q6 X1 M6 t& a$ S+ K
  897. ;extension=php_pdo_pgsql.dll
    9 A8 \9 A- V2 ^& v2 X5 ^) Q
  898. ;extension=php_pdo_sqlite.dll7 p8 F; q4 y$ e* |9 H' ~  `
  899. ;extension=php_pgsql.dll
    7 e9 Q% c- p' ^) u, e
  900. ;extension=php_shmop.dll; P! E# C5 _, l5 C( Z. z3 L
  901. 3 `) q, T: \1 c" F, v7 m& s% i
  902. ; The MIBS data available in the PHP distribution must be installed./ K# m* E1 N  W4 f; }5 m8 |+ D1 m
  903. ; See http://www.php.net/manual/en/snmp.installation.php  I/ e) q8 h: \
  904. ;extension=php_snmp.dll
    9 X2 o- `* _* S" Y, a/ z5 d" @( I
  905. * u3 r  C# R1 ?( E
  906. ;extension=php_soap.dll
    : r8 b/ m; A5 c! ?: @/ H* A, X' B
  907. ;extension=php_sockets.dll
    ! m1 F  A& Q5 v; A8 \2 K6 w
  908. ;extension=php_sqlite3.dll0 S5 G6 `- e7 o$ {" {
  909. ;extension=php_tidy.dll9 h  V9 ?' {6 i) A5 o4 u9 @
  910. ;extension=php_xmlrpc.dll. B& R, \5 @. {" Q1 S1 P- t6 P
  911. ;extension=php_xsl.dll2 Z  z! X; m: M, E: F
  912. 1 b$ t" L7 n5 Y
  913. ;;;;;;;;;;;;;;;;;;;: F$ j: ]6 Q5 h; t7 H, p
  914. ; Module Settings ;
    . N( o4 a+ j7 E$ Z
  915. ;;;;;;;;;;;;;;;;;;;7 v5 c* d. _6 K' P" f
  916. : Y8 K  A, ]- g/ S- |' D6 }
  917. [CLI Server]
    8 k+ J( o2 j/ y  t: D
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 W3 u1 i, m: g& w, e
  919. cli_server.color = On0 A+ L6 B. M% p( g

  920. 0 |) ~  o* h8 v/ A
  921. [Date]! {# v9 j$ g1 R
  922. ; Defines the default timezone used by the date functions
    ; U5 i. m' A& o. q* y2 ~
  923. ; http://php.net/date.timezone% u) r1 b; j" p9 W5 o
  924. date.timezone = PRC7 t! t0 v  v& a# [- y  O7 ]

  925. 6 G: h4 J" e. p( F
  926. ; http://php.net/date.default-latitude2 E8 m* Q% T8 p* x% Y7 R- @
  927. ;date.default_latitude = 31.7667
    ( Y7 l4 Y" `1 j. q, `
  928. 5 N# D' O$ I/ m' H; f* X
  929. ; http://php.net/date.default-longitude
    5 A; F) T0 i$ d2 g) b% l8 B
  930. ;date.default_longitude = 35.23336 l! ]" u+ `9 n0 \" z

  931. # t+ c  l! U; o  \' H
  932. ; http://php.net/date.sunrise-zenith+ J/ c8 f0 M; ]5 T
  933. ;date.sunrise_zenith = 90.583333
    + d$ h4 Y* \* ~/ }( x
  934. 2 |7 R& L- O/ O4 I/ }) z. h; M  s
  935. ; http://php.net/date.sunset-zenith) D+ s. S# d$ l- ^
  936. ;date.sunset_zenith = 90.583333* e# r! U! ^3 p/ ~
  937. / f/ F8 Y6 M; F
  938. [filter]$ l4 f0 V/ L- t  I) s7 E
  939. ; http://php.net/filter.default
    " G( @( x( W8 c* b5 o
  940. ;filter.default = unsafe_raw7 B- c/ C: S0 k$ {
  941. * Q2 N  M& D0 f  H+ l# L  T
  942. ; http://php.net/filter.default-flags
    & O  n( ~) o! U) X! X( q4 E) U
  943. ;filter.default_flags =
    6 o& {- ?9 X7 `
  944. 2 T, a9 T4 e/ Q6 P. k- `& I! t' Y
  945. [iconv]1 Y' w/ H8 e9 @0 d5 n
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.% z) P( a+ D1 r" L  g  H+ n* O
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 J. J5 w3 U9 m; v" U9 H
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! ]; W: |7 C4 ?) A- O
  949. ;iconv.input_encoding =) X8 F. _8 X/ b
  950. / ]* v; r" i' {2 P" ~
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.# k: W* t' k- L7 n, A
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ n' O2 H: m) s# Z8 r8 b
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 J8 S/ F" x+ w1 q7 N( @7 T
  954. ;iconv.internal_encoding =# K: q, Q& f+ P9 U) T

  955. % B1 p- W; N5 v# d( n, H; N# q4 S
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 @! P5 J( C" @3 n! g- |) u
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    # t! ^( g/ y4 f: `* F4 m) p
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 P; P; T" w% D& }8 B
  959. ; To use an output encoding conversion, iconv's output handler must be set0 ~/ t) p0 {: m! ?' C
  960. ; otherwise output encoding conversion cannot be performed.$ L3 J% X3 f4 s# V. Z" a2 d
  961. ;iconv.output_encoding =, V* O& X: d  N+ w2 k6 P5 a
  962. 1 E8 j5 G' F# \8 }
  963. [intl]
    ' h! Y' p3 x" j0 l; E- A. H% P
  964. ;intl.default_locale =
    $ E; {% o* R' v$ e6 F. ^
  965. ; This directive allows you to produce PHP errors when some error
    0 p0 s3 f, ~. o! N+ s
  966. ; happens within intl functions. The value is the level of the error produced.& h9 K8 m) z8 p8 `
  967. ; Default is 0, which does not produce any errors.. \% j( R) D; C
  968. ;intl.error_level = E_WARNING
    2 D1 z  y  ]# ?" E# h$ h( M
  969. ;intl.use_exceptions = 0& n; ^; C; `8 `9 V. r8 a! J0 F
  970. / S" f" \" u1 \+ m/ S# j4 n
  971. [sqlite3]
    $ a) C1 e9 p8 l/ r
  972. ;sqlite3.extension_dir =5 B1 V5 [9 _7 G: O
  973. / f, }' x& c' R! X) i. E
  974. [Pcre]
    . d1 R* {: W+ j( ~6 b/ r( Z
  975. ;PCRE library backtracking limit.
    ' B6 t( k" ~7 L* [5 A, q
  976. ; http://php.net/pcre.backtrack-limit
    1 N; s9 _! s0 s4 e0 \5 Q
  977. ;pcre.backtrack_limit=100000
    6 l9 x! U3 Q) \  q5 H

  978. 4 T2 W# @* X: {9 }7 c: u! Y$ C
  979. ;PCRE library recursion limit.
    - V! k0 R/ i8 N1 O- f, J/ p) ?
  980. ;Please note that if you set this value to a high number you may consume all9 ^( V9 H* y& ]$ @. t3 c
  981. ;the available process stack and eventually crash PHP (due to reaching the& ^" r' g8 t; y( g3 D; I
  982. ;stack size limit imposed by the Operating System).* I/ {4 \! |. Q; L# Y% ~0 e( y
  983. ; http://php.net/pcre.recursion-limit
    7 d" [0 H. d6 F9 E% r6 M6 ?
  984. ;pcre.recursion_limit=100000
    + `9 d! R" G' d
  985. 6 z* E4 g2 o3 u7 l9 O) i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE! l2 U$ Q" W+ A# ]
  987. ;library to be compiled with JIT support.2 w2 Q( y7 `# [( \
  988. ;pcre.jit=1  L" E! E9 ]5 k

  989. ! D" U0 J9 U- p( a# Y# {
  990. [Pdo]$ n0 X; J, v; B4 I/ U& F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    9 S" B" Y' U: @6 q* Y/ J8 s' n  I% _
  992. ; http://php.net/pdo-odbc.connection-pooling, V9 @* Q+ B3 u" _
  993. ;pdo_odbc.connection_pooling=strict- R1 o/ T: H5 [

  994. 7 W' a  b. z* d
  995. ;pdo_odbc.db2_instance_name
    6 [* k1 _6 e1 U' {

  996. 4 I8 S* l: M5 a  Y, i. g
  997. [Pdo_mysql]  \# I/ N" `; o1 s1 a7 y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 i+ x3 n; |* o$ F( l
  999. ; http://php.net/pdo_mysql.cache_size
    $ t: |/ T% F1 A9 e
  1000. pdo_mysql.cache_size = 2000
    6 d, e" z+ T7 k" G& Y8 \  a- j
  1001. # ~% I& w; _8 j! ~* |) o( V
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # C; V0 o' c3 O3 P+ O
  1003. ; MySQL defaults.! q9 o9 B3 ]7 \+ S: d/ q; k# Y7 l
  1004. ; http://php.net/pdo_mysql.default-socket
    4 m, E& @" z+ h, ^! m% Y6 [
  1005. pdo_mysql.default_socket=5 g6 m* m: i4 `

  1006. * g% ]4 t% o0 _6 U
  1007. [Phar]! D5 _7 h4 {  O  `  L% k
  1008. ; http://php.net/phar.readonly, `9 h( c! B1 v9 v+ E  D
  1009. ;phar.readonly = On
    $ S% o9 U, j- X- A5 u8 n; L

  1010. # k3 E$ o. k' h3 ~/ `
  1011. ; http://php.net/phar.require-hash! K  P: K1 s$ t- H1 N, |' J
  1012. ;phar.require_hash = On
    , _- O+ u; B4 N  h

  1013. % A7 d9 h' |7 ]5 J1 g" p2 ?3 U3 i4 m, D
  1014. ;phar.cache_list =
    / d  y- v% [& g1 L/ K
  1015. 2 g1 g7 q3 s; D2 T! f' U0 ^: _
  1016. [mail function]8 B* K4 B' _  P, m( m
  1017. ; For Win32 only.' |7 I1 t* _9 a/ q+ [
  1018. ; http://php.net/smtp
    1 C: y- l0 y5 S/ d& m8 v0 s
  1019. SMTP = localhost
    9 `( S! t5 Z! Q6 g# a  P5 a
  1020. ; http://php.net/smtp-port
    . T# F* g. x# z7 o4 k
  1021. smtp_port = 25$ Z) s& O* \& g3 j3 a+ P

  1022. 6 X  j6 p& B( Q+ O
  1023. ; For Win32 only.
    6 N' ?7 a  t5 C+ |) a
  1024. ; http://php.net/sendmail-from4 \  i  ~' b1 x3 ]0 J
  1025. ;sendmail_from = me@example.com
    1 k! C( I9 J6 n: S+ Y7 y$ f/ n, W

  1026. / Q* p/ U' S, ]' b
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 y5 x) B/ F; K7 n$ d
  1028. ; http://php.net/sendmail-path! Z. R) Q1 k. J* K, Q6 d  V  T4 d& e
  1029. sendmail_path = /usr/sbin/sendmail -t -i0 j7 E6 |# `6 q
  1030. % [! N  j* }3 l/ A. f/ G
  1031. ; Force the addition of the specified parameters to be passed as extra parameters2 j) N# v# X5 L/ W! u& Y4 P- p
  1032. ; to the sendmail binary. These parameters will always replace the value of
    / D* O; y% ~" U, H  \- g
  1033. ; the 5th parameter to mail().' v/ }  R6 B- l1 Q3 H0 Q3 e
  1034. ;mail.force_extra_parameters =. `- V! N0 \; N. ?
  1035. 0 E! H2 q# _! }  p1 F3 m$ k: D: y4 H
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * f; c& Q/ Q/ V5 R: Z1 d
  1037. mail.add_x_header = On8 O; X8 k5 x- \' u. p$ F

  1038. $ K2 U+ F! h7 C9 K
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    % i& q! `, A9 w: I; F9 E: e$ Y
  1040. ; the full path of the script, line number, To address and headers.
    / N- U! e1 {! t2 h) ~* `
  1041. ;mail.log =
    6 X/ W) z: F2 }! K
  1042. ; Log mail to syslog (Event Log on Windows).  a# r2 O" X' A, q% r/ j
  1043. ;mail.log = syslog
    ) l% U% ^+ r1 Y1 R; N4 t' p
  1044. & y$ m, l6 ^; @  c  v
  1045. [SQL]
    / U. p% a8 [8 w5 K+ A) I
  1046. ; http://php.net/sql.safe-mode
    7 F' |+ n4 u# f( f
  1047. sql.safe_mode = Off
    ) f; y0 V) [1 _5 ]1 a$ `+ X7 G  F

  1048. ) V1 j; p: x( A, k" ]
  1049. [ODBC]
    ! E- F) S; \- D/ `0 R
  1050. ; http://php.net/odbc.default-db
    & ]# c+ x, H4 D! a. V4 s
  1051. ;odbc.default_db    =  Not yet implemented: M& S( w) y3 W$ }' c) T" x' Y
  1052. , y0 I! l3 V5 w% X9 R* c
  1053. ; http://php.net/odbc.default-user
    . Z* @) H/ c4 ?, g' U4 i' q. {
  1054. ;odbc.default_user  =  Not yet implemented* I; M8 h6 o- e# X6 z$ K2 X3 \. I

  1055. + i. j* D' E7 A! [3 \. p8 R
  1056. ; http://php.net/odbc.default-pw6 j2 }' U0 F1 B
  1057. ;odbc.default_pw    =  Not yet implemented
    1 [7 N4 d& E5 d, s( \
  1058. 7 w' C1 l, a9 N8 [7 ?
  1059. ; Controls the ODBC cursor model.
    ' p0 {3 D7 y0 q
  1060. ; Default: SQL_CURSOR_STATIC (default).$ H! i) B/ a6 Q6 X% Z4 H+ c. ~
  1061. ;odbc.default_cursortype0 V" w' T* l- Z

  1062. " A$ [9 f7 B! K$ y/ k8 n
  1063. ; Allow or prevent persistent links.# p; B4 R! \; ~4 D& Z+ z+ H4 l$ _
  1064. ; http://php.net/odbc.allow-persistent1 y2 z' a' V' i' \* K
  1065. odbc.allow_persistent = On
    ' y" B5 b* V1 O9 C3 ^+ B0 m9 u2 T
  1066. 8 k" U$ `6 N0 q* ^' }/ e% [
  1067. ; Check that a connection is still valid before reuse.* y* k5 c9 i' O4 ?' p
  1068. ; http://php.net/odbc.check-persistent; F3 q6 c# T) D9 b3 V6 h! i& v" W
  1069. odbc.check_persistent = On- F/ O4 Z5 ?3 S+ t

  1070. . i5 f/ O% d$ h& o' P$ j( ]$ q
  1071. ; Maximum number of persistent links.  -1 means no limit.
    - S2 r5 C/ P4 }7 f
  1072. ; http://php.net/odbc.max-persistent3 H% ^+ d9 @8 m+ c
  1073. odbc.max_persistent = -12 ^+ F  S. K+ W+ W: q! [2 i7 K
  1074. ) n9 i- U& ]4 ~' A! l
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) b( M3 O& s/ J" |
  1076. ; http://php.net/odbc.max-links6 d$ f- a* N! r$ f7 n: Z+ Q
  1077. odbc.max_links = -1
    ' @  f  j$ @/ Z& E# k0 w
  1078. ( z  x& Z; W! g
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 F: S  H( Z7 R
  1080. ; passthru.8 s* K) d( x: l6 X4 F
  1081. ; http://php.net/odbc.defaultlrl
    8 X" P7 p3 n) e+ X5 P
  1082. odbc.defaultlrl = 4096
    % d: N5 P5 `+ ?2 q' Z) A! V, V
  1083. & t/ d$ r& B4 Y; k! J3 c' J" R
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.0 ]2 [, h3 q8 i% U3 D
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation2 X8 T/ I& v! f% G6 }/ t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode2 c2 G8 v8 g5 t' ~3 v) s" v
  1087. ; http://php.net/odbc.defaultbinmode
    , C$ o% {2 F& r4 w5 S4 I1 D9 [
  1088. odbc.defaultbinmode = 1
    ( s6 S( r' N* o2 ^

  1089. / m9 }) d$ _9 O$ g8 P9 y/ V
  1090. ;birdstep.max_links = -1
    $ P7 J* O; ], U2 D& E" S

  1091. : v! O4 @* W' T" i( K+ f! j+ M
  1092. [Interbase]- ]8 z9 J* n8 G: \4 p) e' @& [" o
  1093. ; Allow or prevent persistent links.8 I- G0 U4 e. {3 r; k9 i9 p
  1094. ibase.allow_persistent = 1
    9 x6 B3 q& m. t

  1095. - u! W/ d, m* Q1 `. r
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ! g' _' p+ s% ~
  1097. ibase.max_persistent = -1/ I6 i7 f/ q. F
  1098. - V2 i- x6 B5 j* n# ^0 M' s$ ?! o
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 T. u0 \/ C- b' H- h  O
  1100. ibase.max_links = -1  U  B$ h! l1 N% y) \% H

  1101. ( [. t9 v1 E4 Y  W# }
  1102. ; Default database name for ibase_connect().8 d, j* e! j! e" a3 P
  1103. ;ibase.default_db =
    2 K; u- u$ H+ I& N6 v0 R

  1104. 4 V3 y/ k7 ~, j1 C: n* D) f
  1105. ; Default username for ibase_connect()./ A' j! r8 U% G8 `  E! J
  1106. ;ibase.default_user =
    / _: z0 e+ _+ |
  1107. * l5 ^$ Y& o( x+ J* H7 n% v4 O
  1108. ; Default password for ibase_connect().
    , R$ ]: M  _# u! u% w/ [6 f* q/ x+ K
  1109. ;ibase.default_password =' Y( X8 j& O& P5 ~; I1 U( a, l2 K

  1110. . K2 z0 P8 A( H" B' ]) C
  1111. ; Default charset for ibase_connect().
    . ~6 ~  Y) @7 X$ h
  1112. ;ibase.default_charset =
    0 T9 n% B8 G2 D* @8 ~

  1113. 0 T9 ~* [1 j0 d1 }$ Q' T' |
  1114. ; Default timestamp format.
    . c# N8 N4 q" ^( U( e3 ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    + c6 r2 X1 U0 v" Z2 N8 p8 ~' F- p/ E

  1116. 3 [9 T1 s; s# f: }
  1117. ; Default date format.
    $ j$ b9 m9 s. M
  1118. ibase.dateformat = "%Y-%m-%d"
    0 f3 p& T. J! z" @" ~! U

  1119. 6 J0 E' B1 n" Z; d& U4 e: Z) n0 I# z
  1120. ; Default time format.5 ^# j" h! u, \( L  \) z
  1121. ibase.timeformat = "%H:%M:%S"- ^# S2 a( k% R& h9 A! I# \- ^1 h( Q

  1122. , z- H. E  k# ]# P" F0 a$ K, |
  1123. [MySQLi]+ F% _0 |' H+ F8 n% Z3 _; k
  1124. 9 p. V' M1 ~, d4 t) |  D3 P( z
  1125. ; Maximum number of persistent links.  -1 means no limit.
    3 y% l0 }1 v6 y" r2 j( R, f
  1126. ; http://php.net/mysqli.max-persistent
    7 F: Y9 y2 b# q
  1127. mysqli.max_persistent = -19 X, U. @4 n1 C2 o5 i$ b) J
  1128. . w6 d8 W. K# q7 [' j8 r( T5 i
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ b: j1 Q0 ~0 P
  1130. ; http://php.net/mysqli.allow_local_infile
    & E4 @% N, Q" E
  1131. ;mysqli.allow_local_infile = On' A9 f' o: B% h# q0 Z, r& o4 d( X
  1132.   s$ A1 O0 C, r( O& L3 l
  1133. ; Allow or prevent persistent links.2 z5 D) D3 t0 p; f$ [
  1134. ; http://php.net/mysqli.allow-persistent
    - Z4 x9 _+ G/ H
  1135. mysqli.allow_persistent = On/ y2 @3 V; |, X+ ?( W
  1136. : _& i* Y6 t6 ~, q$ [; {
  1137. ; Maximum number of links.  -1 means no limit.
    0 i# q% e/ a3 ], Z0 o, a  ?
  1138. ; http://php.net/mysqli.max-links' Q2 O, I6 K& I: d) T- t* C
  1139. mysqli.max_links = -1. s9 {# x+ l( R% a1 T6 B7 U
  1140. - T  ^$ c: p6 p# ]
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & l. Q- L: u7 ^1 r" e; _
  1142. ; http://php.net/mysqli.cache_size5 k7 I1 A1 [& `. k% ^
  1143. mysqli.cache_size = 20006 V+ V) ^( Y0 _  ^

  1144. 1 T. s0 {, X3 W
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    - N" `* Y+ `8 H; R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. ~2 w" R0 ~8 p# N: X6 H, V+ q
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + L8 {) o' M* y; D
  1148. ; at MYSQL_PORT.  N2 u8 o  Y" T# I" S! I
  1149. ; http://php.net/mysqli.default-port7 v" S, Q& \. g
  1150. mysqli.default_port = 3306
    - b' g) J* I1 X9 H. D
  1151. 2 h: N3 T# F$ Y; |, X; u1 h
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ D4 b* l5 @' J9 \% N, l# _( l
  1153. ; MySQL defaults.
    " W9 J( l) w2 V9 y( j+ ]
  1154. ; http://php.net/mysqli.default-socket1 F% \" V; Q3 |2 E9 I" ]2 c2 E4 K, f
  1155. mysqli.default_socket =4 D/ H8 z  ]8 W' q- w; S

  1156. 8 o- Z! M9 ~4 ?4 \( ?& W
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).+ j6 f" J/ r2 `, t7 V0 c. l
  1158. ; http://php.net/mysqli.default-host
    ) l. Y( t8 U  R+ n( r" C/ \
  1159. mysqli.default_host =
    ! C% q5 U: A7 n

  1160. 9 L: [* f6 p; r: k. T; S
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; Z. V) q3 p# c4 S* l# {
  1162. ; http://php.net/mysqli.default-user" o8 B  x! R5 M3 H, p( f
  1163. mysqli.default_user =- s. F( N; l# t3 Z: l+ M+ O5 y+ j+ K
  1164. 0 S( o" n3 Z5 a6 l; p4 l5 G& ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 O: C- y7 J# [) `% j
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    3 a2 I9 X) i# \3 v
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* c9 ~/ `; z0 @. s3 H2 T/ t- `
  1168. ; and reveal this password!  And of course, any users with read access to this
    ) q6 Q" @7 M" ?) U
  1169. ; file will be able to reveal the password as well.; l' X; g* t) v. h
  1170. ; http://php.net/mysqli.default-pw
    ; I+ q- V3 w1 {0 A9 C
  1171. mysqli.default_pw =
    3 ?* H, j4 q& R/ A

  1172. " G3 ?; C1 B1 Z" s2 Q! t3 N
  1173. ; Allow or prevent reconnect
    8 `/ m; u. i" X0 D9 a& R: |
  1174. mysqli.reconnect = Off
    2 r( R/ \$ U5 f; f6 H  x0 ]

  1175. ( _2 X- m' A- B$ @  x; p3 _
  1176. [mysqlnd]
    " Z$ F7 m6 _& g, Z. h
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be2 u% J6 \+ {/ k& e6 B( E2 c9 V: d4 t
  1178. ; used to tune and monitor MySQL operations.
    $ W) _$ N% ^! j0 `+ @4 d0 @- K1 I
  1179. ; http://php.net/mysqlnd.collect_statistics
    - \- J5 t) k6 R$ D2 i
  1180. mysqlnd.collect_statistics = On
    0 I$ l/ T, T9 C  p) O$ m
  1181. 8 V2 n% D2 J5 g0 T- A6 C( y
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be6 n1 n: A$ q- b2 _% j9 E% W% q
  1183. ; used to tune and monitor MySQL operations." w1 ?% D. D5 t1 y: C" _' {
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    1 x" y6 O, @: z& O
  1185. mysqlnd.collect_memory_statistics = Off
    : \6 @) v: @: C. a3 i

  1186. 0 S$ s+ L$ v8 c7 h# q! H% ]
  1187. ; Records communication from all extensions using mysqlnd to the specified log" J- l! a8 B( l0 S5 Z
  1188. ; file.
    , _7 }) i6 n4 h$ ]7 C# q  e
  1189. ; http://php.net/mysqlnd.debug
    $ Y/ E5 l$ n  k) d3 N8 C0 ]1 ]( C
  1190. ;mysqlnd.debug =
    : |2 J+ f" o9 n9 H7 [/ d, M# Z( M
  1191. , K3 D) {+ q& M$ _: y
  1192. ; Defines which queries will be logged.# W: f4 i1 r, t) z3 _
  1193. ; http://php.net/mysqlnd.log_mask
    5 n* g( t4 m+ l; p  E/ ~( f
  1194. ;mysqlnd.log_mask = 08 t6 e2 ]7 ]" m! ~9 p

  1195. ' H  a& P8 G4 f/ N7 \" L
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.2 [  j. a: P. Z9 _8 b
  1197. ; http://php.net/mysqlnd.mempool_default_size
    # A2 G3 ^5 b) E' n+ \2 P
  1198. ;mysqlnd.mempool_default_size = 16000
    - s1 o+ {! ]0 D+ q& ?/ x

  1199.   ]+ z4 L3 e+ F# i( P2 f4 ^4 _: Q
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.4 k6 a/ B4 V1 q* [$ K# ^3 K
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size, J+ ?7 L9 J  }8 l5 f. G
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    , g* l; p  r) o/ L# {! a
  1203. 5 u% g4 A" Y& F- h
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" [% N* x; D. y2 I6 y+ |: k6 o0 ]2 G
  1205. ; bytes.) k& j; T3 u- }& B6 W/ z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    & q  m2 \0 y1 R8 `. N
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 `5 ^" H8 W- t+ c/ I* }

  1208. ; R7 `  ?' F5 p; x) z, P
  1209. ; Timeout for network requests in seconds.8 G! r( k( l& ^5 O* S, W
  1210. ; http://php.net/mysqlnd.net_read_timeout
      N  [% o1 I8 g* \
  1211. ;mysqlnd.net_read_timeout = 31536000& t( ^4 }5 d' O9 _8 _. E0 K

  1212. 3 k. [' i' J$ s* Z1 }
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 R% S: Y: g- E. d
  1214. ; key.
    8 q1 w: g$ D$ A. @, l" p
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % B, S' g. m8 a& k$ x4 Y
  1216. ;mysqlnd.sha256_server_public_key =1 N  ?% N6 P+ P9 h5 m
  1217. & P* h) C2 X, W
  1218. [OCI8]1 l6 u2 ^: w! V# k
  1219. + P; N3 ?: V" y. ~6 e* \
  1220. ; Connection: Enables privileged connections using external* f! ^3 f( D$ ?- M; q% P. R% x7 E7 ]
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % C8 |7 G3 p  `0 k1 s6 I! ]. y
  1222. ; http://php.net/oci8.privileged-connect, t% |1 v1 B1 L3 I
  1223. ;oci8.privileged_connect = Off+ _3 A: r$ G, K! u0 u, U; ?

  1224. 1 M: G* G/ f: ^* t4 I! R: I7 e
  1225. ; Connection: The maximum number of persistent OCI8 connections per- F+ M. x, ]+ f9 P; `5 Q! O
  1226. ; process. Using -1 means no limit.
    & F4 I5 v3 }7 J$ M
  1227. ; http://php.net/oci8.max-persistent( s% C5 h+ C" a' h9 d$ p- J+ n
  1228. ;oci8.max_persistent = -1
    5 j' f. t$ b0 x  K+ A5 i
  1229. 3 u( i5 |  z* h$ W5 b( _
  1230. ; Connection: The maximum number of seconds a process is allowed to/ _& y: m1 Q) m, r; w; x% G8 ?, h1 i
  1231. ; maintain an idle persistent connection. Using -1 means idle
    . D5 c+ S# e4 D6 o+ G9 a
  1232. ; persistent connections will be maintained forever.
    ! x) c7 @9 N3 k0 W
  1233. ; http://php.net/oci8.persistent-timeout
    ) f2 r5 g! I; v. s% {4 v
  1234. ;oci8.persistent_timeout = -19 y& @' q; `' X! e2 L1 M2 R8 U
  1235. " M7 I' W7 X2 `" ]7 t( o- |
  1236. ; Connection: The number of seconds that must pass before issuing a
    4 u7 }( J9 l# V1 q* u
  1237. ; ping during oci_pconnect() to check the connection validity. When
    + e6 |, D6 W1 `0 L* E
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ [8 a& k4 m/ @+ |
  1239. ; pings completely.4 [4 {( x+ c$ }$ @. ]* n6 y3 D5 I; W
  1240. ; http://php.net/oci8.ping-interval
    . P- q5 W7 g: ?2 K+ j
  1241. ;oci8.ping_interval = 60
      @6 ?, u' |4 a

  1242. 5 c2 E* _5 h' q! E( M
  1243. ; Connection: Set this to a user chosen connection class to be used1 u* f0 T" x/ n& S: `% Y
  1244. ; for all pooled server requests with Oracle 11g Database Resident- @4 p# m' p7 c! U. g
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to: r* r7 c; R- c" }- Y/ i
  1246. ; the same string for all web servers running the same application,  t1 p: c. N: T' w( _; W( Z
  1247. ; the database pool must be configured, and the connection string must
    ) `8 }6 }8 D. N1 g8 K$ \8 |. T7 j; @6 N- e
  1248. ; specify to use a pooled server.$ c  R/ r% f0 v% e/ e
  1249. ;oci8.connection_class =" k5 Z# w: e  d

  1250. " g+ u9 U2 a8 g9 l2 n  n
  1251. ; High Availability: Using On lets PHP receive Fast Application5 L8 p3 g2 I/ I: ], ^. @/ t
  1252. ; Notification (FAN) events generated when a database node fails. The0 O4 @2 V1 X. n
  1253. ; database must also be configured to post FAN events." T; e$ X8 S, P5 X' v* C' \
  1254. ;oci8.events = Off5 P5 q) y1 a3 E7 ^" F

  1255. 1 P) S6 O$ B, x6 `& w& J4 R" f7 C
  1256. ; Tuning: This option enables statement caching, and specifies how; o, d+ x  K; g- L
  1257. ; many statements to cache. Using 0 disables statement caching.
    ! i5 Q9 i2 Y# p$ M8 [5 D/ ^: S0 e
  1258. ; http://php.net/oci8.statement-cache-size- X+ S0 a- X3 }# u
  1259. ;oci8.statement_cache_size = 20; ?$ d. d% X( P& P: h
  1260. : d& U% L9 V( V  R* i3 \4 `. n, A9 H
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    9 d3 K! d8 l4 E! V' `: B  F& z
  1262. ; rows that will be fetched automatically after statement execution.# U8 d& F7 K* E: X. i5 {. V% @
  1263. ; http://php.net/oci8.default-prefetch
    8 r. K/ {5 L; X, x
  1264. ;oci8.default_prefetch = 1009 h" T: }* r6 [
  1265. 3 R  i7 ~5 c. y
  1266. ; Compatibility. Using On means oci_close() will not close
    ' i& |& s3 V9 }8 T
  1267. ; oci_connect() and oci_new_connect() connections.7 S4 V) }! ]# g& h' B% G
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 p( x- E% q, R) {( L& B: X
  1269. ;oci8.old_oci_close_semantics = Off; |. Z) C# f& X( a: J

  1270. " J, c2 O! z6 ^) A5 O# P$ e
  1271. [PostgreSQL]
    / F( z) e1 Z% x0 K) {; V
  1272. ; Allow or prevent persistent links.
    : Q0 X+ i3 q; d& I3 E, R
  1273. ; http://php.net/pgsql.allow-persistent: w2 \9 F  a0 d4 }- g. k
  1274. pgsql.allow_persistent = On
    3 o" b, ]# \0 T4 U3 _( r- B
  1275. $ E2 |6 S% |3 h5 M9 n
  1276. ; Detect broken persistent links always with pg_pconnect().
    $ s+ P4 O4 }9 Z! O- t" Z
  1277. ; Auto reset feature requires a little overheads.* z$ \# E/ O- g3 U% A0 I
  1278. ; http://php.net/pgsql.auto-reset-persistent
    % Z4 k; S+ t0 W# U
  1279. pgsql.auto_reset_persistent = Off. J$ g, H7 y' H; k$ y
  1280. 3 E3 n6 v2 |$ X* m# s: A! @' d; g( c
  1281. ; Maximum number of persistent links.  -1 means no limit.
    % V% X) x' p- k; v" R4 [
  1282. ; http://php.net/pgsql.max-persistent5 P( P) h; _# f4 n8 I2 @  q! H  Q
  1283. pgsql.max_persistent = -1
    * Z2 {$ R1 X, h. U0 U8 O! V1 z+ f
  1284. ( Z3 D  Q& u3 L. R- W& n
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit./ }4 a: L0 J: f% G3 p2 e
  1286. ; http://php.net/pgsql.max-links: ?7 S$ O- I0 H
  1287. pgsql.max_links = -1
    / R9 d# |+ z, t
  1288. & ?: G) M& c3 ~% r0 l2 U
  1289. ; Ignore PostgreSQL backends Notice message or not.( i0 I* c" N- o; ^  z4 t
  1290. ; Notice message logging require a little overheads.  J9 ~8 x  \$ O
  1291. ; http://php.net/pgsql.ignore-notice) N+ _# U, U6 @9 L, [5 w) Q9 I
  1292. pgsql.ignore_notice = 09 [; d# }9 {/ L" T
  1293. 5 D+ q$ C1 s+ Z! {% ~7 T
  1294. ; Log PostgreSQL backends Notice message or not.( V& C9 a: E9 v+ }/ u1 n& y! Q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , g/ y. o4 c$ b. n5 u: k4 d
  1296. ; http://php.net/pgsql.log-notice, D# s: u' o8 T0 Z  [) Y2 N
  1297. pgsql.log_notice = 0* b& Q$ B# F) i: y6 F
  1298. 0 k/ z* e- |, [. C5 i4 E
  1299. [bcmath]' g! a; h6 Z2 t! r" F5 G# z
  1300. ; Number of decimal digits for all bcmath functions.
    $ V% c; s8 Q7 M2 ^% U7 D" g* l$ K
  1301. ; http://php.net/bcmath.scale  O5 j6 Q$ \9 [5 {& ^
  1302. bcmath.scale = 0
    / M9 g/ m6 ?! [5 `0 G. W
  1303. 5 ]) A5 |3 y- v+ x/ }
  1304. [browscap]
    / s' T0 s" R3 x
  1305. ; http://php.net/browscap! t2 z2 A3 q$ o, {5 `3 p7 k8 E2 |
  1306. ;browscap = extra/browscap.ini7 [6 N5 `, Z6 S" B

  1307. ' J: @" j; ~" l) F
  1308. [Session]
    $ |5 H, U0 A. a4 x) ^% K, v
  1309. ; Handler used to store/retrieve data.
    ) f5 y' w1 F+ x' \6 e
  1310. ; http://php.net/session.save-handler
    6 B. J. p' _* M+ f, f/ h. z
  1311. session.save_handler = files' |- ?4 o) B9 u, W9 b8 n: C

  1312. - e! j: d, q. E1 [8 e9 d
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    1 w! z8 U4 v& s7 a# g
  1314. ; where data files are stored. Note: Windows users have to change this
    $ Y& s' i! J( t5 S5 b- u8 q% T
  1315. ; variable in order to use PHP's session functions.
    " N  z8 `7 [9 T, H3 s2 r; f
  1316. ;
    ( ]! z- z! L" q( O0 a: t, k5 O
  1317. ; The path can be defined as:) |( i$ m2 I3 o. z+ R
  1318. ;2 l5 _: U2 k: u6 `; A0 L
  1319. ;     session.save_path = "N;/path"' E1 Q1 ?3 f& x! q( \+ J
  1320. ;3 Z: M' h" {7 C6 K
  1321. ; where N is an integer.  Instead of storing all the session files in
    8 F  U4 S  X9 S/ `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and6 O: @9 V" b9 W0 ?& T8 _
  1323. ; store the session data in those directories.  This is useful if
    6 A! S4 C4 }! @
  1324. ; your OS has problems with many files in one directory, and is3 f( t7 e# a. [/ c' B) G% R5 w
  1325. ; a more efficient layout for servers that handle many sessions.4 Z' C7 K; {2 g* g/ n, d
  1326. ;
    1 S. [, Z' t8 X
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * A- A( Y! x! t$ f- l5 w3 y
  1328. ;         You can use the script in the ext/session dir for that purpose.( \, x' D& g& G1 j! y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to$ v1 W9 t( U- H
  1330. ;         use subdirectories for session storage& T3 v4 E4 x* S% c2 h) n# r3 ^
  1331. ;
    ! b0 j! c& W' r! p
  1332. ; The file storage module creates files using mode 600 by default.$ G" ~/ e- N0 y/ ?
  1333. ; You can change that by using! f* \. o* R" t/ [% w, |. ^5 h
  1334. ;" j- }- Y, x5 H3 S- f, t) K
  1335. ;     session.save_path = "N;MODE;/path"/ X7 I& i1 w7 r. m; e% g
  1336. ;" y4 L5 Q" d" B/ ]! ]3 }3 z  p
  1337. ; where MODE is the octal representation of the mode. Note that this, O$ z6 S' d, L3 v
  1338. ; does not overwrite the process's umask.& h" p. V+ ~% Y1 T) Q$ [7 p6 Q+ X
  1339. ; http://php.net/session.save-path
    8 z# G: f) Q- i# T" I/ o4 W' G
  1340. ;session.save_path = "/tmp"4 ?! j3 ^! p) ?: E( p

  1341. ' n. R3 |: A% A6 p. ?
  1342. ; Whether to use strict session mode.- D5 G: u3 o  f$ U: a$ p
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate, v9 G) N. M/ r3 ]+ w
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects2 K3 ?4 Z, V$ c7 K8 t* _! L/ P; r: e
  1345. ; applications from session fixation via session adoption vulnerability. It is
    9 a) H; o% U( \8 r. T. |2 K2 E4 g
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.1 u7 }8 s& V7 R# q9 d
  1347. ; https://wiki.php.net/rfc/strict_sessions
    6 J0 u0 ~* T6 F/ C# _2 ~. I
  1348. session.use_strict_mode = 0  z, v  H- W! H) K/ k, c
  1349. ( n1 k5 b+ c" W
  1350. ; Whether to use cookies.3 K9 G- D1 V% F0 V' P, g7 D; J8 y
  1351. ; http://php.net/session.use-cookies
    ' P. j- ?; c! z, k+ h
  1352. session.use_cookies = 1% v3 j* d/ ^/ U
  1353. 9 r# `9 v4 U3 [/ b! n; s  u
  1354. ; http://php.net/session.cookie-secure
    3 h3 B; M6 F5 y, q4 _
  1355. ;session.cookie_secure =* Y, E, u) I4 Q7 e" E, v3 h
  1356. + x6 i) l% B+ r+ l$ S2 |
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 Q% A# ?! }1 I, G+ F  O, P* A
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    0 Z' B0 Z1 {3 H4 c0 w3 d: E
  1359. ; session hijacking when not specifying and managing your own session id. It is0 z2 B8 O8 Y: G: Z9 x
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 z. \/ k# {  b# N9 p- N5 e
  1361. ; http://php.net/session.use-only-cookies
    ; [" E* Y2 z; C& F1 \" d
  1362. session.use_only_cookies = 1
    1 ?8 i5 k9 ]* p

  1363. 8 b8 t$ V7 @9 S, @
  1364. ; Name of the session (used as cookie name).# I& x5 q5 @6 u
  1365. ; http://php.net/session.name
    5 }1 ?/ {3 u6 f" J# W8 W# z, @
  1366. session.name = PHPSESSID- n' I7 t( h/ a' A) |
  1367. ' T5 Q& D) r+ g- Y, ~$ Z
  1368. ; Initialize session on request startup.
    5 I0 [% S) _9 m
  1369. ; http://php.net/session.auto-start2 Y: u9 F1 ~! ~+ r, x8 @4 g
  1370. session.auto_start = 0
    ( r% E2 i' f% `) Y0 c2 [, D7 ~
  1371. 0 {% S) w  m- R2 L$ C( v
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.5 F' ^. a* y3 n$ R' d6 h1 c
  1373. ; http://php.net/session.cookie-lifetime
    $ ?) c0 H. ~& x& O$ b/ Z
  1374. session.cookie_lifetime = 0$ ?- g4 P5 p1 f8 i2 W0 }

  1375. $ D( p5 |) q0 U* {) T6 M" Y6 P! [7 U
  1376. ; The path for which the cookie is valid.
    - L/ y  c$ l! y
  1377. ; http://php.net/session.cookie-path
    , X' v) q: ?! `! R7 j  G8 M
  1378. session.cookie_path = /
    % |' g( @* S% N: k8 ]
  1379.   l8 \; b3 d/ Y8 {9 B3 |
  1380. ; The domain for which the cookie is valid.
    $ k0 G2 _% H" e, D+ u4 z( U
  1381. ; http://php.net/session.cookie-domain
    ; K" X9 A$ X8 k, R
  1382. session.cookie_domain =$ a( o7 a* e" X

  1383. # ~3 L. Y0 |9 F) z9 j8 C5 r
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.; G$ [8 T2 |: X9 a- d
  1385. ; http://php.net/session.cookie-httponly
    3 y, j! E. N6 w, i3 @
  1386. session.cookie_httponly =
    7 t% G! u+ z* v- f1 V" N1 o

  1387. # r7 ]$ v3 C- I6 Y( D; a
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ) c/ K. l7 W* k
  1389. ; http://php.net/session.serialize-handler4 ?" B% M+ ]& X, z4 B- l
  1390. session.serialize_handler = php
    ! x, {" D4 X* M, i, p$ @8 e
  1391. * T/ ^9 Q& p5 C( ^
  1392. ; Defines the probability that the 'garbage collection' process is started
    - r1 S' J: h7 `& g7 a
  1393. ; on every session initialization. The probability is calculated by using& K" L# T3 P+ S# S5 a  O) c  ~
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! [7 j, J( i( `& c  l6 y3 B; t
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& ]0 N, t5 o. T$ j" o
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: y1 s% n( j" y: M5 E- U* N5 j& G7 W
  1397. ; the gc will run on any give request.; W! S+ K; B0 d. f6 Z, _1 g
  1398. ; Default Value: 18 U  E, x6 Y* u5 c
  1399. ; Development Value: 18 F& L" W4 H3 D" S" h5 E2 Y
  1400. ; Production Value: 18 N' x! B5 d  O# e# C
  1401. ; http://php.net/session.gc-probability
    4 U7 x7 S  L$ ?, e1 w
  1402. session.gc_probability = 1, I" t2 h% C- d# _* x. {5 r
  1403. 9 w6 W& J1 W$ k- Y$ N! J1 k  ^2 ^
  1404. ; Defines the probability that the 'garbage collection' process is started on every; ~; P4 r- R7 B/ m
  1405. ; session initialization. The probability is calculated by using the following equation:
    7 b+ s; a! u7 l6 f0 W
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    / [0 |3 \5 M" d9 W' \5 g! C
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 L, j% Z( ^# W$ V, F6 G6 O# T
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% o' T% ^" S9 d7 z& a
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you2 p0 p8 {8 [) y+ L8 }; s
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  X( S7 J! j$ s+ o& Q
  1411. ; this is a more efficient approach.
    9 r% M8 @& A. e3 K  N, @
  1412. ; Default Value: 100% u( i# N5 \2 n! W* W/ o5 t% S
  1413. ; Development Value: 1000
    1 ~* f7 v; E& I; o- L% X" E  u% E
  1414. ; Production Value: 10005 s& ~! ?8 B: f7 [$ I; X) R) f( j: ?
  1415. ; http://php.net/session.gc-divisor
    3 Y- s% Q1 w" {* ]; C0 a% b9 h$ X
  1416. session.gc_divisor = 1000
    % J9 W" x  \" W* K8 |6 Q
  1417. # T: \: x& }+ i. W/ b% u/ J
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and8 Q9 N5 d3 R1 ~3 j& ^5 ?- j/ J
  1419. ; cleaned up by the garbage collection process.* o7 R) K' L. E( C1 V
  1420. ; http://php.net/session.gc-maxlifetime
    7 o. u# q: Y9 `" l& A" N% @2 i4 k% E
  1421. session.gc_maxlifetime = 1440
    9 j; c. s- ?/ h! U3 Q( N6 O4 J

  1422. 8 [9 C  x- \: ~! }% Q8 C1 ~9 A9 X
  1423. ; NOTE: If you are using the subdirectory option for storing session files' Q+ H* u* [4 r1 ?7 h9 ^/ P
  1424. ;       (see session.save_path above), then garbage collection does *not*
    3 o: s+ e4 _; N$ M1 [% B
  1425. ;       happen automatically.  You will need to do your own garbage
    0 m* b3 `) b" h( z0 B, B
  1426. ;       collection through a shell script, cron entry, or some other method.
    % ]% U; a! C' T4 D' n/ s
  1427. ;       For example, the following script would is the equivalent of6 z  K& F; D4 p+ ^' p7 Y. J3 |4 g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):1 Y7 F% \" g. y* n' ^, q
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ ]- B1 i1 O' b% m- x4 n

  1430. ( g, U+ o: d+ M/ u  f% F$ o
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + I$ Y4 W5 j+ x2 [0 N. L( v
  1432. ; HTTP_REFERER has to contain this substring for the session to be' {, D3 S) V- I) `# I
  1433. ; considered as valid.
    - e! A1 e2 v. d! S3 r  a, B" Z9 R
  1434. ; http://php.net/session.referer-check
    8 m* S8 _! ~9 f6 s- d& @
  1435. session.referer_check =6 N) y: f8 r  U# W; v$ H- p9 y! O
  1436. % Q5 r) ^2 x$ Y8 ^! y
  1437. ; How many bytes to read from the file.1 |) {/ W; p( J3 f! S% B
  1438. ; http://php.net/session.entropy-length
    , u; S! p& q+ E# q0 J
  1439. ;session.entropy_length = 32+ b+ ^) O: p$ y2 f1 N5 h
  1440. - i; I6 f2 }- _6 {& S& W5 d) }
  1441. ; Specified here to create the session id.( d" x" M! K$ S" ^! z% \
  1442. ; http://php.net/session.entropy-file4 P; @6 \% }. E: ]4 u9 `9 ^
  1443. ; Defaults to /dev/urandom
    % {& Y: E2 `& L( F
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom) {6 h3 t; G1 ~- ]6 a0 M% a5 R7 Y- I
  1445. ; If neither are found at compile time, the default is no entropy file.3 c' _2 T  z- N$ o5 d
  1446. ; On windows, setting the entropy_length setting will activate the
    : i8 F: [9 i" r8 c9 L
  1447. ; Windows random source (using the CryptoAPI)
    ) o3 c3 y' f0 o4 |# t& b
  1448. ;session.entropy_file = /dev/urandom
    ; `$ n6 F3 N  x  [% }3 N. }  o6 G* p1 r
  1449. % x+ z# b. z3 c( R% _( G
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ W, [% E- \% G3 ~3 O3 c( X
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ) [& S* w, L% o: |+ s5 k
  1452. ; http://php.net/session.cache-limiter* p( o( W" }; F
  1453. session.cache_limiter = nocache  @" x  ?6 F0 X
  1454. 4 f7 p7 ~% y( z) L0 g. T3 Z3 B
  1455. ; Document expires after n minutes.
    1 {# @6 v# b! w
  1456. ; http://php.net/session.cache-expire
    ; h( }8 m3 M. p! C! V
  1457. session.cache_expire = 180. q& ~+ H, y4 j! ?5 t$ N: [0 \' j( X
  1458. 4 L5 w0 c* x( Y* Q* d: E" m; w/ h* O
  1459. ; trans sid support is disabled by default.! j0 j6 u  x  @6 b
  1460. ; Use of trans sid may risk your users' security.
    : ~2 H* Q4 U: `% d
  1461. ; Use this option with caution.
    8 P; _$ n2 D3 i2 `* c
  1462. ; - User may send URL contains active session ID
    ( L) u$ s" l5 Y
  1463. ;   to other person via. email/irc/etc.
    / r# M* g" M% {) d" C1 M4 R/ p. E  o
  1464. ; - URL that contains active session ID may be stored
    ! }5 s0 y2 |* m7 y  v) B# S
  1465. ;   in publicly accessible computer.
    ' Z3 f+ E6 {: M' z/ J8 E
  1466. ; - User may access your site with the same session ID4 f: N* `. o  {
  1467. ;   always using URL stored in browser's history or bookmarks.1 p( _' R6 a# X( h
  1468. ; http://php.net/session.use-trans-sid/ J5 A3 A* L/ G
  1469. session.use_trans_sid = 03 U# p' e! K/ o/ h9 S

  1470. ; Z& b  |+ M9 w( j9 u6 b
  1471. ; Select a hash function for use in generating session ids.3 Q" O* M' }( N  ^
  1472. ; Possible Values
    ; d% Z' ~/ l, U0 N# A; B" T, i0 X
  1473. ;   0  (MD5 128 bits)
    2 f' g+ U. L: w6 [' O( f/ n
  1474. ;   1  (SHA-1 160 bits)
    / _' E; M8 {. e, X
  1475. ; This option may also be set to the name of any hash function supported by
    $ ^2 G& r2 \6 p* f1 F2 E+ k+ T
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- F, A% f* x3 D2 s) P9 t2 t
  1477. ; function.
    $ O3 j7 t' v. E, O
  1478. ; http://php.net/session.hash-function- M0 I1 U! J& `9 V/ p2 i; Z, k
  1479. session.hash_function = 0# j) l  l6 p" D
  1480. * R  _! j- ~1 O8 [! q: E' b
  1481. ; Define how many bits are stored in each character when converting
    6 v. O; l! i8 d' m( L1 ^
  1482. ; the binary hash data to something readable.# U- y+ P0 z5 x9 S  Y3 O
  1483. ; Possible values:
    9 W/ ~3 i+ w3 d2 S2 I
  1484. ;   4  (4 bits: 0-9, a-f)
    " E7 n/ `5 @9 Z3 z% Z. w9 m8 X
  1485. ;   5  (5 bits: 0-9, a-v)2 O% h! A' ]' F' J7 ?( {
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ }: n+ }4 C& }1 r, ^6 n& S
  1487. ; Default Value: 43 }. }" \( g8 J; t. h: L7 Y
  1488. ; Development Value: 5
    0 d. ^0 |. ~0 z, M3 W& W' D0 Q: k
  1489. ; Production Value: 58 o/ R" l9 n% v- K$ c- o
  1490. ; http://php.net/session.hash-bits-per-character
    + Y4 I6 L! O9 K' r4 q, r1 R
  1491. session.hash_bits_per_character = 5
    ! I! k' b8 e1 W

  1492. + k# y' }5 P" U: ]) S2 k  U3 s
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 ^- G& k7 o% D+ A( h
  1494. ; form/fieldset are special; if you include them here, the rewriter will
      i+ W+ Z( R; ^! P4 ?1 V
  1495. ; add a hidden <input> field with the info which is otherwise appended* o  |+ W  q# r6 Z; c4 U
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    5 {1 {6 j4 h7 U4 i
  1497. ; Note that all valid entries require a "=", even if no value follows.1 W7 V" L: {5 @4 U5 O' [
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * n6 f  ?1 y! ]
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 L3 w2 r" v" M# o! a, W
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 i: Z  h: ^& J" u6 k( o) r* u
  1501. ; http://php.net/url-rewriter.tags. J& }7 q) F" D- B, j* k& R& o
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & U, N7 U+ V2 g6 `# @

  1503. # H1 p$ v4 ~( ^3 M: f
  1504. ; Enable upload progress tracking in $_SESSION
    6 S0 r0 s& D5 ?7 u, M7 E9 o% S7 K
  1505. ; Default Value: On7 Q& U; F8 _6 C) q& G
  1506. ; Development Value: On" z0 ?+ [! L8 ^) e9 B
  1507. ; Production Value: On
    ' x- N3 ?" q2 s  X) ~$ x! F
  1508. ; http://php.net/session.upload-progress.enabled+ M2 r  ]8 R- P. ?
  1509. ;session.upload_progress.enabled = On: O) F! C9 q: P+ ?
  1510. ! q9 ]* ^: s0 d7 M% q* O
  1511. ; Cleanup the progress information as soon as all POST data has been read1 m6 X% z& w: f7 n8 R0 ^$ Y4 B
  1512. ; (i.e. upload completed).: ]5 ]* @( v; x" ?7 P8 ?# S! Z
  1513. ; Default Value: On; v$ k# Y- S1 g2 S; h
  1514. ; Development Value: On
    - t% n' `2 i) F; O
  1515. ; Production Value: On
    , n7 B1 i, ]" }6 S+ t" z
  1516. ; http://php.net/session.upload-progress.cleanup
    1 C' M. }. u  _6 @
  1517. ;session.upload_progress.cleanup = On) ~1 x8 p- n  e; H- A# _
  1518. # X# P$ l& D1 y. K9 t; z
  1519. ; A prefix used for the upload progress key in $_SESSION( l: m) D. w- T  K1 q, y
  1520. ; Default Value: "upload_progress_"1 |$ w# t/ X4 {& r" R% c) s
  1521. ; Development Value: "upload_progress_"$ f- e' r' q* H3 _1 j0 a# R5 v7 [4 J
  1522. ; Production Value: "upload_progress_"
    8 I; E- G0 V8 F4 c5 {" v; u
  1523. ; http://php.net/session.upload-progress.prefix
    - }* ]6 v& G) O& H2 z& k7 n
  1524. ;session.upload_progress.prefix = "upload_progress_"6 i, G% g1 T, a0 z: Q
  1525. ' Y  ]! X6 C2 z4 Q! H; |
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    " @4 C7 ~* {# A/ e; d+ x8 s8 X
  1527. ; containing the upload progress information# o5 F. d/ j- ~' t+ |) L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - k4 \4 V! {# V5 x: M; n; N
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 Y/ ]; e5 ~6 A$ \0 p, d7 S8 G+ J4 ]" H
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  }; m- i  x: K/ X5 U
  1531. ; http://php.net/session.upload-progress.name
    # Q6 b' T7 n  F" u; J
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    $ O$ b; B8 r  e, f) v

  1533.   T" n$ \4 E) D
  1534. ; How frequently the upload progress should be updated.
    4 v  e& }4 v0 z0 `0 z
  1535. ; Given either in percentages (per-file), or in bytes, U* s# d0 G2 W$ Q, `
  1536. ; Default Value: "1%"( N; P/ g8 L1 T( p( K& `) o0 w
  1537. ; Development Value: "1%"
    + S; \( N! Z2 O2 q
  1538. ; Production Value: "1%"
    ! A6 l) B; ~" r- e
  1539. ; http://php.net/session.upload-progress.freq; f: j! K9 \% H9 v) K; F6 Q
  1540. ;session.upload_progress.freq =  "1%"9 k* Y! m/ j0 [, ~7 z9 G
  1541. 1 M% [2 K5 p& _  l
  1542. ; The minimum delay between updates, in seconds  n; ^* g$ P/ }% d9 K
  1543. ; Default Value: 1
    7 Z4 l! I, A( D
  1544. ; Development Value: 1
    $ Q+ M$ X+ p9 N3 M" h6 X! y
  1545. ; Production Value: 1# S. u6 |5 ^- f4 b( t: R
  1546. ; http://php.net/session.upload-progress.min-freq% s9 l6 B% [" T- M7 M) u9 [  }
  1547. ;session.upload_progress.min_freq = "1"
    # R9 i+ |1 u& W5 L+ `/ e  p/ h

  1548. * z, p3 Q3 t& ~7 b
  1549. ; Only write session data when session data is changed. Enabled by default.
    ( R0 L; n* h% O4 V3 {5 H9 ~
  1550. ; http://php.net/session.lazy-write
    ( ]8 J6 U; w4 B8 W7 Q( k/ o+ b
  1551. ;session.lazy_write = On
    " ]3 I/ p# T$ b: \$ H3 H

  1552. ' o# B  c; _0 o. _  A: K& p# e+ Y
  1553. [Assertion]- F" z- h% [* o: _
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)  n$ u. S2 c3 p. j
  1555. ; -1: Do not compile at all
    & J$ H2 G7 v$ t. `) e4 ]1 ?" o7 E. @
  1556. ;  0: Jump over assertion at run-time& a6 u$ E: `' g0 q( k( w
  1557. ;  1: Execute assertions! Z' o; X) d, C* ]9 F6 T% g3 z3 F
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)7 L) K. a3 d3 U5 c) P5 C! c2 U
  1559. ; Default Value: 1
    ( @7 e0 I5 ~0 _; ?5 G
  1560. ; Development Value: 1
    & }' U: A, w; @1 k
  1561. ; Production Value: -1! q8 k$ \3 Q2 e7 E) T  |
  1562. ; http://php.net/zend.assertions# P$ i- l  G. X' P
  1563. zend.assertions = -1
    : x! m4 j0 k4 J# ~

  1564. 6 C& ]6 p  R5 [7 Y; t! I
  1565. ; Assert(expr); active by default.
    , F3 E! S  A) n6 ]( n2 }5 @
  1566. ; http://php.net/assert.active0 g) S2 [% P/ L9 j! K# q: m
  1567. ;assert.active = On
    ) ~& R1 o3 P2 H: m$ ^' O2 s8 O
  1568. $ X& i& B0 y# y$ ^9 u) d/ z
  1569. ; Throw an AssertationException on failed assertions
    / t  }1 |& C4 ~: j3 r8 k
  1570. ; http://php.net/assert.exception3 h0 _; V8 @, s4 K# O
  1571. ;assert.exception = On6 E% b( `! a8 b7 n5 x/ [& y
  1572. * J, ^  W! k' {) B
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ c4 R9 b( V- {: G1 X) w
  1574. ; http://php.net/assert.warning
    ( z. F1 ]5 g: @2 {
  1575. ;assert.warning = On& y5 q( U7 C/ J
  1576. ; c6 H' T: t, W5 k/ D
  1577. ; Don't bail out by default.9 f8 x3 C3 G4 V' P6 R* ]
  1578. ; http://php.net/assert.bail
    8 K, ~0 R& P! [6 ?
  1579. ;assert.bail = Off( {0 V2 s) Y/ @. n0 x+ M! p+ p

  1580. ) [! g. k9 o% [
  1581. ; User-function to be called if an assertion fails.
    % b% h0 ~0 p5 [- A6 Y( W8 q. b
  1582. ; http://php.net/assert.callback
    4 _; ^* |" \: b
  1583. ;assert.callback = 0, A7 T6 E4 p2 l% C( m
  1584. 1 `- u2 `# e  x! A3 @2 _& b
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    % U" ~$ B, E# X0 r9 I9 j) R6 ^1 ~
  1586. ; error_reporting(0) around the eval().
    0 {# N" s$ w4 h' N% ~6 A6 ^, I
  1587. ; http://php.net/assert.quiet-eval
    + P& Z6 `: O. a& w# P
  1588. ;assert.quiet_eval = 02 r% J( s* ?7 n, p' g% ]
  1589. 6 a2 U, n1 Y" ?8 K" h
  1590. [COM]4 h" s% u1 `/ q0 N& Q+ S
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    / r4 k4 \- h$ w! d, n! d( i/ I
  1592. ; http://php.net/com.typelib-file& W& Y. X! j8 `6 Y
  1593. ;com.typelib_file =
    # Q. j; _. s2 B3 n

  1594. 0 x# A7 w4 M, Y1 @# H; \2 y" h' s
  1595. ; allow Distributed-COM calls/ k$ _2 c5 j& d
  1596. ; http://php.net/com.allow-dcom, l: D3 f; T8 J. T0 ?
  1597. ;com.allow_dcom = true
    3 w! z6 P0 C5 _* y: D, a2 V
  1598.   i- P; [( s/ ^
  1599. ; autoregister constants of a components typlib on com_load()
    0 \: [% {+ U1 Y2 O
  1600. ; http://php.net/com.autoregister-typelib: n9 ?2 ?; J' P7 y: r
  1601. ;com.autoregister_typelib = true
    * s+ i+ c- c2 p% V  E1 w4 Z
  1602. * o2 `3 T5 P  d5 Z
  1603. ; register constants casesensitive
    7 _6 Q, }2 o# G6 b
  1604. ; http://php.net/com.autoregister-casesensitive
    ; \+ [6 C, H# h( q/ }7 z
  1605. ;com.autoregister_casesensitive = false+ P) F: e1 C- ^* t) O4 K% P
  1606. 9 L7 C  q1 U. ?& Z  w. M9 q" K* [8 X
  1607. ; show warnings on duplicate constant registrations
    ) B+ G5 Y* _# R7 H! h5 C
  1608. ; http://php.net/com.autoregister-verbose
    & m' e9 z* z6 |6 x4 ?
  1609. ;com.autoregister_verbose = true9 F$ ^: _' c- ]! J

  1610. & u# l) B, F2 {  I: T
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 A! z6 S, V$ g1 _4 Z5 P0 L$ b
  1612. ; Default: system ANSI code page- s5 c  N! W/ h1 d' }5 T
  1613. ;com.code_page=  x& r8 o; L$ ]% m4 u4 i
  1614. 1 K! Z8 K3 q. e- b- g/ O
  1615. [mbstring]
    3 \; S3 l/ J- g' D
  1616. ; language for internal character representation.7 U$ f, U2 \7 d2 v2 G+ h( u
  1617. ; This affects mb_send_mail() and mbstring.detect_order.2 b- r6 U$ H% u, p9 r& [
  1618. ; http://php.net/mbstring.language* |# F6 B6 S) g# D
  1619. ;mbstring.language = Japanese# `! }+ @2 F' ~( P
  1620. : M# T  U" i0 B% _
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 p: X2 i9 @9 T) \5 z  ^
  1622. ; internal/script encoding.% b* O  `$ C1 Z9 |, ~+ R5 F
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; k5 F' a) l1 e+ _3 T
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . Y' g7 }/ \* {6 I5 Q1 q5 w7 L
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 N9 _9 [* t' s8 U1 H! [" v
  1626. ;mbstring.internal_encoding =2 D) a% Y1 ?2 E% h5 m' N) U

  1627. ) |6 [! p' F2 v! A+ m/ j
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.$ Z: J6 r! I- O- N1 z$ i& g! p% M1 b
  1629. ; http input encoding.
    / R( f' Q3 D/ u& \$ o
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.1 n- ?3 O' E# c# s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 _; _; b/ l: W5 E9 s& z
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # Z% w- C# l& V* M
  1633. ; http://php.net/mbstring.http-input6 O2 y3 y, X9 y% [
  1634. ;mbstring.http_input =
    * |& C/ r: o  F& C7 e

  1635. - [9 f1 M$ T+ T
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.# u$ D+ w: N* N" y5 g3 `0 j9 R
  1637. ; http output encoding.
    ( _( K; H$ p, q* T! Q
  1638. ; mb_output_handler must be registered as output buffer to function.
    9 v. o% ~& N3 {0 r7 ?( d8 A
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & z% P0 z/ P) k5 _
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output! A' E( y- H8 r; B+ @8 Q
  1641. ; To use an output encoding conversion, mbstring's output handler must be set- P' s5 ?, M; W7 b4 n9 h0 m& W
  1642. ; otherwise output encoding conversion cannot be performed.( E4 k! f/ W3 l  g
  1643. ; http://php.net/mbstring.http-output
      \# L5 e$ u# r
  1644. ;mbstring.http_output =
    ' O: K: r! }; K& m

  1645. % `8 X0 m8 e4 X2 F- H
  1646. ; enable automatic encoding translation according to
    & F3 t2 w/ J& Z* P
  1647. ; mbstring.internal_encoding setting. Input chars are, Y* a) b+ L& I, Q  o
  1648. ; converted to internal encoding by setting this to On.
    3 _1 n- \; t- d
  1649. ; Note: Do _not_ use automatic encoding translation for
    2 b$ Q6 A% {( k/ W. L$ q" C% o3 ?; q
  1650. ;       portable libs/applications.3 K( F- {' }: D9 p1 w' j: Y' |
  1651. ; http://php.net/mbstring.encoding-translation9 V+ ~, r$ W8 c% a; Q, X- S
  1652. ;mbstring.encoding_translation = Off! {7 @0 V3 f. @) P: A3 O
  1653. * g' ~1 d3 i$ `6 W& N: m
  1654. ; automatic encoding detection order., [; D4 W" b% F  M4 \
  1655. ; "auto" detect order is changed according to mbstring.language4 f  O. A% k' c2 L- y! W
  1656. ; http://php.net/mbstring.detect-order8 B# y- J3 k7 F' I; [" }: \
  1657. ;mbstring.detect_order = auto
    , L) }# ]/ T8 `4 @! a

  1658.   h7 b  i% h% B( ^* z4 f
  1659. ; substitute_character used when character cannot be converted3 z! r  d# w2 [$ r' J* O
  1660. ; one from another
    # x- d6 w; E' ?6 g$ K
  1661. ; http://php.net/mbstring.substitute-character  d. O! [5 |- ~, T; d' |% R, I
  1662. ;mbstring.substitute_character = none5 F2 J3 j8 X( e/ `' I0 G

  1663. * s$ k5 I. |7 x/ b- z) H& j
  1664. ; overload(replace) single byte functions by mbstring functions.; }  k3 l0 m# Q- L, H" n6 M9 C
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    . I9 c8 ]$ E& z$ `( `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    , ]1 C- X+ n1 @8 @& U# r
  1667. ; For example, 7 for overload everything.
    2 j/ E( @  }% n' T  u6 s
  1668. ; 0: No overload
    # X! z& J/ B: e) {
  1669. ; 1: Overload mail() function
    9 Y2 K: T( c$ [7 J0 K# Q0 P% C6 x3 H7 p
  1670. ; 2: Overload str*() functions$ `5 }* q- o( K# L
  1671. ; 4: Overload ereg*() functions; f7 @7 L0 f6 H0 K5 @$ ]! ~
  1672. ; http://php.net/mbstring.func-overload$ d  C- }) W$ j! [( l3 H
  1673. ;mbstring.func_overload = 0
    ) m: w+ k9 ], h& g, x7 Z: N

  1674. ' |$ c, D( Q  X2 i% x
  1675. ; enable strict encoding detection.
    4 V$ t9 w5 v0 q, E
  1676. ; Default: Off1 a% v% ~% f/ Z" S0 n
  1677. ;mbstring.strict_detection = On8 L/ @5 A4 p! {2 M

  1678. , g( f& b; A! a: Y. V* \( k& t- c- W
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 n2 X% {/ x+ K; R6 F
  1680. ; is activated.
    . c/ A' Z$ J$ S! m
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)- Z, Y1 K8 J& ?  \  z( \
  1682. ;mbstring.http_output_conv_mimetype=( y+ H  F& @3 q0 R7 }

  1683. 5 ~0 C' M' P) ~2 |2 S# X
  1684. [gd]$ m  ^: d, C; w6 C/ S
  1685. ; Tell the jpeg decode to ignore warnings and try to create4 i8 z! ^/ o3 K% m
  1686. ; a gd image. The warning will then be displayed as notices: G, S  k9 L- `. v  q- Z
  1687. ; disabled by default
    , e% ~3 n& ~5 ~' ], d
  1688. ; http://php.net/gd.jpeg-ignore-warning3 s5 p  @  X( {6 q+ R3 X0 l
  1689. ;gd.jpeg_ignore_warning = 0
    ) @7 w3 X2 S' z% Z; |! e; V

  1690. 6 t3 T, n* k% \0 _7 e  G- C
  1691. [exif]
    ' {  `( z, R4 C* J4 K9 E- E
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.3 Z0 p3 k2 L% f8 s9 J; j& k$ N
  1693. ; With mbstring support this will automatically be converted into the encoding% r( U+ h) N8 a7 Z  h
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding$ z  Y$ ~/ R+ K" N
  1695. ; is used. For the decode settings you can distinguish between motorola and
    8 ^9 m1 P7 J/ H8 v1 j" w; y% {1 @
  1696. ; intel byte order. A decode setting cannot be empty.! z" c4 J7 G5 @/ u4 B7 H% u2 V' G! O, S
  1697. ; http://php.net/exif.encode-unicode
    & e3 r# ?; z+ Y. ?. Y) H/ _7 C
  1698. ;exif.encode_unicode = ISO-8859-15, E+ i" e+ U2 A) L' e

  1699. 7 ^! M% `: k; V3 t  b+ G$ [
  1700. ; http://php.net/exif.decode-unicode-motorola
    , t. D2 x& U( I  S5 l+ W/ I
  1701. ;exif.decode_unicode_motorola = UCS-2BE& u$ T5 s) j9 v( X* s8 x, s! i/ O- {( [
  1702. 9 M7 g9 D- S$ v5 q& I" T* M; |
  1703. ; http://php.net/exif.decode-unicode-intel
    , V/ K& g* Z7 ^8 {% h3 U  s+ |
  1704. ;exif.decode_unicode_intel    = UCS-2LE. C* d7 U2 o+ A' m( C+ {& j7 d
  1705. 8 r; x& D+ x3 g( ?- \9 a. V
  1706. ; http://php.net/exif.encode-jis
      b6 q1 a+ a3 t, M. Z( q9 j9 J
  1707. ;exif.encode_jis =& @  N: O/ E7 @# e$ m3 |

  1708. , \' j9 K7 ~: L: e) s
  1709. ; http://php.net/exif.decode-jis-motorola
    ' X4 K$ Y& Z( j4 I
  1710. ;exif.decode_jis_motorola = JIS
    ( V1 @( Z3 Y0 G
  1711.   D4 v4 I4 n/ y! }, X* e
  1712. ; http://php.net/exif.decode-jis-intel
    ! n/ K/ t' r+ |# a1 q
  1713. ;exif.decode_jis_intel    = JIS
    / g& a& k9 @+ b; \4 o, j

  1714. + Y# [/ D" ]2 n; J
  1715. [Tidy]
    ; v1 d$ X) {3 p& ^
  1716. ; The path to a default tidy configuration file to use when using tidy
    % z6 `: ^4 K' @1 U) k
  1717. ; http://php.net/tidy.default-config
    6 h! k" Z- y5 I6 y, F
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' @6 K5 T  H) q& a9 h
  1719.   u  a& }. e1 \- n
  1720. ; Should tidy clean and repair output automatically?
    " z" Z+ y  v/ j  n
  1721. ; WARNING: Do not use this option if you are generating non-html content
    + c2 m5 t8 p" x9 r' L  ~
  1722. ; such as dynamic images5 W" @* |9 W( \3 m8 z+ d
  1723. ; http://php.net/tidy.clean-output
    ! }3 C0 L- z4 C* N
  1724. tidy.clean_output = Off
    7 b2 N# `. W% I. T: n' n, w
  1725. / n9 C$ o0 ~9 V1 i
  1726. [soap]  S4 S, J9 T; d, B6 N
  1727. ; Enables or disables WSDL caching feature.8 G& [9 P- R0 A; g% r
  1728. ; http://php.net/soap.wsdl-cache-enabled
    $ W7 j8 z7 P0 v7 \: Y6 @% Y) {
  1729. soap.wsdl_cache_enabled=1
    ) U: `/ u. Z! F3 r2 ?, f# s4 E

  1730. 8 [2 U( H: [; F
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ; z6 S, p& O0 ?6 a5 x3 \
  1732. ; http://php.net/soap.wsdl-cache-dir2 c4 C* w; J& o' D5 {+ v) [7 F
  1733. soap.wsdl_cache_dir="/tmp"
    2 C  C. V8 W" L% g, H! s

  1734. 4 u( {  J( r, f1 Y% O$ C7 W, Y/ Z" c
  1735. ; (time to live) Sets the number of second while cached file will be used
    9 ~) K0 C$ a' V
  1736. ; instead of original one.  E: [5 \& p# f
  1737. ; http://php.net/soap.wsdl-cache-ttl
    4 C2 y9 W" u9 V8 \5 I/ n2 g/ U/ o
  1738. soap.wsdl_cache_ttl=864004 D( G2 E# v* a3 E1 ?% ~& s

  1739. . s6 ?2 ?! ^1 d. E, |
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) k2 ^0 Y4 [9 Z. s) m
  1741. soap.wsdl_cache_limit = 5
    / Y( `3 [2 ^) N: M
  1742. # ^# X0 ]6 Q3 N) L' e: n  N
  1743. [sysvshm]
    : y, j. B3 x- _% D& Z' J  R4 \
  1744. ; A default size of the shared memory segment; u, ?2 d; h$ \
  1745. ;sysvshm.init_mem = 100007 u; l" D0 f( ]! {6 s) e; ?! n; w

  1746. : \" O+ ^( z9 ?" _+ W/ A
  1747. [ldap]3 N" Y4 g, B. [6 X1 u
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    - d. ^1 b; c) {$ v: A, E) I  z
  1749. ldap.max_links = -1, }9 U  ~# E) V( }1 Y. \- m* y
  1750. 1 ]. |2 b! O, ~2 j/ m% [: E
  1751. [mcrypt]. t: f  G; Y' D1 T8 Y' ]3 W* e
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open6 g& |" c1 z+ |1 g8 N
  1753. . |3 C& i7 W  B: M' h. ^! [/ H  b8 E
  1754. ; Directory where to load mcrypt algorithms
    0 X% a5 v+ k( p9 M/ d
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& e3 e0 B! K" y* P
  1756. ;mcrypt.algorithms_dir=
    - f: ]) |& s# C7 Z% H$ L

  1757.   ^: y( D% J3 @
  1758. ; Directory where to load mcrypt modes- [0 f5 _; j8 {- R4 y4 t- O
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): M9 U9 _, r& O' N
  1760. ;mcrypt.modes_dir=
    : V* U5 ]) p: u5 j& _

  1761. ! c$ \0 b4 Z5 G& ?5 U% L, a
  1762. [dba]6 N3 I9 Y7 Z! _3 e! w% H
  1763. ;dba.default_handler=4 q, j# Z7 L7 P; G2 r

  1764. . x0 N2 X7 H- a9 z* J5 n4 w
  1765. [opcache]  I* [8 ~3 g' `; i, p
  1766. ; Determines if Zend OPCache is enabled- `% P  y# i) t' M+ x
  1767. ;opcache.enable=0
    3 f8 n& t' B& ^( v0 L; i
  1768. 6 `7 g5 u9 Q, Q" S
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    , i# m: H& P9 T/ i2 K
  1770. ;opcache.enable_cli=09 l2 T; `9 O0 c

  1771. 1 u4 V5 e! y  |1 F7 M1 D( l- {
  1772. ; The OPcache shared memory storage size.
    , A; ?9 Q3 U5 d% p; @$ I) i( s
  1773. ;opcache.memory_consumption=64& ~4 [( J" f( \, Q" @; K: f
  1774. " q% Y+ k' E# s+ h5 C0 e7 V
  1775. ; The amount of memory for interned strings in Mbytes.) ^& T7 j. E' [3 V& B% P
  1776. ;opcache.interned_strings_buffer=45 k( F* }# M! [7 I: K7 ^9 Z2 J) {

  1777. ! N+ V4 q; F2 {, K, B4 t4 ]. b
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : P5 H2 j1 a& C5 Q/ C
  1779. ; Only numbers between 200 and 1000000 are allowed.1 h* h. H. ]* y" d: R  ?4 `
  1780. ;opcache.max_accelerated_files=2000
    3 a. L* ^/ Q! v4 H/ F

  1781.   q0 m& `  p9 j: x
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.# _9 d; o* b6 z/ U& f
  1783. ;opcache.max_wasted_percentage=51 D$ I) c6 {5 C' w4 x) M! w  b
  1784. " i: q& m1 D  H1 B) _- i
  1785. ; When this directive is enabled, the OPcache appends the current working
    ' Q7 q) h8 ?2 m4 N! `9 n
  1786. ; directory to the script key, thus eliminating possible collisions between
    1 ]2 j2 r- S* C7 J( w
  1787. ; files with the same name (basename). Disabling the directive improves9 h3 {2 D# l: o: _
  1788. ; performance, but may break existing applications.: L  S; z# l4 P8 V/ n
  1789. ;opcache.use_cwd=1
    * T: Q3 g$ G0 V  U* ~

  1790. ! D* f# a2 b# Z, a9 H
  1791. ; When disabled, you must reset the OPcache manually or restart the  v, V7 J% a; D5 b% ~+ M
  1792. ; webserver for changes to the filesystem to take effect.1 S4 T* V4 X9 {, O% h
  1793. ;opcache.validate_timestamps=1* h8 s' l9 Z3 ]8 ]1 r3 h/ {4 X

  1794. & k4 {- N4 ^( f* B. ^$ v0 f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) Y. p3 `# `, D! e) u$ Z/ ]
  1796. ; memory storage allocation. ("1" means validate once per second, but only8 l6 x, {5 T- o5 B2 H% \, N( N
  1797. ; once per request. "0" means always validate)
    1 f! n0 G+ w; I% M) a" t$ C
  1798. ;opcache.revalidate_freq=2
    1 h6 }7 v' @! p; \1 p2 ~

  1799. 9 N$ {) `& P# n! G  I' r. r$ b
  1800. ; Enables or disables file search in include_path optimization
    % P2 o$ k8 m* A
  1801. ;opcache.revalidate_path=0* O4 X5 b4 z4 S$ d' f3 d5 j; B
  1802. 8 S, h7 Q( W6 F) o: |) }+ \3 U; S. e
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* o  I7 j( f! c: `/ s. j& x/ i
  1804. ; size of the optimized code.' [: f1 D" A% }
  1805. ;opcache.save_comments=1# P. v4 i- f5 L/ f6 n

  1806. # l5 A# s# T# b9 G
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code% o. I3 O; F8 e: q
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.; x  R& Z9 g9 T! T% d9 S: c# ~
  1809. ;opcache.fast_shutdown=0
    7 m& f. b) r5 |- n- |% l

  1810. + W* G. V( n/ s0 P. E0 Q$ ^
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    $ `! V) F1 S0 B. c, U. k% E; s/ z
  1812. ;opcache.enable_file_override=09 g: H  Y# k$ L

  1813. + v0 g4 P  v  g
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    + R0 l& \& |, |( J7 C1 h1 D
  1815. ; passes
    0 J$ e0 C5 A( P
  1816. ;opcache.optimization_level=0xffffffff4 z) X2 C( v- u% ?0 D) P  B
  1817. . j. r: P. M; Z4 M$ o
  1818. ;opcache.inherited_hack=1
    6 @9 O9 K, M/ ^1 E
  1819. ;opcache.dups_fix=09 _# i+ h4 F' j) p0 K( x2 W. j

  1820. 6 D' N' P  p; S+ k4 ~/ m. U3 ^9 |3 ^
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 s+ i5 G7 ?" g+ |2 a8 \9 C3 _; |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files: q) e7 N2 D8 Q& T9 w
  1823. ; that should not be accelerated. The file format is to add each filename
    , @! |2 Z( x0 Z. h
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 |+ Z0 M( Q- j+ n3 ~2 _$ }5 Q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' \2 \5 G& b; {8 A0 f$ k/ c, {+ f! K- O
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments)./ H4 ~! {* [( E! w2 t  h: O
  1827. ;opcache.blacklist_filename=; c  ^. B6 {2 e5 w# ~% T

  1828. % R( b5 r7 I. ]% F
  1829. ; Allows exclusion of large files from being cached. By default all files- A! U4 O* Z# V
  1830. ; are cached.8 s8 y0 x) j+ F' Q( I* E" f
  1831. ;opcache.max_file_size=0
    6 F3 X$ A, \% L
  1832. 8 j6 ^5 ^5 k( }3 N1 p% y! ?  W+ [
  1833. ; Check the cache checksum each N requests.
    * W) z# k7 n1 N: t' ~/ h
  1834. ; The default value of "0" means that the checks are disabled.
    0 x2 v# M: `9 s/ N& }
  1835. ;opcache.consistency_checks=0) {7 w- \* d4 X% b. o0 Q
  1836. 3 l+ q- {8 p* K, a  U
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; @# d) s/ Y/ R
  1838. ; is not being accessed.
    + Q2 i6 @. F, z, X! o' a) z+ |5 o
  1839. ;opcache.force_restart_timeout=180
    % a" b- o( V8 G" j

  1840. 1 O/ q4 {) s) i% M% S* N
  1841. ; OPcache error_log file name. Empty string assumes "stderr".. j  h7 S( O+ q  C& I! D( s
  1842. ;opcache.error_log=  Y; |+ d' I; M/ x8 E) E% K
  1843. / @7 w, W2 n" ?# |  v; R
  1844. ; All OPcache errors go to the Web server log.7 S( `9 i9 L% |; ]4 Y' x
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 D6 y* e& w* b0 c% J
  1846. ; You can also enable warnings (level 2), info messages (level 3) or4 w' u! Q8 K2 A( \) o2 \
  1847. ; debug messages (level 4)." X/ B# O. K' K0 k3 Y& _
  1848. ;opcache.log_verbosity_level=1
    5 m/ {$ f2 v7 a$ f4 L4 y

  1849. 9 Q& U& Y* k& F3 q4 z  ^, v0 H- b
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.  A4 b* S' `& Y  y
  1851. ;opcache.preferred_memory_model=+ y7 w5 j6 R" e% X: M& \9 h

  1852. 4 H2 c+ Y" X. I, Q* Z$ C# w- o
  1853. ; Protect the shared memory from unexpected writing during script execution.9 Q7 n& ?( J8 h) o
  1854. ; Useful for internal debugging only.# V( T8 k3 I, }. \4 T- E6 j2 I
  1855. ;opcache.protect_memory=0* a3 o9 }3 e! G! b! A% l
  1856. " ~$ o$ m* e8 s3 F# b
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is9 B2 ?) h/ y' a7 o, Q% S
  1858. ; started from specified string. The default "" means no restriction
    ! ?: A  U6 }! d/ N: B
  1859. ;opcache.restrict_api=0 T: [/ `2 i# G7 u3 Y% n

  1860. 3 l/ h" q( G, ^9 R' }& F& n6 Z. h
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    - q, }5 ^  {' m8 ^: L
  1862. ; processes have to map shared memory into the same address space. This6 @2 H0 ~- a7 d& X+ Z
  1863. ; directive allows to manually fix the "Unable to reattach to base address"7 T0 Y+ U% o0 d
  1864. ; errors.
    " O  K/ e% A6 y# l- @1 G
  1865. ;opcache.mmap_base=
    + |, @% G, ^. I( m$ w& ^' V1 e

  1866. 9 {  h7 q5 y, Y$ K, ]9 F, m: R+ f
  1867. ; Enables and sets the second level cache directory.' Q. o, ]$ R% |* ?
  1868. ; It should improve performance when SHM memory is full, at server restart or
    : @: A) Q4 c& S1 I) h' O3 U
  1869. ; SHM reset. The default "" disables file based caching.* A2 z% d0 u) [( v0 z( Z8 ^
  1870. ;opcache.file_cache=
    & l$ S3 K- O6 _- X+ F7 d# u" M( \

  1871. # H5 p1 Q6 J8 C# f; [
  1872. ; Enables or disables opcode caching in shared memory.
    * `0 u1 i  k4 |
  1873. ;opcache.file_cache_only=0
    5 a9 B" S# H! e) r! I6 L

  1874.   v% @: x$ n6 K$ W" ^* v9 I8 n
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - {! a) {% q+ l0 i
  1876. ;opcache.file_cache_consistency_checks=1) Y* Z4 p9 q6 C9 T
  1877. 7 |# \5 s2 U2 @6 t5 e0 N; ?. ^
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to+ s4 k; r& `7 D4 I. k1 `
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    3 a8 z0 ?' D4 Z; O8 K1 L4 v/ `
  1880. ; cache is required.
    9 z! n, }2 U/ q
  1881. ;opcache.file_cache_fallback=1+ a/ w& v/ d. f/ p

  1882. ( M8 C% t# o! t2 J; |4 Y& V- `8 e. }7 F
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.1 s6 k* z; B3 |, b3 L$ `$ [- k
  1884. ; This should improve performance, but requires appropriate OS configuration.. S- O, z2 ]+ v. n4 y- q4 c
  1885. ;opcache.huge_code_pages=1/ K& o  _8 i  N
  1886.   E, k7 ~  x6 f
  1887. ; Validate cached file permissions.5 S# x" I4 J. c! s# V
  1888. ; opcache.validate_permission=0& C9 O$ ]: r% T6 T

  1889.   X: b, V7 ~# \, D9 @
  1890. ; Prevent name collisions in chroot'ed environment.
    : L( ?; Z) \5 J6 n1 Y& r
  1891. ; opcache.validate_root=0- K6 A3 u$ D( j5 J* A
  1892. . ~8 ^5 n& h6 n7 @
  1893. [curl]
    5 I" T* ^7 q$ l- i
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) x5 i/ @. [0 j- c" |# j5 U6 J/ f
  1895. ; absolute path.9 l6 w. Z9 g% l& J$ W% x8 V& P
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt% F1 O& ~: ?2 q+ H2 {

  1897. $ b. U. _3 o' ~
  1898. [openssl]8 Y! i$ x* n/ O; ]# I4 p: N% q/ Y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    + w8 S- L& Y  n: p8 h( J) x
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should. w. i% F0 B. Q# \" f0 C* ]
  1901. ; not specify a value for this directive as PHP will attempt to use the, p7 o* E- |! D1 b7 w7 Q
  1902. ; OS-managed cert stores in its absence. If specified, this value may still8 G$ ]  i+ I4 h7 I
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context) y$ o" l% y$ D* g# m8 Z' r
  1904. ; option.
    % Z+ a2 ?' ]" I  }- Y# q
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : Q7 m& f9 Z3 e! j1 P2 l5 g

  1906. 0 Q9 |! ^! I7 n" o' u4 u+ a  Z4 ]
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the& M. f7 K- J- L4 i/ G7 M3 k* _7 A
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    : z+ L! e' m4 }6 j+ m. k# G
  1909. ; certificate. This value must be a correctly hashed certificate directory.( v3 |1 B( r. D. V2 d# o& a
  1910. ; Most users should not specify a value for this directive as PHP will" e5 E6 \3 m! E% W8 C
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ L) _( a% G" |5 A5 _( X  I5 W
  1912. ; this value may still be overridden on a per-stream basis via the "capath"7 p) P8 m3 M- J3 V+ w
  1913. ; SSL stream context option.6 A" T! }. N# I; \
  1914. ;openssl.capath=
    # o7 T$ ?0 }& y
  1915. 5 @" `& L, s# f  J: I' s4 b+ _  s' e
  1916. ; Local Variables:
    # S& u8 g" Q( M: C7 c/ B, N; A$ F
  1917. ; tab-width: 46 D, ^8 r3 }3 h! \: c' s" E
  1918. ; End:7 g+ f0 x' R5 J2 _5 ^+ J

  1919. : F1 \4 B# G; a$ W, f3 ?, W
  1920. ;eaccelerator- I2 \, J1 y0 @. A9 m

  1921. 2 l* r: h# U) [, P; z+ {
  1922. ;ionCube+ L# f8 V+ }% d8 x. E" ]! J( [
  1923. 1 c* Q3 s' N' U2 z
  1924. ;opcache
    2 l  `$ {6 n5 K" h3 c' j) A* a# R, c

  1925. & ^1 b$ X& }& P
  1926. [Zend ZendGuard Loader]
    8 a' p2 t! _5 j, M
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % M5 y0 Q* S4 r: A5 X
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    - _7 J! L! N* p2 {( C. P
  1929. ;zend_loader.enable=17 M7 |' `* c- c
  1930. ;zend_loader.disable_licensing=0
    - s$ a$ L' N: [  @4 [- W
  1931. ;zend_loader.obfuscation_level_support=3
    " F, Z5 J& m" H7 y* ~; y
  1932. ;zend_loader.license_path=7 H& ?1 \  ?3 H2 j( }# ?

  1933. , C8 N0 ^) w+ e! V/ f- \7 W* r
  1934. ;xcache
    : f8 j0 z% y. e$ Y( |9 l, o) O) S" Q

  1935. 4 p1 K7 p) r2 B8 Q7 {3 B8 ^
复制代码

- C$ ~- `/ f5 u( z3 T! ?& b, K4 v8 R

/ ^+ m( @6 W0 y: ?+ t1 d% X5 ]5 J1 w. r( P3 t* ^9 _
: A" e0 \& @8 h
. s6 ^; Z) j, Z% l) `1 `

+ ^' O! K* c5 }PHP5.6版本原始设置+ h: n, J3 K8 t6 B& ?% S# @3 ]
, k5 f3 G! T, C! N) q
  1. [PHP]
    ( B5 I0 C# }' K/ c

  2. - S- _  p! z- j5 u7 l- H; z
  3. ;;;;;;;;;;;;;;;;;;;9 y/ g+ m, d/ U( i. X9 y% O; F
  4. ; About php.ini   ;2 P2 {$ C/ a5 t
  5. ;;;;;;;;;;;;;;;;;;;6 F. p" S9 P+ ^5 F$ o
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    2 O% c0 Y; T$ u" w
  7. ; configuring many of the aspects of PHP's behavior.- s+ h9 _/ _% y$ }4 c* m$ V4 N

  8. ; c& f" P, [  S" T) x  O; s8 V' [! Q
  9. ; PHP attempts to find and load this configuration from a number of locations.( `$ O9 M& `9 Z- t9 r
  10. ; The following is a summary of its search order:
    8 z7 t/ {6 Z+ _4 B$ \4 |% B5 H9 Q6 K
  11. ; 1. SAPI module specific location./ R* {4 `- b3 \# y$ e; M% Z5 J
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0). ^1 x+ a+ Z0 O
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # B% v% A$ p2 u! G; C; H
  14. ; 4. Current working directory (except CLI)
    8 F# c: ?$ n0 @# u4 T2 X- ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 J. f' i: R/ O3 e3 P  N
  16. ; (otherwise in Windows)
    & t# Z1 A  h+ \9 \
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : }! k+ H8 Y! b
  18. ; Windows directory (C:\windows or C:\winnt)
    % @8 l% B8 k# F6 @6 F6 f! F# ]
  19. ; See the PHP docs for more specific information.3 f5 e0 ~5 @( V: j9 F7 S
  20. ; http://php.net/configuration.file8 n/ O& \0 y: X
  21. . a2 ^; |: d8 p- n) V0 C$ z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; d. j2 `. A/ U; a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & h( s! f' ^3 o
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though3 R7 B2 C8 ~3 S: D& |1 r5 u
  25. ; they might mean something in the future.
    ( Q- ^2 j5 f6 F/ {  Q" l: p
  26. 1 H) O7 [2 _, i( E7 Z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    5 n  ^5 d" ~# ]( x9 ^* }# Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    2 `3 c" j8 h" h# I
  29. ; following the section heading [HOST=www.example.com] only apply to1 n4 p: L9 I; v% b. |; K+ j1 l
  30. ; PHP files served from www.example.com.  Directives set in these
    4 E2 s8 Y: W9 f, K' |# J
  31. ; special sections cannot be overridden by user-defined INI files or, D6 q+ D  p  j' v) J
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# d( U4 P. O+ A& D
  33. ; CGI/FastCGI.) S6 Q9 \3 j  w9 P
  34. ; http://php.net/ini.sections) J% F# i" @6 R& |4 p4 l

  35. 0 ]) b. o- a% s
  36. ; Directives are specified using the following syntax:
    : H% R! q& {3 h# g' `" e# `  r
  37. ; directive = value
    8 f; ]) i  B( J3 _- @! d; Q8 O+ a
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    . @2 F, O( c+ Y$ _: y# Z. x
  39. ; Directives are variables used to configure PHP or PHP extensions.
    8 F4 [0 X3 }! U4 M- j9 `
  40. ; There is no name validation.  If PHP can't find an expected
    9 A! K' `' r- _9 x
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 i9 P6 g7 E& A) X" q0 Y
  42. $ a3 P5 D& s6 N& h+ J% N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + R6 S" i0 \. w' O: H5 H( s2 M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression% S+ ]- N! U6 l5 O* {$ O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a( ?3 E! B- v7 D8 ~! v. y2 x
  46. ; previously set variable or directive (e.g. ${foo})
    4 I- b" ?' j1 Z* x' z- p7 L

  47. $ x  i* i" d9 y* o6 Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:, ]+ v/ @% T) V; `& e+ j
  49. ; |  bitwise OR) I. I; U0 p: {0 `2 h, p
  50. ; ^  bitwise XOR
    * @2 y! C: R+ o, O; }
  51. ; &  bitwise AND
    ; i6 v  T+ ]: Y+ D0 l) e
  52. ; ~  bitwise NOT0 p, s3 K& z1 J  `9 k  T
  53. ; !  boolean NOT5 }% Q( @- h8 B; M. K* C( v
  54. , @, P( T) R! t: |6 C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes." \9 A& K+ ]6 w! c
  56. ; They can be turned off using the values 0, Off, False or No.) |4 [1 L4 r6 n- k" k
  57. ) a* D# P( u* x& `* ^5 _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ( @+ R& E6 ]0 h9 X3 n( V  j
  59. ; sign, or by using the None keyword:' L' J1 X& Y6 Z( S

  60. # @. D# e) ~  d: S
  61. ;  foo =         ; sets foo to an empty string, V" Q: S3 P) i8 g
  62. ;  foo = None    ; sets foo to an empty string
    $ g% J' S1 c& ~( r5 W
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % {/ G& R, [1 ^- e+ q  a! Q- V& a
  64. 9 L* V/ v( `* r# _4 q& n4 _
  65. ; If you use constants in your value, and these constants belong to a
    ! X0 z5 I8 c7 U1 P" A' I# M
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    1 Y% E, h$ |$ y) V% p7 Y
  67. ; you may only use these constants *after* the line that loads the extension.
    - C6 ^2 D4 j7 R# {/ @  E+ [& f# Y
  68. 0 Y* K8 o" R! x: t! X
  69. ;;;;;;;;;;;;;;;;;;;" v6 q4 t+ u% @) b
  70. ; About this file ;# X" q, G. x9 M% I9 G& v! X* `
  71. ;;;;;;;;;;;;;;;;;;;7 T" z2 S  N! C$ @
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; K/ |( d5 ~* n: f7 R: k
  73. ; in production environments and one that is recommended to be used in- X' R9 \3 R- c. v, M- S
  74. ; development environments.4 x+ a' n4 T9 B  O2 k! f

  75. ) ~, A5 M. y! ]/ }$ ~) ~& A, c
  76. ; php.ini-production contains settings which hold security, performance and
    , c+ t/ c: A' G8 C! @' |1 a) {
  77. ; best practices at its core. But please be aware, these settings may break0 M9 z2 I8 m+ I/ I- D: g
  78. ; compatibility with older or less security conscience applications. We
    6 o1 R' N* J9 {1 J+ ~$ s
  79. ; recommending using the production ini in production and testing environments.2 f6 s% F) @% l2 m; C

  80. 6 q: _( t/ c0 S4 m! k3 p9 C) N5 I( J0 A
  81. ; php.ini-development is very similar to its production variant, except it is
    0 n5 k& b3 M. @: [4 r
  82. ; much more verbose when it comes to errors. We recommend using the
    : ~0 D( K  B7 R: T& l, h
  83. ; development version only in development environments, as errors shown to; B, b9 z) c+ J
  84. ; application users can inadvertently leak otherwise secure information.
    ) V" Q& R) ~4 W* m5 P2 x# `" O9 W) ~
  85. / ^( ~; s9 e& Y( e" i: u9 d
  86. ; This is php.ini-production INI file.% L) B+ o( r3 Q' L5 b

  87. ; [+ g- B6 j/ w( \" _6 I
  88. ;;;;;;;;;;;;;;;;;;;
    ; `. d; h/ {: E7 P
  89. ; Quick Reference ;; g3 n# S2 K1 X0 H/ m8 i% Q
  90. ;;;;;;;;;;;;;;;;;;;6 ~& V1 w* _1 _0 O- _
  91. ; The following are all the settings which are different in either the production. A# g6 P4 h, _
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / w3 q- H/ \) ~8 F9 B+ o
  93. ; Please see the actual settings later in the document for more details as to why- q7 _' @# k( ?  f3 w  y& ^
  94. ; we recommend these changes in PHP's behavior.
      Y( u* w. N" ?1 m

  95. & e: k; C4 x) ?) w0 c$ f1 U
  96. ; display_errors
      f1 ]9 N- s2 g( E1 W5 D
  97. ;   Default Value: On
    9 o5 A, e8 I3 o, r) z+ C- W) ^
  98. ;   Development Value: On
    8 J9 C. y4 G! C+ m9 `0 Z8 Z  }
  99. ;   Production Value: Off
    5 W5 D2 `2 E* {. S+ T; M( D& I
  100. 4 k/ m( I' ^; ?- ~' G% f2 o$ c
  101. ; display_startup_errors
    - F; p" u' f6 D& Y1 t. V4 |
  102. ;   Default Value: Off( A9 I7 M, Q# o" K) H
  103. ;   Development Value: On
    , z# g/ P- o/ e2 Y# j% }
  104. ;   Production Value: Off
    1 s" J+ w: R( [" y* [9 \
  105. ' r- A6 S# p. K+ R' j$ L9 i
  106. ; error_reporting
    1 l" P- N  \6 X: s" w5 w/ I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    4 T* q* K3 L; q3 x0 A5 y
  108. ;   Development Value: E_ALL1 S/ K' v( s9 v/ t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* _; R6 x4 E; J/ k

  110. - o8 S8 o6 z" z4 _! d" i' n
  111. ; html_errors: D; }; v1 f& M, S# S( ^. y
  112. ;   Default Value: On
    * D) ~* Y! G, w: K' U9 V
  113. ;   Development Value: On
    , z/ T/ G. ~0 s- V& i/ ^1 L
  114. ;   Production value: On7 _1 }" i$ }$ @7 m" [8 w, k
  115. 2 U% R# z( W, u. ~( I
  116. ; log_errors
    6 {8 n! q$ b! ?& l
  117. ;   Default Value: Off% o4 F5 W) ]0 _$ m
  118. ;   Development Value: On( Q8 M* k$ m3 _  v  p. u
  119. ;   Production Value: On
    - F, Y, y* X" I( J7 X# ]

  120. 5 T' P- A3 s2 S2 a1 _
  121. ; max_input_time. ?1 e8 l7 e# C2 c. B1 {
  122. ;   Default Value: -1 (Unlimited)
    & j  m+ x2 s% g5 d$ N* j/ g
  123. ;   Development Value: 60 (60 seconds)3 a+ S1 x: B! s8 I2 }
  124. ;   Production Value: 60 (60 seconds)8 S' ~( P" i' d3 B: J9 j
  125. % p2 i" |9 \2 N5 T( y
  126. ; output_buffering
    " F4 O$ i6 k4 H, }) t7 l& A
  127. ;   Default Value: Off' y! X) O: w' A# L% o9 I. g2 f
  128. ;   Development Value: 4096
    ; K2 V% Q. T/ ~1 @( Z% F# U* U
  129. ;   Production Value: 4096
    ( z8 s- k" U0 q7 Z1 i- v
  130. 1 E0 h# o% K" d' a
  131. ; register_argc_argv
    . M/ y, k* f0 ~' s& `
  132. ;   Default Value: On
    2 {# V6 _; o! d, L
  133. ;   Development Value: Off# s) `7 s' @0 E. p$ p6 w
  134. ;   Production Value: Off6 [$ Z: C- e5 F0 }9 X1 d, c
  135. 3 B) {0 @% j) i0 Q
  136. ; request_order" O8 V1 A$ N0 @* |# M% U
  137. ;   Default Value: None6 t- ^- J. d7 @/ `7 o
  138. ;   Development Value: "GP"7 o) N3 S+ t; J; A" I& N: |/ n9 v( B
  139. ;   Production Value: "GP"7 v# Y% Y& f' D3 {! M3 ^
  140. ( C, E% o0 S7 f: U( ?
  141. ; session.gc_divisor
    ) [5 W; h9 Z1 S0 h3 X4 Q# T/ B* H
  142. ;   Default Value: 100
    ( l. K5 v$ g* m" p
  143. ;   Development Value: 1000. u/ q5 b4 X  O' V
  144. ;   Production Value: 1000
    0 n5 m/ b, h0 g) n, c  @1 `7 W" |
  145. 0 }. d1 ?2 d) ]6 [" Q6 O5 `+ e( L
  146. ; session.hash_bits_per_character7 C. K. g  N% K( [9 d* @
  147. ;   Default Value: 4$ I* x+ I7 g4 [9 r
  148. ;   Development Value: 5
    / o/ |2 k& u) V0 P  d
  149. ;   Production Value: 5
    + [# r' E6 G4 L$ T* f3 P

  150. 4 I, N1 o/ K9 l3 H
  151. ; short_open_tag' y" I6 W: T' f4 J( d! D# @
  152. ;   Default Value: On
    9 P3 i2 [5 |4 E
  153. ;   Development Value: Off* u5 N; X) k9 w4 [& q4 {0 g
  154. ;   Production Value: Off/ G2 I, P* L, K' O) u

  155. ) {1 S  h9 K% i& e
  156. ; track_errors
    ) K, l; ?# N3 v$ u3 G
  157. ;   Default Value: Off; R# b( p, p% Y- P, V
  158. ;   Development Value: On0 j& ]0 C, l2 _% x$ t8 N( |
  159. ;   Production Value: Off
    + j, K4 C( ]) L" u/ m2 C
  160. ) w  d# i2 X$ p. n) v
  161. ; url_rewriter.tags% G  k! s4 j- s. a
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 L% n' O  D, ^. _, X
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": M7 j& h9 C; _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 N& P$ s5 j, O# U5 I6 ^& l5 n

  165. 2 X2 |& |# G# O# U" a! G8 m; S
  166. ; variables_order
    * ^4 h+ R8 l6 D- s& s8 d* T
  167. ;   Default Value: "EGPCS"' ?& i8 [% |7 @  Y2 b# d; e
  168. ;   Development Value: "GPCS"
    # b  w/ Z1 e2 I
  169. ;   Production Value: "GPCS"
    & {. _9 |' `9 j8 @

  170. : R( O' Y. }0 R* V$ x: u4 w
  171. ;;;;;;;;;;;;;;;;;;;;
      k* y9 P4 D4 v1 K" ?
  172. ; php.ini Options  ;, k- \  ?0 Q7 Q' L: L4 G6 P# Y
  173. ;;;;;;;;;;;;;;;;;;;;
    , a7 H3 Q1 M/ }# a6 V& n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"  |1 f4 }. B# o5 X9 _
  175. ;user_ini.filename = ".user.ini"
    1 m. N" {6 s4 W6 u% Q

  176. 9 F, G& J2 R/ z+ k' x* a4 g
  177. ; To disable this feature set this option to empty value
    " O) l: J% S5 X# {
  178. ;user_ini.filename =, \; y  n. Q5 ]+ x$ S

  179. 4 i$ i4 P/ \" J, h/ j' w: w
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 ]4 t! W. d8 ]3 s
  181. ;user_ini.cache_ttl = 300
    + m$ p$ ]# b# r" x/ A: L

  182. 0 E- e: m9 o1 C$ T0 B0 {- p
  183. ;;;;;;;;;;;;;;;;;;;;
    $ F! ]# p' I( x2 e' n
  184. ; Language Options ;
    * k' A. o- w6 g2 C3 i0 [
  185. ;;;;;;;;;;;;;;;;;;;;
    + b8 r- @' \4 ~- }- k; B% h7 o

  186. 1 k4 x3 l3 R9 p# o
  187. ; Enable the PHP scripting language engine under Apache.9 [2 ~' U6 z& P! s" ?7 U2 g6 J2 J
  188. ; http://php.net/engine2 C5 h$ l( Y1 ^5 |8 z
  189. engine = On! V6 @4 S- d1 u- \8 U) a

  190. 3 L/ W' d+ G% k' ^
  191. ; This directive determines whether or not PHP will recognize code between+ H' n' m: D: ]# X7 ~. Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ Y8 @. B; M% H' H4 u
  193. ; generally recommended that <?php and ?> should be used and that this feature. _( b5 W0 i- K' P$ j* c/ j& U4 D
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ; r6 E8 Z9 G! E7 {/ p' |
  195. ; documents, however this remains supported for backward compatibility reasons.& D; Z2 Y8 S4 c: P/ f3 O0 }
  196. ; Note that this directive does not control the <?= shorthand tag, which can be: J' g, [5 K1 P+ P: O
  197. ; used regardless of this directive.4 z  i: z' A" I/ a
  198. ; Default Value: On
    - [. x' c) }) r( B6 @- q2 H
  199. ; Development Value: Off
    $ O6 r- ~, u% x
  200. ; Production Value: Off
    1 q0 n& c/ n+ ^0 X, z. z
  201. ; http://php.net/short-open-tag2 U$ ?. P3 L% R" t
  202. short_open_tag = On: Q1 @* `6 `. Q& _

  203. ( b5 Z6 N% @" n
  204. ; Allow ASP-style <% %> tags.! f4 h& g5 T% Q$ q4 {% \
  205. ; http://php.net/asp-tags
    # S- X( q- f7 x
  206. asp_tags = Off
    3 |! ~: {' G" v8 E5 x" h

  207. 8 M+ V) h5 h! y3 v/ N; s* I
  208. ; The number of significant digits displayed in floating point numbers.
    . I. T3 A8 ]0 P+ ]- W
  209. ; http://php.net/precision7 n  ?" F3 J( W- |
  210. precision = 14
    ; X& y0 J0 k% D1 `$ y7 C

  211. : ?7 n* J8 X4 Q! r' b
  212. ; Output buffering is a mechanism for controlling how much output data
    0 ]0 s) |) h& t2 g# ~  e1 g
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that$ `" V% |, b, S$ q
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ; F+ c( |/ r  [
  215. ; will send that data in chunks of roughly the size you specify.
    6 P$ Y6 _6 Q  H& N9 R& z7 M
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 v" A& y+ E$ Z$ }6 r
  217. ; interesting side-effects depending on your application and web server.1 V, ]6 a% s2 \
  218. ; You may be able to send headers and cookies after you've already sent output
    6 s  c- N+ R( q6 L# m7 |# u- S7 W
  219. ; through print or echo. You also may see performance benefits if your server is* c7 `7 N, b) G5 T
  220. ; emitting less packets due to buffered output versus PHP streaming the output* ]1 W5 d$ C8 H- t! G
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% H2 _+ Y6 F4 e' I
  222. ; reasons.
    2 X5 p9 P- ?# f, }6 O" Z- r; N4 D' Y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    & f  [8 ^, @, J9 {
  224. ;   functions.$ ?, ]" j3 f9 z4 r% s  ~  ]
  225. ; Possible Values:
    . K# ^4 |; x9 n  p8 J
  226. ;   On = Enabled and buffer is unlimited. (Use with caution), `! i- h* X, R; T( i+ S
  227. ;   Off = Disabled
    8 l! h3 e, |5 |# Q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.- f1 N/ o! Q4 |+ P
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    4 e. f7 I& r4 l4 t; R  c
  230. ; Default Value: Off
    ! \' I  W& [- I% h
  231. ; Development Value: 4096! e8 z8 a! ~; Z' ~' b$ }; m1 K
  232. ; Production Value: 4096
    ' r1 x, X2 S1 U" L4 G0 \7 I
  233. ; http://php.net/output-buffering
    ) G9 A0 D$ _2 R' ]5 ~9 c' p4 c
  234. output_buffering = 4096
    , |, r/ L* r6 s  U
  235. + h7 y5 y( h" m
  236. ; You can redirect all of the output of your scripts to a function.  For3 {! u3 \) i8 v" e# P: l. f
  237. ; example, if you set output_handler to "mb_output_handler", character: w1 G0 D. L* w3 |
  238. ; encoding will be transparently converted to the specified encoding.
    ) l" s  [. u2 C4 A% e8 a
  239. ; Setting any output handler automatically turns on output buffering.
    - H! Y; W/ f% R: n2 c: r+ v
  240. ; Note: People who wrote portable scripts should not depend on this ini2 G" U8 H  `! X) p: V0 O
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
      c( V+ Q0 o, h
  242. ;   Using this ini directive may cause problems unless you know what script6 b5 p! \) ]6 ^: O
  243. ;   is doing.
    7 V) p# |1 _; y0 X3 L. g: \2 t
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . C- B$ ^4 I  D# c
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + M; H6 C  X5 b
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 H. R9 [3 v; E4 l) E& b
  247. ;   Instead you must use zlib.output_handler.1 p7 ^; l& t9 m: F* t* l
  248. ; http://php.net/output-handler5 L9 S- k& [) U7 @' |6 f) m* n
  249. ;output_handler =9 Z( f  U/ c% f" w* x

  250. 0 }! u' z* W) t3 a
  251. ; Transparent output compression using the zlib library& Z0 h/ |* z* m/ q; \- n6 N( x
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # n4 t* T" V/ h( W7 X
  253. ; to be used for compression (default is 4KB)1 E& n$ w! i) \5 `! R) l
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP9 b5 u$ ^0 M- a) Y2 ^2 `
  255. ;   outputs chunks that are few hundreds bytes each as a result of/ k1 t7 l: q3 t* m
  256. ;   compression. If you prefer a larger chunk size for better( `& ^! p- R3 T/ {( v/ b$ M
  257. ;   performance, enable output_buffering in addition.
    # U6 d) Y5 b0 y% m7 P( `# ?& U+ n1 o
  258. ; Note: You need to use zlib.output_handler instead of the standard8 |( G9 e5 w) y$ {, p2 |9 \
  259. ;   output_handler, or otherwise the output will be corrupted.
    4 ?) A) d* p6 l8 Q1 Q) J" k) Q4 C
  260. ; http://php.net/zlib.output-compression4 V# Y1 {  J: b! [) E* P
  261. zlib.output_compression = Off" @- k. D1 L; y% c

  262. - c# l. U' _+ T$ o  \7 [5 o" |5 g
  263. ; http://php.net/zlib.output-compression-level
    6 u+ U8 W. b( e/ a' D) W
  264. ;zlib.output_compression_level = -1& f8 r/ H  N* J. {4 s! n( |
  265. 3 y# N) o* \9 a
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ( e8 y# D, q& G
  267. ; is activated here. This setting does the same as output_handler but in
    ! {; Q4 H/ j+ h( X
  268. ; a different order.! u1 d$ c- M" Q$ _% ?% e! S- X. m( |
  269. ; http://php.net/zlib.output-handler$ C/ j/ |5 [1 {, ]9 L8 B0 @& E
  270. ;zlib.output_handler =2 M9 |( ~3 H1 x

  271. & {( y6 f( v- Z$ M4 z
  272. ; Implicit flush tells PHP to tell the output layer to flush itself3 O% V6 ~2 K0 J& G. O$ n* Q
  273. ; automatically after every output block.  This is equivalent to calling the/ r. L! G3 J0 j) ~
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) d( W6 t5 b1 O: A* q, X, v% c- z
  275. ; and every HTML block.  Turning this option on has serious performance' G  ]; a7 k7 C& ^( m- w
  276. ; implications and is generally recommended for debugging purposes only.0 z# E+ Y- e, U; t4 r( \6 }7 X# a9 g1 Q+ L
  277. ; http://php.net/implicit-flush
    " T7 W; Z1 E' G2 M: T. F
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 G. _7 ?& Q4 k& }% y
  279. implicit_flush = Off
    ( J) a1 k. T$ {; R# W

  280. 5 z( y) n7 ?0 U& \" U, C
  281. ; The unserialize callback function will be called (with the undefined class'6 i6 ^: k  s1 X3 W
  282. ; name as parameter), if the unserializer finds an undefined class
    / e( ^% H6 c# [; k1 S4 O) b1 Z
  283. ; which should be instantiated. A warning appears if the specified function is8 L. s% ^4 S4 h9 D& ?1 K7 K
  284. ; not defined, or if the function doesn't include/implement the missing class.
    1 N9 _5 O; Q; B0 n
  285. ; So only set this entry, if you really want to implement such a
    0 j. L- |  ^4 [: [! `
  286. ; callback-function.; g7 [6 q3 |2 f# _, E) x
  287. unserialize_callback_func =1 C; F0 U* V+ z' ~' B2 |+ G

  288. 4 ]6 \* N. `1 R% s6 s; w! g
  289. ; When floats & doubles are serialized store serialize_precision significant
    9 \$ o7 J$ p: b
  290. ; digits after the floating point. The default value ensures that when floats
    5 b$ B. P' z! e7 @6 p. N
  291. ; are decoded with unserialize, the data will remain the same.
    % B7 \) M4 ~" B" E) D! r! C/ l
  292. serialize_precision = 17
    1 h. P/ D& b1 A( R) O
  293. 9 C! b+ ~( g+ h. \
  294. ; open_basedir, if set, limits all file operations to the defined directory1 c- ~' F& W1 m( o' s1 D
  295. ; and below.  This directive makes most sense if used in a per-directory; F/ S! b8 V+ J% {
  296. ; or per-virtualhost web server configuration file.
    - `1 D" m. ]! {  _/ Z. I( O
  297. ; http://php.net/open-basedir5 h4 E" G7 H* {9 k
  298. ;open_basedir =
      r& s  X6 D3 N
  299. # m- X! l1 {$ S* N0 p
  300. ; This directive allows you to disable certain functions for security reasons.
    0 K/ K" ?2 J2 Z+ I$ N! S
  301. ; It receives a comma-delimited list of function names.  s% y: a- h3 u& s
  302. ; http://php.net/disable-functions3 x5 x# S* H+ u1 Q
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! x  M# L7 Y. q. K
  304. - \& _! b0 O' a, r4 ^! O7 e
  305. ; This directive allows you to disable certain classes for security reasons.
    $ [5 b" l. ^5 t) Y' z( A  G
  306. ; It receives a comma-delimited list of class names.
    " C6 O+ R0 ^( s' ?7 i
  307. ; http://php.net/disable-classes
    + ^5 `$ d6 g7 T* O: {/ J# G
  308. disable_classes =8 h, @5 X- k* X- P* M
  309. 7 I* J- z) S2 P3 @$ V$ T' O" R/ \  l
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, K% }2 ]$ S, H0 K* w
  311. ; <span style="color: ???????"> would work.$ C: j4 v7 [  N  M1 y8 G
  312. ; http://php.net/syntax-highlighting$ K% a( q' X: E2 Y4 l, u
  313. ;highlight.string  = #DD0000( z! T$ s) ^8 Q  ^6 m2 A
  314. ;highlight.comment = #FF9900+ y2 F2 T( v% S: B% Z; V
  315. ;highlight.keyword = #007700! C: l  i2 I+ [% B6 B$ U( x9 O
  316. ;highlight.default = #0000BB
    & G7 T9 c  g- [
  317. ;highlight.html    = #000000
    7 ]2 X( @1 E  n# n5 l

  318. 5 N# b" y# o  {+ u5 E' D& F6 `# F
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - Z8 {) _$ L6 |/ J7 f% ^& q" r
  320. ; the request. Consider enabling it if executing long requests, which may end up4 P9 x( T' {: H% L% |. W# g) f, r
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. m/ e0 r9 p6 v
  322. ; is to disable this feature.
    0 f# R4 e/ x' g; n3 `; x
  323. ; http://php.net/ignore-user-abort$ E$ u; H" i+ _0 T% Z
  324. ;ignore_user_abort = On2 q% G! m4 W$ `, s8 B
  325. $ A4 c0 T9 q" D5 K1 @  M
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    + H3 L; O' }  ]
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    9 r9 b9 X1 d/ A1 |! ?
  328. ; the file operations performed.
    & p0 D) y! |$ J! A
  329. ; http://php.net/realpath-cache-size
    0 Z2 J; G. b2 G  T: u8 K% E
  330. ;realpath_cache_size = 16k
    0 u6 X0 R( |0 |8 b# {8 ?$ ?
  331. " y8 z) R3 @' l# D' y# F
  332. ; Duration of time, in seconds for which to cache realpath information for a given% p' d' @7 @6 G% u1 v
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 T$ m! l" u+ w/ `5 X
  334. ; value.* X# e, Y% [1 u2 w# i2 @4 `
  335. ; http://php.net/realpath-cache-ttl! p" i1 I4 I- w* R' F- P
  336. ;realpath_cache_ttl = 120  W5 i3 r8 R+ n
  337. ! [# m9 U& F0 _; s1 v
  338. ; Enables or disables the circular reference collector.
    - k% {& E. g5 ^. [" L% l; p- U
  339. ; http://php.net/zend.enable-gc) l+ i* a- H, i8 q( \# J
  340. zend.enable_gc = On! \+ z4 I) l' l6 m  L
  341. 6 R  d; E! H6 y
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    " T& @1 C, z& I( [& w6 L6 N2 p! v: q, Q
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 w8 M6 |- V1 x  y0 A9 r5 f% n
  344. ; encodings.  To use this feature, mbstring extension must be enabled.. k1 {! |" [) J
  345. ; Default: Off
    9 N4 e5 A+ i8 e! r0 Y/ h
  346. ;zend.multibyte = Off9 i2 e5 F3 w! r- F) H* ~8 f# _- r

  347. % i8 \3 W7 u! j( v- L) m
  348. ; Allows to set the default encoding for the scripts.  This value will be used/ q: v& ^3 g5 O* J2 ~+ v( C
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    # [! H7 H# T- s# X) X( h
  350. ; Only affects if zend.multibyte is set.. r5 Q  ]* X& C7 [3 G7 z+ z- t: }- r
  351. ; Default: ""7 [9 e- h4 q/ t. }
  352. ;zend.script_encoding =
    $ T9 f$ k+ _) H" _6 ?; r8 \6 Q, M5 d

  353. ' @5 E; |9 U  L3 r
  354. ;;;;;;;;;;;;;;;;;
    ' ?  W/ J" }2 W) y5 w5 u
  355. ; Miscellaneous ;
    . _/ z( k* v* H; ^7 S
  356. ;;;;;;;;;;;;;;;;;' c  ~: R8 l3 \, a
  357. / q; U, B1 d+ j: N
  358. ; Decides whether PHP may expose the fact that it is installed on the server' m( H8 \' B! g- F0 Q0 I2 b- y0 r6 l
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 d  Z0 w8 @' k2 Z( P- G$ P" B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP2 N; f7 Q4 }7 `$ M) s
  361. ; on your server or not.
    ; |1 b( w/ g/ s8 ^
  362. ; http://php.net/expose-php% W+ v" Z8 e# f; n. P* _
  363. expose_php = On
    1 X0 h$ o$ C- a, t* t4 @; t

  364. * ]9 N$ r# ?9 }+ N
  365. ;;;;;;;;;;;;;;;;;;;
      Q; k% F4 M3 M9 K
  366. ; Resource Limits ;
    9 t9 B6 r' m, l# o3 u* C
  367. ;;;;;;;;;;;;;;;;;;;
    / ^- Q3 u! I, W4 b- [0 d

  368. ; x* L  z' _$ |8 w6 L- ?) {( Q
  369. ; Maximum execution time of each script, in seconds
    / w$ x' x8 n# V- O8 _% y# K
  370. ; http://php.net/max-execution-time7 q9 ?. N( a/ q( }4 y' _
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI9 w0 c" G6 R/ W* ^% i  A0 a
  372. max_execution_time = 300  A7 c* b! [/ E% ~; e5 i1 b
  373.   d! W0 b+ ^' k: O! C
  374. ; Maximum amount of time each script may spend parsing request data. It's a good0 w8 N) ^- f, p: F/ i, T
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly& |8 G# X  V5 [) Z. u
  376. ; long running scripts.
    7 i  L$ ?4 `! ^* [" q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI3 R% q2 f6 g# q1 i' A8 T
  378. ; Default Value: -1 (Unlimited)
    * A, C. o) g' q+ x: ~* v! @3 m' ~
  379. ; Development Value: 60 (60 seconds)! Z* s( W% S5 r% `
  380. ; Production Value: 60 (60 seconds)/ m+ b' n3 P; g1 B9 k  A
  381. ; http://php.net/max-input-time
    ( v% Q0 f, o  X' Q+ x3 U# Q
  382. max_input_time = 60$ Y5 H' s- K. d% T2 e; c* M, [

  383. - l( f/ l+ g0 g: @9 @7 l
  384. ; Maximum input variable nesting level
    4 Y6 e! w6 j  p) X% a& n: b% z# N
  385. ; http://php.net/max-input-nesting-level
    7 b2 `- q' I; c5 e# ?
  386. ;max_input_nesting_level = 64( N$ L& i; q( @8 k* h

  387. ( W4 Q- \# y4 s$ A" k2 A1 o
  388. ; How many GET/POST/COOKIE input variables may be accepted
    + a! a- @8 H0 L/ F
  389. ; max_input_vars = 10002 ^  O, {+ e: D& i& p
  390. + C/ S* w+ K$ }) P8 f! q
  391. ; Maximum amount of memory a script may consume (128MB)6 p4 U4 H  m+ j
  392. ; http://php.net/memory-limit
    3 w* e  y% \( h7 l
  393. memory_limit = 128M* Z9 I, {3 g# Y/ A- N

  394. 7 e) ~  m% [" Y/ T" x
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    % x$ N. y3 m) i" _- V
  396. ; Error handling and logging ;
    ! D8 P  x8 b  |$ T2 P
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) E: w6 n- p1 K1 |  G  f- |

  398. . V4 }" c5 {' j. y0 r
  399. ; This directive informs PHP of which errors, warnings and notices you would like) D+ n* Y2 }" |( v
  400. ; it to take action for. The recommended way of setting values for this1 E3 Y7 E3 b$ l7 x6 q& ]
  401. ; directive is through the use of the error level constants and bitwise
    " s( f5 f; Y! a- X- [3 B
  402. ; operators. The error level constants are below here for convenience as well as3 `( E% H: e6 K0 P8 X1 Y7 t; \2 ]
  403. ; some common settings and their meanings., j1 |2 C& x9 N% U& b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    * c. A% W! N$ O9 `1 s- c* x
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    $ D6 {- K0 C* I& \2 |- i6 s
  406. ; recommended coding standards in PHP. For performance reasons, this is the1 w( m# ], i1 y# ~0 m
  407. ; recommend error reporting setting. Your production server shouldn't be wasting; ?8 s- X; D! i, t; w; `) r
  408. ; resources complaining about best practices and coding standards. That's what* R6 Y. E& W* M7 f" L$ a
  409. ; development servers and development settings are for.9 T9 b$ {/ ~- J3 B1 y9 }
  410. ; Note: The php.ini-development file has this setting as E_ALL. This" U* t  T) c/ H) W, e4 X
  411. ; means it pretty much reports everything which is exactly what you want during7 M3 x7 g0 I0 z1 Z
  412. ; development and early testing.: ?# L* B# S' b& {! t$ C8 E& e3 d  I! U
  413. ;
    ! u/ O" H" h7 U
  414. ; Error Level Constants:( E! ~! M* Z: ]: z4 Z$ W' U
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)8 b" l) S- p7 K# O* \0 _
  416. ; E_ERROR           - fatal run-time errors* l7 l/ t" O9 d+ |: J  B- G
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors% q8 N2 @6 z9 B0 U, C$ g3 T
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    ' {/ S: i4 {# q& R4 ?. u; i
  419. ; E_PARSE           - compile-time parse errors
    9 L1 y+ w6 \2 E5 W0 z( {% _9 t
  420. ; E_NOTICE          - run-time notices (these are warnings which often result; N: \$ F# L1 k
  421. ;                     from a bug in your code, but it's possible that it was
    ! {4 s1 o% U7 K3 f
  422. ;                     intentional (e.g., using an uninitialized variable and: n/ l+ o8 B" H( s$ x: v
  423. ;                     relying on the fact it is automatically initialized to an' l1 p- Z9 I& r2 P- M2 o! s
  424. ;                     empty string)' H! v, _2 l% C/ R) `
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes8 @7 z0 r- j5 ^" `
  426. ;                     to your code which will ensure the best interoperability
    # |5 O, Q8 l/ v8 G1 J
  427. ;                     and forward compatibility of your code+ J3 e2 G% \8 i1 w: O
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' q$ k- B& n" x" E7 |: b
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    4 _2 B# A  w6 k3 k
  430. ;                     initial startup% m$ n7 ?8 {9 g% @( k
  431. ; E_COMPILE_ERROR   - fatal compile-time errors1 A# [. @& e4 w5 K
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)$ M5 x# C1 j! D' U
  433. ; E_USER_ERROR      - user-generated error message: m9 H  u8 s. r5 m) L
  434. ; E_USER_WARNING    - user-generated warning message
      v/ c+ \2 Q& r3 ^% A/ a6 b
  435. ; E_USER_NOTICE     - user-generated notice message
    0 ^) D( S/ J, L& K" y  f  |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions8 J' Y+ v( h4 w* s5 e2 C
  437. ;                     of PHP3 \. G- R) v( b5 P
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings5 H& w4 E) J" H
  439. ;
    : E) J2 I6 B! ^( F2 x% X4 `
  440. ; Common Values:
    # B( p, ?5 H' O
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)8 ]4 R( M* }; J8 t; a- e3 [# ?
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)& _$ Z8 c# R" Z) v8 f+ L1 C
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  p2 p+ j) e0 W4 C7 ^3 _  q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)3 P$ r2 X. {- ^" M, A' V. j
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 U4 V# R0 c' Y
  446. ; Development Value: E_ALL' s) A* s# E" c* ?
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( a# w2 U+ W+ `/ I, _
  448. ; http://php.net/error-reporting* D2 K& G: h: {1 `0 F, J8 p  \
  449. error_reporting = E_ALL & ~E_NOTICE; \! z4 X( N2 x# G

  450. * U7 T' E/ u6 c$ c5 y9 V: k5 h
  451. ; This directive controls whether or not and where PHP will output errors,
    ! u5 @& q$ g6 ]7 ^
  452. ; notices and warnings too. Error output is very useful during development, but
    2 n8 u& Q7 Q0 A1 e5 o" K$ u
  453. ; it could be very dangerous in production environments. Depending on the code* O: k6 F; j6 `' Y8 j( _3 Q
  454. ; which is triggering the error, sensitive information could potentially leak
    3 y7 H. n9 g& _. |. n" l; M
  455. ; out of your application such as database usernames and passwords or worse.
    / c5 x( `, m7 B4 n6 q
  456. ; For production environments, we recommend logging errors rather than" ~: b( k, t2 u2 _+ I7 R
  457. ; sending them to STDOUT.3 Y  P% K6 r1 p% [% K" n. ~+ `
  458. ; Possible Values:
    , j0 [6 D0 K8 F8 J- t% T# x
  459. ;   Off = Do not display any errors" s; [# ^9 f+ h+ h
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)0 y1 I, X( M$ s2 ]
  461. ;   On or stdout = Display errors to STDOUT# j4 W  m4 i" i9 r& v! e' m: J
  462. ; Default Value: On  O, Z: I& J% O0 o% k0 Y2 k: @
  463. ; Development Value: On
    2 v7 Y$ s" w8 s8 e6 }2 J
  464. ; Production Value: Off7 ~: h/ Q3 w1 }1 m! R, q
  465. ; http://php.net/display-errors
    " ~. h" `) ]& l  I
  466. display_errors = On
    & V# A! s! k3 N6 T# ^+ M( Y
  467.   [+ Z1 _) r8 C9 D3 Q2 k
  468. ; The display of errors which occur during PHP's startup sequence are handled
    6 l' {& p; L: r& @' P8 q2 c
  469. ; separately from display_errors. PHP's default behavior is to suppress those0 S! {7 J9 a$ l
  470. ; errors from clients. Turning the display of startup errors on can be useful in6 M6 V' o% J" ^! s
  471. ; debugging configuration problems. We strongly recommend you
    - \) O4 c* e. W% G! p
  472. ; set this to 'off' for production servers.
    % Z3 ^+ D7 ?% z2 f
  473. ; Default Value: Off4 N7 X, X. [7 e
  474. ; Development Value: On
    " K4 M$ L/ k7 p. ?
  475. ; Production Value: Off. Q( `$ N( ~+ @6 P3 f5 ~% k
  476. ; http://php.net/display-startup-errors" r0 y# U( X% A8 ]$ H7 N
  477. display_startup_errors = Off& E6 D' q6 n, w/ L
  478. # q, p7 g# ?1 s9 @* P
  479. ; Besides displaying errors, PHP can also log errors to locations such as a. M0 A( l) I' h* j, X+ m; K4 e
  480. ; server-specific log, STDERR, or a location specified by the error_log5 M+ J# b% k- s6 Q' e& g
  481. ; directive found below. While errors should not be displayed on productions0 `- G, f* u. f1 U; h3 y
  482. ; servers they should still be monitored and logging is a great way to do that.  H/ e( {/ ~' R: M& E; w
  483. ; Default Value: Off  r9 [# L9 f! K! x8 ~
  484. ; Development Value: On; i  `5 f& }* |) k. T
  485. ; Production Value: On
    8 a1 R" L& f; m1 {2 k
  486. ; http://php.net/log-errors8 g5 ]4 \) O5 H  ^0 r
  487. log_errors = On
    " x8 j3 r+ ~  b7 y8 l1 P4 k
  488. / x0 k( ^- h5 R. P2 N. `
  489. ; Set maximum length of log_errors. In error_log information about the source is
    - H# @2 {' L) l- K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! \; I0 j; f6 z  j3 Q) ~
  491. ; http://php.net/log-errors-max-len: W5 \" V, I! M; d) k
  492. log_errors_max_len = 1024  j9 S7 w+ q5 u* k% s, k2 F

  493. , \/ B  L2 D% {1 [! }/ T( |' e/ I
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # }' K) h7 a: i  J5 g1 F
  495. ; line unless ignore_repeated_source is set true.
    2 W2 V6 {2 i1 p1 M0 w( ]' V
  496. ; http://php.net/ignore-repeated-errors8 {; O" i1 C0 w7 N
  497. ignore_repeated_errors = Off
    , Q" u! u" o6 u
  498. / r, k) ?$ `3 d- u6 Y# [; O
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    1 k# w" L5 I8 o/ Q$ X6 s
  500. ; is On you will not log errors with repeated messages from different files or# W1 B* b- s, h/ A" o
  501. ; source lines., L. Y$ U7 c7 c4 w
  502. ; http://php.net/ignore-repeated-source
    $ y9 N0 Y4 T- Q9 @
  503. ignore_repeated_source = Off
    " k% s) v4 c% e7 u# }

  504. 4 T& s  d5 N' o7 d' [  `9 Y2 q
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    - Z# o( I# a) I* Z5 b% u% n8 j, `
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 ?% l* u' Y% ^* c5 a
  507. ; error reporting includes E_WARNING in the allowed list
    7 L' w- d% H! C4 z; T
  508. ; http://php.net/report-memleaks4 ~0 r$ G9 z3 l% J4 V5 @
  509. report_memleaks = On
    - n; {; }3 y! G1 o$ ?/ K# x

  510. 6 @8 W' D9 J8 @9 {7 ^+ M  T: `
  511. ; This setting is on by default.. C$ U7 x: i9 b: |9 k
  512. ;report_zend_debug = 0
    * \& G7 r0 b0 I0 K' p4 ?# v
  513. " d% c- u( w/ V! l
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value; [' ?9 f# ?$ I, t3 w6 S
  515. ; to On can assist in debugging and is appropriate for development servers. It should' w6 o6 [; U1 W0 H5 c! G
  516. ; however be disabled on production servers.
    7 s$ x5 `& m# d
  517. ; Default Value: Off
    7 X! j" M$ @' ]! W2 X
  518. ; Development Value: On
    5 U/ A" M( k5 c
  519. ; Production Value: Off6 A, ~7 _- B" D0 @7 Y% L
  520. ; http://php.net/track-errors3 B8 \' p0 S8 f. t
  521. track_errors = Off
    8 Q/ F; `6 s7 q; f/ P
  522. , ]8 G6 r1 A! l+ k: e1 v
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ) J5 W. k6 D& o# h2 |
  524. ; http://php.net/xmlrpc-errors
    & e$ C8 X6 _4 `5 \/ O5 ]  ~
  525. ;xmlrpc_errors = 0
    / _) R: x. @2 q' _- ]# r/ d
  526. : g0 y2 \& Y* u
  527. ; An XML-RPC faultCode
    1 d) ~. Z: N2 C3 |8 s
  528. ;xmlrpc_error_number = 0+ v0 V$ |( a: A# j& Y
  529. 2 C2 k0 f- {4 q8 c
  530. ; When PHP displays or logs an error, it has the capability of formatting the. w' y  ^0 i" I) U
  531. ; error message as HTML for easier reading. This directive controls whether
    ! j4 a+ M1 Q0 ]; X
  532. ; the error message is formatted as HTML or not., Z2 d! f, ~2 T0 \, N" V* E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , f5 i* F4 k# e. |
  534. ; Default Value: On' K0 f# ^) r4 w* t
  535. ; Development Value: On
    & w% J# T! M6 ~+ L
  536. ; Production value: On2 o+ ~+ G1 m# i8 M0 q4 p% Z
  537. ; http://php.net/html-errors
    & A9 V8 q2 Y# b- f3 L& B
  538. html_errors = On
    ' d" ?3 Q, |" i3 }5 s4 k6 u
  539. , d" l3 j/ q* e2 A
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 O. n+ L. v6 n. T5 w
  541. ; produces clickable error messages that direct to a page describing the error
    9 W/ l! s* k' k8 G# C1 F0 M
  542. ; or function causing the error in detail.: u; k: \$ l) S) y
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    # s7 B  h% F# g: B$ ?9 D9 Y
  544. ; and change docref_root to the base URL of your local copy including the
    ; r& n( F, t: f6 ~( D8 [
  545. ; leading '/'. You must also specify the file extension being used including; p3 K4 V/ C9 t/ N# b) C
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" m: _" P1 W2 C. }, b  ]
  547. ; case no links to documentation are generated.: c4 A: W* S5 s) r' P4 Y/ G; R  k
  548. ; Note: Never use this feature for production boxes.; N6 `5 z, l) T
  549. ; http://php.net/docref-root0 ]7 f- J2 w1 w6 G" R( ^: d; E+ M
  550. ; Examples8 _. J4 y# Q& C9 Q' A- ?5 Z
  551. ;docref_root = "/phpmanual/"
    - k0 s. r* [2 g; c+ e. {6 c" V
  552. " C1 G# H! A9 }
  553. ; http://php.net/docref-ext7 y% I/ p0 _% n3 x
  554. ;docref_ext = .html
    ( r  O- Q9 m$ n+ l4 g6 T

  555. ! [$ y. {" o2 G" l& }$ i9 v0 b% Z
  556. ; String to output before an error message. PHP's default behavior is to leave
    " i, Z2 C1 m, [, F
  557. ; this setting blank.
    " n% I  @- S' q, b  E5 @
  558. ; http://php.net/error-prepend-string% ~# Q9 Z* g0 `3 F* @2 [$ L- v
  559. ; Example:
    " x5 w+ p, I+ h% t, y+ H+ Y: i
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    & z8 Y+ l6 F) t$ v  E+ Q

  561. ) {  ^% p; y. Q2 J& a( ?5 j
  562. ; String to output after an error message. PHP's default behavior is to leave
    ! h2 J( k# ?# r
  563. ; this setting blank.
    7 X1 t. G: \* u
  564. ; http://php.net/error-append-string
    3 P) S2 x7 K5 n+ \6 i) {/ m' ?
  565. ; Example:+ {3 C. b4 i! s+ y
  566. ;error_append_string = "</span>". @: @6 n0 u0 e* ~7 x/ v4 P+ n1 n5 l
  567. + c1 R) z* O/ D$ \
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    2 N! m. i/ _# H/ e+ y8 z" ^: U
  569. ; empty.
    9 O( u; r+ E2 s
  570. ; http://php.net/error-log
    " [5 g; V& _1 @0 M7 y
  571. ; Example:
    6 V! D" C% `# m, s+ `9 m) r, J
  572. ;error_log = php_errors.log
    4 m4 |8 Y& O0 B
  573. ; Log errors to syslog (Event Log on Windows).
    : r* r# N! x: U6 H6 z  E
  574. ;error_log = syslog1 ?5 N: z8 V4 L2 ]

  575. 7 z! B6 c% O, V( V( i1 C
  576. ;windows.show_crt_warning6 H9 Q  H7 X$ W) f  v9 i, `2 ?1 Y
  577. ; Default value: 05 N6 T! J5 }# T' X8 r; ]# I
  578. ; Development value: 0
    3 l  t2 v/ l" X# w$ O9 t
  579. ; Production value: 01 N& G, }# i% T  f8 g" S
  580. " H7 B( W2 j6 A  D1 D
  581. ;;;;;;;;;;;;;;;;;
    7 j" `5 T7 ?6 d+ Y
  582. ; Data Handling ;$ _3 V; L6 @, Q. A' Z
  583. ;;;;;;;;;;;;;;;;;
    ! Z: z' e6 H! ]% e/ O; ?
  584. * ]0 l8 x1 |0 t  Y% i% o7 B8 V$ r
  585. ; The separator used in PHP generated URLs to separate arguments.
    , x" G8 k! O0 j
  586. ; PHP's default setting is "&".
    ! y. A3 C. o1 f& G+ L# j0 z7 n
  587. ; http://php.net/arg-separator.output9 i! p3 p# ^/ `9 z! A/ {
  588. ; Example:
    2 k' E+ k+ ]& l2 b4 ^/ z; h
  589. ;arg_separator.output = "&amp;"
    5 w* y9 B$ @' C6 X

  590. 1 l' M( e! W) v: _6 G+ Y; Y: n3 D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.1 b) G" l6 r- N' b- p
  592. ; PHP's default setting is "&".
    7 a1 ~4 [+ }1 {! x3 o& O
  593. ; NOTE: Every character in this directive is considered as separator!" k' O  N) F0 c/ E) E
  594. ; http://php.net/arg-separator.input: `0 G2 x2 d- c' Y5 w
  595. ; Example:
    3 L' L% \8 C* E' Q( d
  596. ;arg_separator.input = ";&": t4 ?& j' u5 [$ e4 b5 _9 o
  597. ; p. A) ~$ s8 Z. S& S
  598. ; This directive determines which super global arrays are registered when PHP
    / l$ q. K7 \4 T2 ~, K" t# K# Q  m' N
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    , P; b9 W, P8 ?8 n0 j; V; E/ w* d, i7 |
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    % k+ Y- f: S3 x
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    9 ^3 c+ u8 Z- l$ O) w( S3 C
  602. ; used as the others, ENV is not recommended on productions servers. You: m9 c7 V! g& {
  603. ; can still get access to the environment variables through getenv() should you: a% V9 ~( ^  k- P+ x; n- b2 p
  604. ; need to.6 @5 c% G$ M3 e& x8 f
  605. ; Default Value: "EGPCS"% E' `+ B8 T# s0 f: ]
  606. ; Development Value: "GPCS"3 P. \6 Z. m+ e. `+ e$ c: {
  607. ; Production Value: "GPCS";+ x, a) E6 J3 ~) q1 F4 X" l$ k+ F
  608. ; http://php.net/variables-order
    2 D2 O6 a: d9 F4 E8 m. i' r
  609. variables_order = "GPCS"
    ) u; `8 O2 l) t

  610. ) ?+ i3 T; f6 ]
  611. ; This directive determines which super global data (G,P & C) should be9 i' B1 t/ _& L2 f! w/ n( _
  612. ; registered into the super global array REQUEST. If so, it also determines" W% @" {* O" z7 D  I- e
  613. ; the order in which that data is registered. The values for this directive
    1 k7 o7 j2 E& I* ^3 D% h# G
  614. ; are specified in the same manner as the variables_order directive,* s. x( Q( j+ z$ D3 \- Q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: K2 m2 J! u, C9 z. I2 _4 ~
  616. ; in the variables_order directive. It does not mean it will leave the super2 C$ l$ ]# ]. ?# M4 ^% j! F* }
  617. ; globals array REQUEST empty.
    ( z# C% K1 b, l1 y7 K- s
  618. ; Default Value: None/ f# H7 W" x+ S0 E
  619. ; Development Value: "GP"
    4 F- C9 H" _5 M6 ~
  620. ; Production Value: "GP"
    - ]. E- I0 g+ ~2 M# ]+ {! h
  621. ; http://php.net/request-order
    + D$ {( V5 R4 p6 W' A' ^5 q, h4 u
  622. request_order = "GP"
    1 s+ r# l$ _  {& C& E2 L& _
  623. % L( V; z% l( W7 d
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    3 ]1 T1 v- y4 ^' {! j" [$ ^
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script& r+ m/ x, ~8 W- ~4 X# [5 T
  626. ; is invoked. $argc contains an integer representing the number of arguments
      ]7 E1 y) G& @& S, O- r" B7 o
  627. ; that were passed when the script was invoked. These arrays are extremely
    6 T+ v8 I% D  K( G, e: p
  628. ; useful when running scripts from the command line. When this directive is) i9 d; K. q: R
  629. ; enabled, registering these variables consumes CPU cycles and memory each time2 P, ^* u9 F1 u/ ^- V( e
  630. ; a script is executed. For performance reasons, this feature should be disabled( `2 s7 r4 U" u4 Y
  631. ; on production servers.
    * x4 U  O$ ~9 z/ T, j4 C; ^3 R" d
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 r9 w2 t- ]  v0 I) h
  633. ; Default Value: On$ X& Q" u0 j7 h, u
  634. ; Development Value: Off1 d+ e& r9 f/ S! D1 O$ o  h
  635. ; Production Value: Off
    . {' x6 C" E2 {% N  e
  636. ; http://php.net/register-argc-argv
    5 y1 R4 g& U  X# ^/ j- r( Y( h
  637. register_argc_argv = Off
    ( X: [8 _2 @8 A3 l
  638. 6 E1 [( q5 b, z7 G6 R
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / T6 Z- B; ~; g1 z0 Y
  640. ; first used (Just In Time) instead of when the script starts. If these
    1 a" O1 ~- Q0 Z# E
  641. ; variables are not used within a script, having this directive on will result' J& r/ V* ~( M: [% V) C  i' }
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled. s6 c8 B6 U) |) \' U( _0 K9 R( V
  643. ; for this directive to have any affect.
    4 ]% O3 p( l$ Y9 z) t8 ?0 V
  644. ; http://php.net/auto-globals-jit+ u4 f% ?# ?: z0 V2 W% h2 g$ s/ W1 l: |
  645. auto_globals_jit = On
    8 I2 y5 N, {: E  W: M
  646. / I' L8 x" ]& e, \1 }7 h
  647. ; Whether PHP will read the POST data.
    * X9 N! ~7 r7 `$ {9 a: X( b+ o
  648. ; This option is enabled by default.# q/ x2 P$ N( D& D/ n; I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST9 M, P4 w3 ^1 b+ a
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    , K; z( P3 t/ b" r& [
  651. ; POST data will be through the php://input stream wrapper. This can be useful, ]1 f* s! q* G# g5 H+ O/ r
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , m& m7 i# S$ M0 y
  653. ; http://php.net/enable-post-data-reading
    % ^8 M% i% A& M5 j
  654. ;enable_post_data_reading = Off
    : j) y& H3 i. `, `0 {

  655.   c8 S# E, v. Y0 [; g- C/ \$ b% O
  656. ; Maximum size of POST data that PHP will accept.
    ! n/ K& n( y0 B2 `! }! X: w
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    3 o* O& }0 Q3 x7 v& m0 }
  658. ; is disabled through enable_post_data_reading.; ^% I" L+ v) U( @% b8 _
  659. ; http://php.net/post-max-size$ K  m: X( L' j1 \3 f/ e, J
  660. post_max_size = 50M7 x3 _  @4 @/ m

  661. . D: ~9 v- \8 X$ ^& T4 O
  662. ; Automatically add files before PHP document.1 w) E# Z. n3 l3 e
  663. ; http://php.net/auto-prepend-file
    * v3 ^4 g/ s$ S: j1 D$ G
  664. auto_prepend_file =2 {5 g) k; k8 x0 Y' Y
  665. 9 S- D! ^3 z' B$ h# v  `) ~7 a
  666. ; Automatically add files after PHP document.
    # R% S6 b5 K7 h$ a4 I; e' u
  667. ; http://php.net/auto-append-file4 C, @3 X; I4 S3 L& [$ g8 s' }
  668. auto_append_file =( a) M' |6 h5 V

  669. + |  }! Y2 ^6 i/ U4 j2 L
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / a& Q; k% @' y) M, \) n
  671. ; disable this, simply set it to be empty.
    . t$ v' I9 K5 S3 X: Z/ o6 f
  672. ;% B& r" N" ^& g9 u5 g8 R$ z4 Q
  673. ; PHP's built-in default media type is set to text/html.
    & R0 `( _* o& Z/ T! ?
  674. ; http://php.net/default-mimetype' u# U9 S, I( W6 g- t1 c  w
  675. default_mimetype = "text/html"
    7 R2 l/ M' \2 l; M4 u- X; J

  676. # N! m6 u8 t& |: f% f, b' A) i& r& A: ~
  677. ; PHP's default character set is set to UTF-8.% I( X8 t4 y4 n7 X3 f, w
  678. ; http://php.net/default-charset5 f0 |: a0 F$ I; f
  679. default_charset = "UTF-8"
    9 T2 G; C- c* E3 e7 e1 k
  680. 7 r5 s  Y" I7 G6 k: z
  681. ; PHP internal character encoding is set to empty.
    ( N( n3 `$ {# l5 `6 x4 f5 t; H
  682. ; If empty, default_charset is used.7 H' p, j# ], [
  683. ; http://php.net/internal-encoding3 q4 \% S" L, W6 f2 S, m  |
  684. ;internal_encoding =
    * N: p; }1 p0 r9 Q0 Z# A. {

  685. / s1 c3 I2 }% r( p( ?
  686. ; PHP input character encoding is set to empty.
    + W4 Q. |# u- K3 Z$ d
  687. ; If empty, default_charset is used.
    5 s# D3 c  h- C: h
  688. ; http://php.net/input-encoding
    " |0 T$ h0 ^' a7 \$ ~
  689. ;input_encoding =  S) E- y  N7 `' i

  690. 2 g( O) O, \' T6 ~- I, [! r6 g- T3 Q$ l
  691. ; PHP output character encoding is set to empty.
    ; e$ O6 x% z% ^4 d/ }
  692. ; If empty, default_charset is used.* u- Q( |( a9 j3 s- f
  693. ; See also output_buffer.8 J8 j" E5 R. R1 w. T( U, @& M6 y
  694. ; http://php.net/output-encoding
    4 H% R/ x3 C- z9 U, w% v' H' y
  695. ;output_encoding =
    $ _! s& @/ M2 M& {0 d. I- N( A  I7 o
  696. # ]2 I7 |* O+ k6 T% G- a# {
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is: F9 {) G% e9 h; \1 U/ x9 f
  698. ; to disable this feature and it will be removed in a future version.' z' Z0 X/ f. p+ X: e
  699. ; If post reading is disabled through enable_post_data_reading,
    # a- s' `% k. R" n
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.  q& k. r$ H! Q- \4 K- F4 R4 n  j7 j
  701. ; http://php.net/always-populate-raw-post-data% f) Y% ~3 z# N9 @" S8 f2 _
  702. ;always_populate_raw_post_data = -1) X0 R! O, L7 E0 x" d* R) \

  703. + O' @# ~5 C( J* X3 Z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , T3 c* h7 K5 _& g" q: w
  705. ; Paths and Directories ;. B- Q$ o2 W! ]& m. \! U
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;2 Z* Y. t. g; z8 n3 @  y) l

  707. $ A% v1 h1 P& H, J9 C
  708. ; UNIX: "/path1:/path2"' N* Z% F$ B  U* X# n! Y& f
  709. ;include_path = ".:/php/includes"6 f5 `4 B0 A. x! @* W
  710. ;8 s! N% s( U7 O9 Q0 }3 G# ^# |
  711. ; Windows: "\path1;\path2", B6 @9 D/ y' J* y
  712. ;include_path = ".;c:\php\includes"7 I4 z) Y: p* A5 v- u
  713. ;  \2 a4 z7 i, Z- `+ a- ^
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"5 ~' t4 v- D0 L! l: C* Y
  715. ; http://php.net/include-path
    % d* ?' ~6 o% A# g: B$ N

  716. ; {5 Y2 o0 R: A$ W$ W6 B; j
  717. ; The root of the PHP pages, used only if nonempty.
    * {5 V( s' i5 F/ r% k% ~; o- v5 x: L
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root! c! y, |$ [' J2 ~8 B
  719. ; if you are running php as a CGI under any web server (other than IIS)
    / h. P9 l: Q9 a' j0 w. B
  720. ; see documentation for security issues.  The alternate is to use the
    % q& F* u, D0 X( y2 E' W
  721. ; cgi.force_redirect configuration below
    5 `) ]3 T% j8 l, e" X  [
  722. ; http://php.net/doc-root) B, H2 v9 d8 a9 O3 j
  723. doc_root =( @6 ~5 G- K) I- S2 l

  724. $ |* O0 S+ _: b7 q# r; j
  725. ; The directory under which PHP opens the script using /~username used only, b; `% h& E- U' T  m0 |7 O" S
  726. ; if nonempty.
    , f5 l) Y  I' D) e7 q
  727. ; http://php.net/user-dir' V4 E" H! M# j0 h+ f8 M, m& c
  728. user_dir =# m; p+ G( A$ A  G& f7 k$ z! a0 F
  729.   L) f0 j! ], y" U* t) l8 n
  730. ; Directory in which the loadable extensions (modules) reside.& p4 H, l. o' E! V" D; P
  731. ; http://php.net/extension-dir
    ; A/ U; n* t$ |  e
  732. ; extension_dir = "./"
    ) D) B; x  t, Y4 X9 S5 e
  733. ; On windows:
    , E3 G, n" k& ]: Y- o
  734. ; extension_dir = "ext"( Z( `% H1 D" y, a" [. @& ^9 u" e
  735. & q) S3 V* v0 J4 K
  736. ; Directory where the temporary files should be placed.% B* R* e' J5 M2 `) u6 J7 q7 P* Y
  737. ; Defaults to the system default (see sys_get_temp_dir)
    " `! h( k& Z2 h1 j4 S& S( i% a
  738. ; sys_temp_dir = "/tmp"
    $ ~4 n9 L, p2 N1 Y% J& m6 ~' [
  739. 5 D; K% W6 t3 @6 D( E& E! A3 _  c8 `
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work, Z! S5 f6 `/ B/ r
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ( ]# _" j$ `& W4 L  }: _) e( Y
  742. ; disabled on them.) Z* c+ \, U: o
  743. ; http://php.net/enable-dl
    8 H" k# }. B8 ?% S$ j# O$ I& n
  744. enable_dl = Off/ F& M% ^+ J  t! b

  745. 2 u. K! X" g* @, o7 f1 ^! m
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under, }4 m( Z, N2 o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    + M& O2 v/ x; Y2 U3 x5 w2 i; S* D
  748. ; turn it off here AT YOUR OWN RISK- d3 `0 f$ X$ \& \
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 m: \; s/ i1 B6 _4 ?( V' w
  750. ; http://php.net/cgi.force-redirect
    ! P7 M8 N6 l/ @/ \$ ^/ w9 q
  751. ;cgi.force_redirect = 1
      a- R$ j- ~" _6 t  g

  752. 9 L6 D1 [" x- V% u) h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 f" C* q0 ]8 F  X  c' `- c
  754. ; every request. PHP's default behavior is to disable this feature.2 K* Z0 q( L$ y' [/ ~
  755. ;cgi.nph = 14 B+ Q! _* q( s: o+ i4 J
  756. ' L4 b) Q( _9 ]" |1 x. I# T6 n
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 W4 D2 ?3 c6 w* i/ L5 U
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # H+ H3 M: ~& \5 }, T5 O
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY' r4 D$ I( Z5 ~) U1 z7 }# ~9 }
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * h' M5 z- @- b4 Z% ]; ?! T
  761. ; http://php.net/cgi.redirect-status-env0 v6 |( s' o7 Z/ ^7 G
  762. ;cgi.redirect_status_env =+ n. @+ T2 d9 z' j4 u3 y' B# }

  763. % N% t3 j9 h9 Y% ~# |' P1 ?" h+ h1 T
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    5 {. n( m4 Y- O8 ^! K/ h- I
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. T% @* T. ~; V+ g, ?
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) O8 @) F. b5 P: ]
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / z+ u! x) Y* M& B
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % F" [5 H: u0 q+ x. |
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ d$ v. @# G2 T6 Z! u6 O7 o8 c
  770. ; http://php.net/cgi.fix-pathinfo9 H  l" V3 i+ _1 j0 y
  771. cgi.fix_pathinfo=1; |' _( \0 v; z" e6 m
  772. 5 ~5 O; m) D5 k6 X1 @
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ) M. B6 Y$ @2 n
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - t2 H; C  f4 M
  775. ; http://php.net/cgi.dicard-path
    & I% }& n- _2 \7 b7 F2 a: ]
  776. ;cgi.discard_path=1
    0 W$ y/ g# k1 Z( }( w
  777. 2 a% T1 ?, ?( i$ I3 j5 c
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - K' ?3 A, g4 r& G; V* X% V7 I
  779. ; security tokens of the calling client.  This allows IIS to define the
    ) R$ n, M) V+ u) O. \6 f: n
  780. ; security context that the request runs under.  mod_fastcgi under Apache, c* j; T/ v* w2 Z- }7 D
  781. ; does not currently support this feature (03/17/2002); _4 D$ d0 A( f, Y
  782. ; Set to 1 if running under IIS.  Default is zero.. h+ E* m5 ~, z/ M% N# O
  783. ; http://php.net/fastcgi.impersonate
    " T6 d# ]$ ^0 G) ?1 ~
  784. ;fastcgi.impersonate = 1
    ' A  E+ [. @1 e2 ^9 u, m: ~/ W5 [

  785.   F' o- ?: t5 q7 O# \) D
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . |+ h0 D& X7 C
  787. ; this feature.! I/ u; p$ p. O4 S+ L# S. Y% M" [
  788. ;fastcgi.logging = 0
    . V5 H5 O" }+ Z7 E- W
  789. ; ~2 Q/ a3 d( M, j9 P
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; c. s6 O6 u! M! w- t3 ?7 n
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that7 m. D+ @! ?) }3 i$ Z: ]
  792. ; is supported by Apache. When this option is set to 1, PHP will send3 ~) @8 f8 V+ a" _6 }+ ?8 p
  793. ; RFC2616 compliant header.
    . |- V1 p" N, _6 y& Y6 J3 P
  794. ; Default is zero.
    1 e( [% B' M  s1 N
  795. ; http://php.net/cgi.rfc2616-headers
    ! u/ k  E+ B- I$ h
  796. ;cgi.rfc2616_headers = 01 H4 B3 h) O9 s! a3 J# b- ]

  797.   W! c$ `4 G, ~
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 v/ A# t- d( I2 g+ p$ @
  799. ; (shebang) at the top of the running script. This line might be needed if the6 ]; i* ^/ k' X1 W5 Z, `
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , _* ~' M7 x# Q& |# N: v( l/ I
  801. ; mode skips this line and ignores its content if this directive is turned on.
    $ F* t) t- a% `8 q
  802. ; http://php.net/cgi.check-shebang-line
    / b& F' @* j2 C9 G: u
  803. ;cgi.check_shebang_line=15 f& g; T$ @! V# x  p& E- d
  804. & H, h4 G) B1 f# X3 S) g7 P
  805. ;;;;;;;;;;;;;;;;7 p+ K/ R( Y" C2 M9 q
  806. ; File Uploads ;
    4 {( M4 G) l- X+ E6 h  O4 N
  807. ;;;;;;;;;;;;;;;;. a, I! j5 k4 Y; S' K+ T# g, I
  808. ! T+ R: O& b( n" Y6 S5 r
  809. ; Whether to allow HTTP file uploads.
    ( `6 a! H2 u5 Z! q" m
  810. ; http://php.net/file-uploads0 Y  h& x% U1 ?. S/ w
  811. file_uploads = On
    ( @  R2 I2 y3 @, n: E
  812. 5 K9 P9 c7 V- ]8 @7 }2 k4 e) S' p8 M  M
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 ~3 T# c2 T* a8 ~6 x
  814. ; specified).1 Y- R9 w. X- c$ d, ^8 n/ A4 [
  815. ; http://php.net/upload-tmp-dir
    . ^6 |" m9 s3 L+ {
  816. ;upload_tmp_dir =
    1 O, N: Y! N  u! S3 J3 l

  817. + f, U$ k  f, @# ~6 z5 |
  818. ; Maximum allowed size for uploaded files.) _3 A) C3 L  e  x. |2 W5 y" O
  819. ; http://php.net/upload-max-filesize6 x/ T: n. ?) S: R7 O; T! i& ?
  820. upload_max_filesize = 50M# @" d. {  i- h- u
  821. ; a1 D; K: B2 R" \9 Q
  822. ; Maximum number of files that can be uploaded via a single request
    ' U7 h2 Z8 X. R! ~' Z5 |& A2 g
  823. max_file_uploads = 20
    * O, `+ \; \5 ]! ^
  824. 7 U; P/ z  E1 c1 {6 N: o3 ^3 r3 G1 [! E
  825. ;;;;;;;;;;;;;;;;;;* J0 X; |, i; s  Q- ^
  826. ; Fopen wrappers ;
    3 y( n( d% v$ o+ g: p$ {
  827. ;;;;;;;;;;;;;;;;;;
    6 \# q( w8 ?4 \: Q+ ]7 q6 l
  828.   U3 r- q1 V: @6 D; |+ f7 s
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." t' Z# o- J3 q; A# s: j7 b
  830. ; http://php.net/allow-url-fopen
    ) n, N5 }: O3 S/ l' N- h, Q
  831. allow_url_fopen = On7 n- w+ ]. ?; Z2 F3 C* d" A0 b1 k

  832. 8 t9 @: P7 P! A2 I2 }
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    7 k4 ^$ X, n/ z: n9 y1 D1 |8 C
  834. ; http://php.net/allow-url-include2 F2 n0 T: S! p6 f( [& J
  835. allow_url_include = Off0 f3 x# ?% R  f, I$ |+ m

  836. 0 `7 J# r) G* Q' T& r$ ?
  837. ; Define the anonymous ftp password (your email address). PHP's default setting* ]* W  K1 y7 |7 ?" C
  838. ; for this is empty.1 P0 Y! D5 U9 R5 C! l
  839. ; http://php.net/from
    6 l6 ], G/ o! f1 @- G1 ?
  840. ;from="john@doe.com"
    3 I! `  w! G4 [7 f1 d- f
  841. ' J9 o# ?" u- s6 o, j# E3 V
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    . g: |6 Y+ O$ g9 e$ h2 i- `
  843. ; http://php.net/user-agent# M2 x1 E( G8 w: Y! s% V
  844. ;user_agent="PHP"0 E4 ?9 [% M( R  n; E
  845. : [7 w9 R4 R! e7 M; f
  846. ; Default timeout for socket based streams (seconds)
    " K' m5 w# F4 I. v: v1 ^/ {
  847. ; http://php.net/default-socket-timeout
    ) |1 |- s* d7 t6 F
  848. default_socket_timeout = 60
    ! n: Y( b, r5 v4 P8 c
  849. ) j4 L+ w0 N7 D
  850. ; If your scripts have to deal with files from Macintosh systems,, {9 j5 ~' H6 Q1 A4 Z3 a0 q
  851. ; or you are running on a Mac and need to deal with files from
    ' P( D* v0 y6 F* _# ~- a: l
  852. ; unix or win32 systems, setting this flag will cause PHP to$ `) B% }# [- P4 d  h3 J
  853. ; automatically detect the EOL character in those files so that; V" E: b3 f. [/ d, p% e
  854. ; fgets() and file() will work regardless of the source of the file., y% b% q/ _' z' A
  855. ; http://php.net/auto-detect-line-endings' a: m) x+ @7 i/ X
  856. ;auto_detect_line_endings = Off
    9 I/ K* F; D% I5 {

  857. & l' a0 Z2 N9 I: w4 y! V
  858. ;;;;;;;;;;;;;;;;;;;;;;
    & y+ E) U4 W, d. m) c3 u2 w# X
  859. ; Dynamic Extensions ;
    7 V9 C5 G( k0 a, R
  860. ;;;;;;;;;;;;;;;;;;;;;;  V: P$ n. X/ f8 I; o5 D
  861. 5 P( h- n- Z; u, G3 O% e( p
  862. ; If you wish to have an extension loaded automatically, use the following8 V6 P- N5 O6 A9 [$ g
  863. ; syntax:' ^" r: Z# p- J) U7 T
  864. ;  y$ R/ e- n- h* {& X3 x
  865. ;   extension=modulename.extension# [% I, t+ k  X2 A0 }) Z: E
  866. ;  F% W( L3 I0 F$ C8 j
  867. ; For example, on Windows:
    1 |4 T3 c, T2 H0 ~/ y( G
  868. ;0 w4 {0 \  S6 @- A3 V
  869. ;   extension=msql.dll* m, g% X: S3 w4 B% ^7 `
  870. ;
    , T; z9 f8 i. b( F: H% h# m% c, p
  871. ; ... or under UNIX:4 p" r9 Z" p( D9 J
  872. ;
    - u+ w  O6 Y8 e1 E& U
  873. ;   extension=msql.so3 b% E% u8 f0 S4 z/ n
  874. ;/ {5 ^9 R  o, [
  875. ; ... or with a path:; {$ l8 d, d5 Q" K" r
  876. ;
    , J/ Z" A6 @! ]
  877. ;   extension=/path/to/extension/msql.so$ b1 O  l, w7 M: t( a: U
  878. ;
    9 Q( i  y- [) B$ U# H3 m
  879. ; If you only provide the name of the extension, PHP will look for it in its3 t% o; d% v9 O9 I  }2 M2 Q
  880. ; default extension directory.0 R) \3 {9 q9 g! A
  881. ;4 w1 j; V+ o9 ~, V
  882. ; Windows Extensions
    ) W7 a4 z  \  c( m. F% s
  883. ; Note that ODBC support is built in, so no dll is needed for it.7 n% Z5 N8 B; \  ?
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)7 J; \) B0 u# g
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    : a" X% L3 Z0 V4 O
  886. ; Be sure to appropriately set the extension_dir directive.
    4 y: a5 k0 _, O- [! w# h
  887. ;. a0 e# x' U$ f
  888. ;extension=php_bz2.dll2 M8 J2 N' D% T$ L$ R) U
  889. ;extension=php_curl.dll
      Q) Q% f$ g% f. w' Y* X
  890. ;extension=php_fileinfo.dll
    + q& O0 ~; n% u# c$ o; _1 i6 y$ ~  o
  891. ;extension=php_gd2.dll
      ~1 F" L9 J2 p) Q$ P0 U4 a; D
  892. ;extension=php_gettext.dll
    ) L! ?; D8 z* _. m
  893. ;extension=php_gmp.dll* [1 Y: X% I8 K. r* ]3 |! n
  894. ;extension=php_intl.dll
    7 ^% _8 J: _" v
  895. ;extension=php_imap.dll) Y1 a' X8 e% E/ b
  896. ;extension=php_interbase.dll2 {4 d- b+ l/ t
  897. ;extension=php_ldap.dll
    $ ^; X6 D4 {5 z" b; O
  898. ;extension=php_mbstring.dll: T; Q, l% m6 {+ w6 n5 i; _3 e# u
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - ~3 R5 t3 s* E8 t; v/ l  K/ C
  900. ;extension=php_mysql.dll
    : I+ s( _- b% @' i! ~3 y# e
  901. ;extension=php_mysqli.dll2 x1 ], t7 b" T5 m* P5 ~
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 @' L' {, u8 a- |. |: i: I2 F
  903. ;extension=php_openssl.dll7 L* v& ~: ], k* S1 U
  904. ;extension=php_pdo_firebird.dll+ s8 x, I8 v1 C1 k0 Q1 e
  905. ;extension=php_pdo_mysql.dll5 N, l3 D2 c* S) R8 r
  906. ;extension=php_pdo_oci.dll& n1 }7 m% ^0 h1 a5 m# _, Z
  907. ;extension=php_pdo_odbc.dll
    & s( p. ]% B& ^
  908. ;extension=php_pdo_pgsql.dll  {: I% w% D8 r" \/ Q
  909. ;extension=php_pdo_sqlite.dll
    : b& P. t3 V" x% }) j/ L
  910. ;extension=php_pgsql.dll
    * B+ n! {5 ~" c5 n
  911. ;extension=php_shmop.dll, ]0 }; M9 d6 @) l
  912. & O5 J( J; u" s
  913. ; The MIBS data available in the PHP distribution must be installed. " |: c4 w  n8 k. ~0 U+ d$ H
  914. ; See http://www.php.net/manual/en/snmp.installation.php ) N$ X5 o3 j. X3 T+ f. i
  915. ;extension=php_snmp.dll
    0 E+ w" X6 H$ p0 F1 o+ J4 N
  916. & q: E2 ?6 K, \3 q9 [# T# j3 Q
  917. ;extension=php_soap.dll& P0 |& h: ^4 }: b
  918. ;extension=php_sockets.dll2 F8 X5 x- q$ Y7 ^# s. p
  919. ;extension=php_sqlite3.dll
    2 n. a7 A3 @8 o
  920. ;extension=php_sybase_ct.dll
    - Y1 E1 E. l0 v0 @9 Q
  921. ;extension=php_tidy.dll4 P  p. p  w2 n& t
  922. ;extension=php_xmlrpc.dll. q, N+ j6 h  Q4 e  F4 B- T5 i
  923. ;extension=php_xsl.dll& v, ?% {1 ]- K; w+ K- o
  924. ; w+ c0 o" d0 d! X
  925. ;;;;;;;;;;;;;;;;;;;
    6 o0 b. o+ T% T1 X( [8 R
  926. ; Module Settings ;
    ' n+ @4 u! a1 Z1 d: G
  927. ;;;;;;;;;;;;;;;;;;;3 Q+ j4 V) x4 c4 c
  928. & i& R3 {* c, e5 Y
  929. [CLI Server]& f7 n$ e1 w, n, T) f5 T  J
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 \, J8 Z% ?. w" _7 ^
  931. cli_server.color = On4 ~5 m" l" h8 j, _5 R5 {( _5 m0 d

  932. 0 }9 `8 }  H  l' E( a
  933. [Date]9 t: q0 G1 {# L8 E* E! u- S2 {
  934. ; Defines the default timezone used by the date functions
    4 |5 s6 z+ e2 `' W  L5 J( V. {1 T) n
  935. ; http://php.net/date.timezone9 x3 M& W: v! a. @7 H
  936. date.timezone = PRC( F4 \: q4 ?9 u' }; Y0 g; h
  937. $ E0 [0 _3 e2 p; O' u: ^: U5 x/ k% q
  938. ; http://php.net/date.default-latitude
      t) ]& m$ ^! p$ f
  939. ;date.default_latitude = 31.7667  f7 t7 T- ]/ d- S

  940. 1 e6 R9 Q; N* }% r9 w
  941. ; http://php.net/date.default-longitude( C/ g7 o- q; v2 j* x( X
  942. ;date.default_longitude = 35.2333/ E0 }$ O( y( V9 y8 [  z

  943. 2 x! m' R  c3 `, u5 l8 f' ~1 P% t! f2 S
  944. ; http://php.net/date.sunrise-zenith
    5 E0 F# U9 q' T. R! B' H
  945. ;date.sunrise_zenith = 90.583333
    $ P9 x- @1 {/ w- T/ f4 H) {
  946. ) z. R% S2 U, P. G5 z$ W; y
  947. ; http://php.net/date.sunset-zenith% u9 }: p$ O7 X/ L7 z2 i# J
  948. ;date.sunset_zenith = 90.583333
    & @- ]( O- D: |+ {( i, [
  949. , C9 c/ y" L- A! h
  950. [filter]0 R  @+ a! v/ ~1 S( \, q
  951. ; http://php.net/filter.default/ h+ T, J% p' z8 J% h$ A. h* r
  952. ;filter.default = unsafe_raw
    - i5 d/ }* v6 C" y4 o& \
  953. 4 E* c8 L6 ^& D
  954. ; http://php.net/filter.default-flags
    9 p/ W& w3 q' g1 S: A. K
  955. ;filter.default_flags =4 d0 w0 Y9 T; M

  956. 4 H: A, p3 P6 ]- x* q4 H5 R7 {
  957. [iconv]8 a  P0 k1 a& ~4 F/ M
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: _/ p* G7 t* v3 A
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.) o" n; F5 C) w5 Q& g
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 b! ?0 a. Y( B9 i1 s/ p7 u
  961. ;iconv.input_encoding =/ X( [/ ], j, G3 U1 x4 X2 @
  962. " w) Q1 [( p. |; K" O" B
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead., U; L1 v. p1 @" C% N  u
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) Z( t& U4 W" W
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% {9 D6 _4 o  G2 R
  966. ;iconv.internal_encoding =6 o! a# w* I: Y; K& E; I8 H

  967. 7 `) h% ]3 n, r6 x# {
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.; y( C. u6 P5 ]$ T3 B: t
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ; G9 Y4 k  m5 c3 n# O6 I
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    8 {7 I1 c2 c- o- O
  971. ; To use an output encoding conversion, iconv's output handler must be set; K4 X3 }! a3 Z6 r) R1 a; \# H
  972. ; otherwise output encoding conversion cannot be performed.
    9 U" [- _# m, x: w* V' n
  973. ;iconv.output_encoding =
    # J! {& w+ o3 a, W" `* M4 o* S+ p

  974. , X! q8 P4 J# y
  975. [intl]
    : `3 u# q) d/ N$ G
  976. ;intl.default_locale =
    - {% I1 ~4 J. J( h4 l: q
  977. ; This directive allows you to produce PHP errors when some error  e) `' N0 v0 z9 W3 {
  978. ; happens within intl functions. The value is the level of the error produced.
    & l2 L( w. w+ U0 ?$ W4 C
  979. ; Default is 0, which does not produce any errors.$ z4 ]" K; S8 s5 b( H( B
  980. ;intl.error_level = E_WARNING
    5 G' \; |$ {/ K8 M4 G: }
  981. ;intl.use_exceptions = 0
    % b7 j" y8 H, s
  982. 9 d1 z  o* _* k5 x$ t  Q
  983. [sqlite3]0 T, Y" g$ f4 M# Z; R& R
  984. ;sqlite3.extension_dir =
    4 P) `' D5 v( X; }3 v, i: m

  985. % N' t6 S" G/ M
  986. [Pcre]
    $ I4 a+ D4 ]" }+ D2 q
  987. ;PCRE library backtracking limit.
    1 O  j- F0 \$ b, G  O' P
  988. ; http://php.net/pcre.backtrack-limit
    $ N- |7 x! c, k$ _% K
  989. ;pcre.backtrack_limit=100000
    , b! J& K" r2 h9 N0 G* H8 w' B

  990. . P/ @! C: N# ]" F* `4 C; C
  991. ;PCRE library recursion limit.9 W( H: ~, s/ F( d/ l
  992. ;Please note that if you set this value to a high number you may consume all) m0 Q- D. g9 P
  993. ;the available process stack and eventually crash PHP (due to reaching the7 T) i1 B2 d$ t
  994. ;stack size limit imposed by the Operating System).
    6 Z! N7 M1 O9 z# _5 g
  995. ; http://php.net/pcre.recursion-limit
    ) Q5 k5 t# J) B
  996. ;pcre.recursion_limit=100000
    : N' }7 |# \: w$ X& Y
  997. & ?- q9 ], k. q* u6 ^; w5 W* C( |* M
  998. [Pdo]% |  Q' r5 S* f) P$ K
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ x$ J8 o/ H" R* r' K% l9 r
  1000. ; http://php.net/pdo-odbc.connection-pooling8 h, `; Z# ^% {' D* Y- D' C
  1001. ;pdo_odbc.connection_pooling=strict8 a* F. Z6 h1 Z8 j/ t8 }5 n! ^6 U! j
  1002. ' q' g7 ]- d$ V! x& p
  1003. ;pdo_odbc.db2_instance_name
    2 M. D: d% w7 ]! [  G4 ]- }- N* Q* _
  1004. ) e: R: O# @, x4 [, d1 L, J
  1005. [Pdo_mysql]) l: b/ A4 i. [! u* `, \
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; x$ G7 _) g- u
  1007. ; http://php.net/pdo_mysql.cache_size
    & _% b# K6 f* M3 B+ h
  1008. pdo_mysql.cache_size = 2000& k# [- x  w# @- b

  1009. ( e6 |' d. X: o2 ]4 H
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & D! B& c5 l5 N$ I1 P$ l- W2 G/ \
  1011. ; MySQL defaults.
    / E' g0 s0 j8 @+ y, \
  1012. ; http://php.net/pdo_mysql.default-socket% L+ m. z. T) Y
  1013. pdo_mysql.default_socket=
    1 U0 d: _2 ]5 Q# D0 E; Q  B
  1014. % x1 W4 `; g) Y- d  \# k7 `9 L" a5 \* p
  1015. [Phar], c) j! ?6 }7 @
  1016. ; http://php.net/phar.readonly3 T/ L; o- {& `
  1017. ;phar.readonly = On9 Q, v+ C# |3 |: _- d
  1018. 6 j" A! G' e8 U) {  e1 t! P) |. B
  1019. ; http://php.net/phar.require-hash3 K" q1 Y: D( U' g# e" H, W7 o
  1020. ;phar.require_hash = On
    ( ~# y! Y' Y3 k, [' z9 K. N) p" j
  1021. & _& f. T; @0 k3 ?+ h! @) C
  1022. ;phar.cache_list =% R0 u* O, \. h% i$ h- R
  1023. ( L  ]" R2 a9 d$ S. B+ X
  1024. [mail function]
    4 e3 X: G9 u% x
  1025. ; For Win32 only.
    ; }+ s; @* V0 j4 H
  1026. ; http://php.net/smtp) |; G9 x$ R: ]! d2 X7 l
  1027. SMTP = localhost
      ?3 b/ I/ j$ r! R2 ^6 z( h+ ~! u
  1028. ; http://php.net/smtp-port/ Y9 i& Y! r& u
  1029. smtp_port = 25: T- y( l& n) _  Q
  1030. . T' j6 T; ^# L7 h5 G
  1031. ; For Win32 only.
    9 d* l* \0 @. m1 w: }
  1032. ; http://php.net/sendmail-from/ ^) o6 m" m' X# p0 ]/ e, }7 {8 [
  1033. ;sendmail_from = me@example.com4 X, h7 A. R6 c
  1034. ' y  }; o9 L1 r8 O% ]# ]& X" e
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ) f; A* `: ?9 V4 c" U/ A
  1036. ; http://php.net/sendmail-path/ P2 l* e6 `, z8 n5 D. ^
  1037. sendmail_path = /usr/sbin/sendmail -t -i4 T; Y7 B+ V6 F$ r# j
  1038. % L" K' H- k/ Z. H: G. H' _9 J
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    1 b; e+ a% r7 k/ @* v
  1040. ; to the sendmail binary. These parameters will always replace the value of3 ~9 k6 Z" j) ?% ]
  1041. ; the 5th parameter to mail().
    ; C' u4 S% R, U' P( L4 h
  1042. ;mail.force_extra_parameters =* O) b8 K& s- G3 I+ W
  1043. 2 L5 \# _; P' e, H- F
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" h$ g4 d5 A2 I# Y  k
  1045. mail.add_x_header = On
    1 Q9 t/ o( p4 h8 v% _  E' M

  1046. $ j2 s' `4 y, Y2 `2 m+ u, Q
  1047. ; The path to a log file that will log all mail() calls. Log entries include$ l5 A! ?* e6 t7 U
  1048. ; the full path of the script, line number, To address and headers.
    . p& c/ d5 a2 ]+ K& n
  1049. ;mail.log =
    : m, v, L( r' Q- P8 u
  1050. ; Log mail to syslog (Event Log on Windows).
    / n9 @6 r& n$ w$ X( x, f4 x
  1051. ;mail.log = syslog
    6 ?# Y/ g% @5 [4 ~8 K$ E/ @  t

  1052. , t; B' Y( y: X
  1053. [SQL]
    ' o1 _" A2 }/ V
  1054. ; http://php.net/sql.safe-mode% N6 K0 y) Z% E2 N4 v$ V' c! f
  1055. sql.safe_mode = Off
    8 V7 ]; R2 O! e9 h6 S1 a

  1056. - f1 |& |) U/ g; ~2 c& v0 g1 o5 B
  1057. [ODBC]
    " O+ N" {) m7 Q- l  l
  1058. ; http://php.net/odbc.default-db+ _+ M) C4 A* `/ j5 }
  1059. ;odbc.default_db    =  Not yet implemented$ O6 F3 ?* r3 u( |5 W3 N

  1060. , g  t3 Y& i) L- V1 `' V
  1061. ; http://php.net/odbc.default-user
      x* Y5 a9 [- T; \; `0 x' f
  1062. ;odbc.default_user  =  Not yet implemented! c7 w, z, |) V% Z4 d2 Y
  1063. 4 Q8 \, L, @: M6 A, h2 Y7 C2 k
  1064. ; http://php.net/odbc.default-pw
    4 _2 {2 C* ]3 @  [" b# l
  1065. ;odbc.default_pw    =  Not yet implemented/ |$ y) Y/ l7 M$ y' |* C
  1066.   l' s* [$ ~7 r1 c+ B2 a" m  b
  1067. ; Controls the ODBC cursor model.
    , |5 O% z# [5 k; z* W
  1068. ; Default: SQL_CURSOR_STATIC (default).9 \! M$ I$ }* `5 {
  1069. ;odbc.default_cursortype5 H6 L4 e/ K4 n4 m6 ]' {
  1070. ) ~5 b4 @- K# u1 L4 v
  1071. ; Allow or prevent persistent links.$ Q3 a% B1 W# s+ H6 Z/ v* S2 v
  1072. ; http://php.net/odbc.allow-persistent2 y+ g; n  K9 {* \- H  h
  1073. odbc.allow_persistent = On' ^6 _! a+ X* ]# W& o' T
  1074. + j( V2 c7 n" w( P& F' U6 t% Z+ V
  1075. ; Check that a connection is still valid before reuse.
    . U' Q8 ~* f# r2 q
  1076. ; http://php.net/odbc.check-persistent
    : R6 W) I9 W: v, [$ p: T( m, D. N
  1077. odbc.check_persistent = On
    , ~8 {* `  B1 e0 [

  1078. , ^2 C- d2 `% H# I  N! [9 U& k
  1079. ; Maximum number of persistent links.  -1 means no limit.$ v  C1 A# p- |7 \
  1080. ; http://php.net/odbc.max-persistent
    : W) q, Z' F0 w- A6 [8 N
  1081. odbc.max_persistent = -18 v1 U3 V( o5 J8 q" w- R
  1082. 6 B: {! d* U: W4 l; Y2 t' ~
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % U/ u0 u: N: F  h3 O+ A  F
  1084. ; http://php.net/odbc.max-links
    ' o+ |( H% }. |1 `' M* j* C/ h
  1085. odbc.max_links = -1( M. x: v3 C8 O0 o0 ^7 l, \

  1086. $ i7 Z* l$ k7 j2 \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means0 `9 l( A% E# \7 ~' X
  1088. ; passthru.4 P5 }& |5 Q% e6 t7 c/ @
  1089. ; http://php.net/odbc.defaultlrl% V) c8 z- U) C7 k0 m; h. B
  1090. odbc.defaultlrl = 4096/ k' j2 i, P- q5 s- j9 U  v4 D! x  i' ?
  1091. 3 M+ V6 t' P" Z$ \0 d
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.( e3 w8 a* B  H- \' }
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    $ v+ I, G) g+ f8 ~3 D6 W2 L. u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    - p- s- B6 B, q* @# [1 C# k
  1095. ; http://php.net/odbc.defaultbinmode
    + j  n. R. }0 x( z+ i* Q
  1096. odbc.defaultbinmode = 1
    & G. w) t  h- _+ _7 ~

  1097. 6 h* @4 u- M/ [2 ]  o& n8 ~1 B
  1098. ;birdstep.max_links = -1, \! T# \3 Q2 e" W3 \0 M( @3 {2 ~4 e
  1099. & }( B1 M) s' b
  1100. [Interbase]$ E# h/ q. j# R' r" L
  1101. ; Allow or prevent persistent links.
    + V6 Z5 V8 j! f$ Q
  1102. ibase.allow_persistent = 1$ i( C9 _/ o; D4 J6 Z4 ]7 y

  1103. + B; o3 ]& {. X+ r$ N0 U! N
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ; P3 U: g  j, G& U  Q6 j  P
  1105. ibase.max_persistent = -1
    1 p0 [8 F  r! f: m- k* a

  1106. ! g9 F& `; [$ n, D
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & L7 B8 K% K8 W1 V' m; F
  1108. ibase.max_links = -15 }7 r/ s9 a5 ?2 C0 E

  1109. ; \1 q# b( ~( ^+ v7 T. J* G6 g- ?
  1110. ; Default database name for ibase_connect().
    0 |0 ^$ F0 G/ p4 I, E
  1111. ;ibase.default_db =
    2 p7 \/ q1 ^0 E$ ]
  1112. 9 g% f0 G2 G# g: l. s+ Y4 }' Y* Y
  1113. ; Default username for ibase_connect().
    ) S4 Z( j. V- p- o9 `
  1114. ;ibase.default_user =
    + [3 w/ W  ^# Q9 C! C9 f
  1115. 3 f6 P: x: N' ^6 e  @. C: p
  1116. ; Default password for ibase_connect().; y6 z' L# _7 \) e$ b
  1117. ;ibase.default_password =
    ) L% H) P+ M* @7 F1 b: F" K6 W

  1118. - B5 q0 s7 l6 ~2 B( _. a
  1119. ; Default charset for ibase_connect().% k0 a* r) ^# L2 s6 X3 R/ E
  1120. ;ibase.default_charset =
    1 v' r# T, B( P' w0 T; J* k
  1121. 6 v* s6 W; I+ N4 ~5 g; I6 e
  1122. ; Default timestamp format.
    # e7 t5 p* i- I- }
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ z) @  H0 T! R; |+ s

  1124.   i4 j( t5 \1 k& u8 s
  1125. ; Default date format.
    6 F! v% t  {& M1 H9 l4 B& o
  1126. ibase.dateformat = "%Y-%m-%d"
    0 F5 x/ p0 m! k9 }

  1127. 3 l( |. E# V* Q2 w' z. ?7 q: |
  1128. ; Default time format.$ k- x  [/ q$ z4 _9 v* ?
  1129. ibase.timeformat = "%H:%M:%S"8 O7 I+ }) O& H

  1130. ( H4 J/ h$ Q# A; o5 q
  1131. [MySQL]4 W4 Y- F9 T: Y/ J0 |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    $ I  `7 V9 ]1 ~) u1 @: w  j& |- `
  1133. ; http://php.net/mysql.allow_local_infile/ H) H! D7 ~. ?1 p& x. |
  1134. mysql.allow_local_infile = On
    " G! ^' h. I* y( Q( O. e6 M
  1135. . C2 i3 u# i, P6 S6 M8 h
  1136. ; Allow or prevent persistent links.
    : F+ v5 @$ Z; Z' x
  1137. ; http://php.net/mysql.allow-persistent: s, T: W& `$ t6 m3 A3 W' a
  1138. mysql.allow_persistent = On
    9 d0 f2 k' h6 ^) l1 h  k

  1139. & \+ W2 Z3 x# ?1 E
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( V1 Z& C6 Z5 [( F
  1141. ; http://php.net/mysql.cache_size
    , L' }6 z" s& {. B$ `$ v
  1142. mysql.cache_size = 2000
    ( E9 E* H+ c; I7 A5 U
  1143. 0 D3 w9 j' G* g- ^- w! r
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ; y: O- K. h1 T+ d$ H
  1145. ; http://php.net/mysql.max-persistent( x; E0 }2 m6 T& L( ?6 n
  1146. mysql.max_persistent = -14 H( ?; I' U$ \+ i# }9 f' L
  1147. , _: M0 d1 L' o1 b/ x
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . ?8 B8 n9 C! T0 _+ G) i
  1149. ; http://php.net/mysql.max-links
    # W6 v$ Z; M+ I7 D- J
  1150. mysql.max_links = -1
    / H/ b( {3 u  w! ?+ p- {: P

  1151. 5 p6 e8 k! i  W3 x' m: }5 f
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ) u" k% Z9 B  k0 t, d
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 a6 `- z& k+ p) a9 `/ m( S. a3 b
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! X4 g: J2 y) `' M( S4 U
  1155. ; at MYSQL_PORT.
    * N0 M& u2 B: [& o- ?7 r/ |2 W; \
  1156. ; http://php.net/mysql.default-port
    ' P+ P0 I/ Z6 t
  1157. mysql.default_port =
    $ Y/ [$ f& s( E* W. H& ^2 A) ~

  1158. ) ?  h/ w* M2 |# N+ C8 G2 j
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) j, F3 Y3 [- x) e
  1160. ; MySQL defaults., p2 a4 s. {5 u/ Z* q
  1161. ; http://php.net/mysql.default-socket
    # w  F/ x! x3 p/ U2 K
  1162. mysql.default_socket =
    9 s( }9 r9 G4 Q3 a; H: ?
  1163. ' P2 f5 v: B7 h4 r' M2 P
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).( N6 S. C- x( K& O5 R2 B2 M/ z: b
  1165. ; http://php.net/mysql.default-host2 _; K' M5 K0 T, V% Q2 y% s
  1166. mysql.default_host =0 V  g: K+ @$ N6 j

  1167. / G, j' m. i  Y! f
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 H, }0 p# A3 P) N3 ?* H; R- {
  1169. ; http://php.net/mysql.default-user
    2 ~9 V5 x4 [6 a7 q2 m, d4 w
  1170. mysql.default_user =6 m( t; ]- Q- \. G

  1171. 2 U* Z  K7 r" N# I+ T
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    $ B2 Y6 C$ o$ |8 a, J  t- p# X
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.7 t9 X3 n& g9 \# Y+ k) G, _
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")/ r5 w( o1 |! O* B, b
  1175. ; and reveal this password!  And of course, any users with read access to this
    : Q- G; u) Q) m+ {3 F9 T
  1176. ; file will be able to reveal the password as well.+ |' E1 W% {$ K  r% d
  1177. ; http://php.net/mysql.default-password% b. g6 Y8 [* f% C; F  {: C" c
  1178. mysql.default_password =
    0 h9 Z# T: b$ b. M5 z9 b

  1179. ' F! O5 w1 E/ ^; `3 h+ O
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit  Y2 ^7 g3 S$ w8 u
  1181. ; http://php.net/mysql.connect-timeout& ]  S5 H. D4 Y6 q0 Y5 `4 X
  1182. mysql.connect_timeout = 60
    " n# `$ D4 ?# i( r4 [* }

  1183. & Q9 l" J5 q; l3 ]5 Q6 ~
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ) i$ [: J8 o2 d' C- z
  1185. ; SQL-Errors will be displayed.
    4 f  T% Q4 s* G1 n( q1 M6 b
  1186. ; http://php.net/mysql.trace-mode0 B% ^5 ]6 {- h3 i4 v& o# A
  1187. mysql.trace_mode = Off6 D7 a9 P. k5 t

  1188. 1 q8 |: X4 A. q$ f9 x' j$ @
  1189. [MySQLi]# i$ G# P* m9 H. s. i6 {- r$ p

  1190. ! R% j& ?' ?" l
  1191. ; Maximum number of persistent links.  -1 means no limit.  C+ d) `% f, g
  1192. ; http://php.net/mysqli.max-persistent
    : i5 E5 E  c4 ?9 k9 G7 j6 d1 G! g
  1193. mysqli.max_persistent = -1. i) \+ H7 n1 W& L

  1194. 1 Z; E+ Z$ ]  `. m3 U
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 J( U) f7 n4 @; r# @8 E# B9 i
  1196. ; http://php.net/mysqli.allow_local_infile- }+ P! s1 @; h6 C
  1197. ;mysqli.allow_local_infile = On
    , |! n5 c  h6 _' k, z* j) j2 e
  1198. ! V7 |5 J  t6 a) s5 J7 ?) W  z, D
  1199. ; Allow or prevent persistent links.
    * ^$ ?! P" y% S4 b. o5 X
  1200. ; http://php.net/mysqli.allow-persistent  h  ?& k* s. F# ~3 ]
  1201. mysqli.allow_persistent = On
    - t! h$ N1 \( [# w9 A3 j

  1202. " {- V8 m( X6 h+ T) a, C
  1203. ; Maximum number of links.  -1 means no limit.
    2 g4 m  ~+ ]' h( z* m! _9 j1 m
  1204. ; http://php.net/mysqli.max-links
    ; y7 s3 k- x7 D: |1 X
  1205. mysqli.max_links = -1- B! P; l* B, t) U2 W

  1206. " d% N/ v( ^& l2 J8 `1 n0 _% i' d
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache- p7 i: {8 o8 w" B8 c, e8 @* A
  1208. ; http://php.net/mysqli.cache_size
    ( X) y+ J2 ^( ~: ~# c
  1209. mysqli.cache_size = 20003 O  l  ]/ D7 N9 ]* U. G1 i+ }
  1210. - z6 o" D' E/ h, q: S1 z/ r) c
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use. d( P% m, O# C0 p, r
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 V5 [/ y+ T2 P" e# T) X' C
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + K+ p6 s& `, }: W3 R8 s4 J
  1214. ; at MYSQL_PORT.7 T  d4 U' i' D
  1215. ; http://php.net/mysqli.default-port7 F, j& g6 j" Z  E$ d5 S
  1216. mysqli.default_port = 3306
    ; R& r& B. E0 i' R
  1217. 2 M& t" ?3 X# G) q. y
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' d0 L  ~9 B+ |+ ~" d( W. ?, d
  1219. ; MySQL defaults.& p. F1 L6 H* f9 ]8 u
  1220. ; http://php.net/mysqli.default-socket
    + M% I& z9 b2 M2 L
  1221. mysqli.default_socket =- E8 F$ }  K. h6 k
  1222. 4 a) n1 M( F8 @/ B7 r
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' A0 z, j0 s5 w- G3 T1 p7 l: ?+ c
  1224. ; http://php.net/mysqli.default-host
    4 D( i: V( L* F  h5 J/ j1 y
  1225. mysqli.default_host =
    6 @) d% [5 S5 Z; E* l7 V. r

  1226. * n1 X+ c2 x  Y$ L, T& b+ x( d
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % {' j9 `. Y. f& _9 s& M
  1228. ; http://php.net/mysqli.default-user3 l% C1 @' q* \2 E
  1229. mysqli.default_user =9 V% P, c* A+ h3 N
  1230. : Z8 S. \( K& a$ E4 l/ S  C/ H$ V
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    6 U) y  W0 H: ?" Q+ U; ]
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.& a# r& h9 ?* i* g0 j9 e
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 `$ h% n/ @7 W' V  T# v: v
  1234. ; and reveal this password!  And of course, any users with read access to this, X4 k" l9 O& \0 {( Y' {* q# `8 ]
  1235. ; file will be able to reveal the password as well.
    9 Q: }9 i" o# I
  1236. ; http://php.net/mysqli.default-pw
    & g9 l. p5 Q3 p9 D; V$ s4 p
  1237. mysqli.default_pw =1 ?3 j, \# i6 N  R* z: D! B
  1238. 1 X$ N# G; e- ?& K+ o
  1239. ; Allow or prevent reconnect: r! A, T0 Y% ?0 P1 ?; \& |
  1240. mysqli.reconnect = Off( i9 p, z" I: u, z" i2 i' I

  1241. 1 H8 t+ \& y% e9 N9 l8 U
  1242. [mysqlnd]( c2 X; f" L+ w$ O5 g: r6 o& L. N2 |
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be5 b$ r2 X! h) U
  1244. ; used to tune and monitor MySQL operations.
    / `) X, D2 i% E
  1245. ; http://php.net/mysqlnd.collect_statistics
    1 }1 P3 Q+ }$ f1 r3 s1 r- H
  1246. mysqlnd.collect_statistics = On7 c; ]- a* T4 _
  1247. 8 ?/ ^/ N( s, U
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ a+ a4 |4 K$ s! D( T
  1249. ; used to tune and monitor MySQL operations.- [7 U: t8 e5 h7 P% g
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    8 c1 g" u6 J3 Y) V) ~% K0 Q
  1251. mysqlnd.collect_memory_statistics = Off
    9 r4 {6 b* p7 N  e
  1252. / |& A! B' D; W/ D* n
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ; W! [& ~+ T& |6 V9 A7 w
  1254. ; file.
    $ N1 F8 ^: g3 Y/ K1 {! e
  1255. ; http://php.net/mysqlnd.debug
    / M; f5 k/ P7 B- h  P
  1256. ;mysqlnd.debug =
      Q+ m( @. {6 Y( M6 U0 ~
  1257. 6 t9 @. M1 H+ ]! Y
  1258. ; Defines which queries will be logged.
    ! }, y6 [7 A9 d* }
  1259. ; http://php.net/mysqlnd.log_mask; N) O8 d% c, W' D2 _- G
  1260. ;mysqlnd.log_mask = 0* S4 N, M; P* Z( u
  1261. ) O( v) ]; ?/ Y( b5 T5 K. p; n  w
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 A. X) r" `8 `- Y
  1263. ; http://php.net/mysqlnd.mempool_default_size3 l% j9 E& o+ d! c- Y; m
  1264. ;mysqlnd.mempool_default_size = 16000! M+ i- |1 x) G4 \
  1265. 0 d% _+ M- `) f6 A
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.8 u* |" a0 O; @" G4 U. ^5 Y# [
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size' `; H( I+ U4 w. ~
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ; X/ t) V6 n; F' E$ r. c; R- N% Z

  1269. . J( ]* \; r4 ]) u( @5 l
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in1 b) }* c* `* `( Z/ p; R, h. c% Z
  1271. ; bytes.1 E* F# k2 x% J5 b% q
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    % z# S9 J! a1 S' `7 |+ L
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , [. ~% x: g% E3 `4 Y, _

  1274. - b5 m7 o  j$ h6 W
  1275. ; Timeout for network requests in seconds.
      S5 g, i, a2 Y3 ?( p1 ^/ f9 A
  1276. ; http://php.net/mysqlnd.net_read_timeout" N' x( _  ]( K
  1277. ;mysqlnd.net_read_timeout = 315360008 S7 W* ?, E: e
  1278. 4 _8 _' Q- l! n( u" Z6 e/ C- ^9 G
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, J8 @! w- c" ^
  1280. ; key.. V8 t9 F# p) y- v4 I7 K
  1281. ; http://php.net/mysqlnd.sha256_server_public_key. o( ~. D; C1 \4 f' q/ U
  1282. ;mysqlnd.sha256_server_public_key =
    * ]( j+ y3 R& D2 F) i
  1283. 9 Q2 I' p5 n* U* N& r$ z) i5 Y
  1284. [OCI8]
    ' W1 j5 c) M, z2 K6 f7 @7 M, \

  1285. ' Z; U& c( x! u% W& L! k
  1286. ; Connection: Enables privileged connections using external0 D, m* ~0 l7 K2 }0 B& I8 e
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA), `% @/ @; X5 j0 i. z
  1288. ; http://php.net/oci8.privileged-connect
    ; M( Z, [/ q2 X% C; v# z' Y
  1289. ;oci8.privileged_connect = Off
    ! c$ d& ^" Q. u$ n
  1290. ' j( v  u" x- S8 Y! z: T4 P
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    3 X+ a# J1 E  f! Y3 X" P! }' i
  1292. ; process. Using -1 means no limit.
    ! I5 r2 @6 @1 j8 k# o
  1293. ; http://php.net/oci8.max-persistent' O& S' w+ o9 K0 a9 b
  1294. ;oci8.max_persistent = -12 [0 m5 ]4 ^' b8 E" b4 `* g
  1295. 1 Z. P/ L: i/ q& a* s0 M
  1296. ; Connection: The maximum number of seconds a process is allowed to
    . N. [; S9 X: [- j- v
  1297. ; maintain an idle persistent connection. Using -1 means idle1 @; t+ D& s0 z; ~: q- ~! G
  1298. ; persistent connections will be maintained forever.& Z5 o! h" k- H3 d- {+ K9 B, `
  1299. ; http://php.net/oci8.persistent-timeout
    0 p: ?" \9 v/ Q- D
  1300. ;oci8.persistent_timeout = -1: @" e/ K9 ~/ f$ O: F
  1301. + D; F- P. T$ O8 B! @* q/ q5 D
  1302. ; Connection: The number of seconds that must pass before issuing a9 W+ K, N4 N( D
  1303. ; ping during oci_pconnect() to check the connection validity. When, Q+ M- x: M$ Z+ j+ \
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    2 k# O6 A; }+ A- u
  1305. ; pings completely.5 F8 |$ p$ V# W1 p- Y
  1306. ; http://php.net/oci8.ping-interval
    9 O- Y0 r; c3 A7 X/ Y  M5 t
  1307. ;oci8.ping_interval = 609 S3 a6 G& t/ B0 K
  1308. 3 u, O. q6 l0 h7 s
  1309. ; Connection: Set this to a user chosen connection class to be used' h6 u" `) `$ d& m
  1310. ; for all pooled server requests with Oracle 11g Database Resident- h" s% V2 _! d4 o% L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 k$ ?0 V7 m: T' N
  1312. ; the same string for all web servers running the same application,7 v! g" g& B# h; h
  1313. ; the database pool must be configured, and the connection string must
    1 l3 E2 i" ^9 I* s* L7 F+ X
  1314. ; specify to use a pooled server.$ u4 q  X+ t9 ]3 M1 V4 q
  1315. ;oci8.connection_class =: Q. j4 w. {- U$ D, J6 A
  1316. 5 R2 w9 o$ m- P# Z- {9 S
  1317. ; High Availability: Using On lets PHP receive Fast Application+ |- l! S) p  P- E* O* A# s' e
  1318. ; Notification (FAN) events generated when a database node fails. The9 b( t% E. d% ^7 W4 V
  1319. ; database must also be configured to post FAN events.$ ^) @1 n! ?& L1 g! {
  1320. ;oci8.events = Off1 l" g. j7 u, D9 G! l
  1321. ' \' @! j& C  h  T
  1322. ; Tuning: This option enables statement caching, and specifies how9 {6 [, e# C" P4 A8 R0 ^, q, D# \
  1323. ; many statements to cache. Using 0 disables statement caching.
    ( s0 `! P% |, q0 ?& J; G& {
  1324. ; http://php.net/oci8.statement-cache-size
    ( I; A3 l8 r  U( ]& w
  1325. ;oci8.statement_cache_size = 20
    / A0 L7 P; ]4 D/ @4 o: _

  1326. / Q4 e3 J: m1 E8 g* N) l
  1327. ; Tuning: Enables statement prefetching and sets the default number of( Q# K6 ^9 u! L' V& m
  1328. ; rows that will be fetched automatically after statement execution.2 Q4 M- |8 V( t6 o
  1329. ; http://php.net/oci8.default-prefetch
    + s2 X& @; ^$ S2 G
  1330. ;oci8.default_prefetch = 100
    4 x4 D& {  P, _9 h

  1331. 1 j/ C: x5 E6 T) t$ a# D9 _
  1332. ; Compatibility. Using On means oci_close() will not close
    : ?1 E7 R0 T+ ^1 o/ v) Q" C! }
  1333. ; oci_connect() and oci_new_connect() connections.
    , A) ], p) z& f& J6 {5 I+ _3 U, e
  1334. ; http://php.net/oci8.old-oci-close-semantics1 ]* ^7 ~7 a/ p1 C4 _& Y
  1335. ;oci8.old_oci_close_semantics = Off$ M# F8 x; \9 p4 ^
  1336. . {) [# h/ @4 p$ k
  1337. [PostgreSQL]3 t6 w; V1 T; n; C$ I& {# ?
  1338. ; Allow or prevent persistent links.0 K1 ^1 x* K' {% `+ h7 |  [& a) w
  1339. ; http://php.net/pgsql.allow-persistent4 M4 T; ]1 w) S% s4 }. G* K
  1340. pgsql.allow_persistent = On
    0 E, D2 g5 F) E' e# L
  1341. " R. D& m8 n, f" b- c8 z- C: ~
  1342. ; Detect broken persistent links always with pg_pconnect().9 r9 s2 R7 l' d: L; H+ J- o
  1343. ; Auto reset feature requires a little overheads.% K7 [4 S- R2 k: `
  1344. ; http://php.net/pgsql.auto-reset-persistent
    8 ?. F* i6 {8 u9 n
  1345. pgsql.auto_reset_persistent = Off
    2 ?6 V, }+ d; _; t* [  K4 X- i8 [
  1346. 7 |/ Y7 H: N9 {$ G8 A- ?# Y( N
  1347. ; Maximum number of persistent links.  -1 means no limit.
    5 Z2 f$ B( J6 L% C9 q8 j
  1348. ; http://php.net/pgsql.max-persistent% [; n" R0 G3 R" I* f
  1349. pgsql.max_persistent = -1' Q; h' W0 H; j0 Q

  1350. ( j& G: A" l+ o; ?8 a  _
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.4 Z1 n0 d8 H9 g- p5 S- W5 C9 M
  1352. ; http://php.net/pgsql.max-links, f2 G$ e  u7 y1 v! V
  1353. pgsql.max_links = -1
    ; h; W% ?8 w7 w
  1354. + \9 T2 y. ?# g9 e
  1355. ; Ignore PostgreSQL backends Notice message or not.
    % q  v+ E6 O& Y, b5 C9 F: I
  1356. ; Notice message logging require a little overheads.4 Q) `' O/ T& M3 t# t7 ~8 ^
  1357. ; http://php.net/pgsql.ignore-notice& [! z. ?" A* k, @. }
  1358. pgsql.ignore_notice = 0
    , |$ v! _2 v! ~# O; x
  1359. 6 a& p0 B2 |: {1 s% g
  1360. ; Log PostgreSQL backends Notice message or not.
    ( L2 q$ T6 M2 q3 @  L
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 S5 A8 A% G6 g& z& k
  1362. ; http://php.net/pgsql.log-notice- a9 M2 _" K; ?7 n9 `& l4 t8 @" |
  1363. pgsql.log_notice = 0/ S% A# @4 J+ w1 o! \- G# V! w

  1364. ' G- f0 C2 h6 R; E& G9 k, ^
  1365. [Sybase-CT]" ^. h* t8 N! r4 N
  1366. ; Allow or prevent persistent links.
    ; w1 C! P# U; w( X: g6 U% z5 M
  1367. ; http://php.net/sybct.allow-persistent
    1 V, m4 L$ H& u. `' k
  1368. sybct.allow_persistent = On, ~1 \$ K0 E7 C* M/ r1 G4 M

  1369. + w' H; R7 N# \$ @2 q
  1370. ; Maximum number of persistent links.  -1 means no limit.
    " A; D2 a1 n' Y4 a% G8 O; W4 o
  1371. ; http://php.net/sybct.max-persistent8 U: T& ~) z2 B( e5 |
  1372. sybct.max_persistent = -1
    1 q; a* Q: G+ J! @# q
  1373. ( e. F6 B6 I, h3 Z7 M
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., t: u5 R4 |# x/ k. x+ G8 |* L+ g. b
  1375. ; http://php.net/sybct.max-links  w$ k, R& V4 Y, G8 A0 |9 W
  1376. sybct.max_links = -18 v7 F( M8 u0 C4 ?; K  ?
  1377. ( ~9 Z# _5 W( [) V6 R
  1378. ; Minimum server message severity to display./ P5 v, p% y2 L7 q' ~# ?
  1379. ; http://php.net/sybct.min-server-severity
    7 U1 i5 _2 p$ }7 B# Z: V' J
  1380. sybct.min_server_severity = 10
    - g% d# H& p4 T( N8 w4 J8 Z

  1381. # }5 S$ V3 G8 u8 u' G) n/ c4 J! h, H
  1382. ; Minimum client message severity to display./ v3 V7 t, L- i, p
  1383. ; http://php.net/sybct.min-client-severity
    * G) _9 y8 D, S/ k8 I
  1384. sybct.min_client_severity = 10
    ' o6 C7 X/ a* Z

  1385. 7 i* z: F+ U" Q; |! I
  1386. ; Set per-context timeout2 [) h3 {. i1 H  s; W8 E
  1387. ; http://php.net/sybct.timeout* y5 b# R6 w8 \2 Z
  1388. ;sybct.timeout=
    $ e1 N5 w' Y2 G5 `! @8 \7 y
  1389. 0 N6 U+ g4 \# O0 W. _1 t7 }
  1390. ;sybct.packet_size
    ! R- I  ~# r* {8 c4 Q
  1391. 0 a( ?2 ]$ M' X4 N1 ~1 u
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    + C- g, j6 g8 c( U8 r
  1393. ; Default: one minute
    9 ?5 q9 ~# t% \1 F. z1 f: h
  1394. ;sybct.login_timeout=+ V$ ?! c  f( k& h) g% X

  1395. / V$ h9 {" b% Z! B' O1 l3 a- Q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.+ ]6 C* v! r6 l. t
  1397. ; Default: none. Y. |; \: A, B$ \6 H$ ~, T
  1398. ;sybct.hostname=7 e* B# }6 @( {2 P# b3 F
  1399. - w2 j0 e; d; g0 P% z1 m( O' e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    & g3 `( J1 }7 ~2 w
  1401. ; Default: 01 g- \5 w3 Q) [7 H( U
  1402. ;sybct.deadlock_retry_count=+ A8 R* M' d0 j0 l7 F
  1403. ; W$ t* E+ O# R! V, E
  1404. [bcmath]7 n/ A& ]( r  v
  1405. ; Number of decimal digits for all bcmath functions.& F4 }# \0 e4 a+ J! y. V6 [
  1406. ; http://php.net/bcmath.scale
    " s/ @# t5 R/ U' b7 V/ P. X3 H' B7 S
  1407. bcmath.scale = 0( u+ p$ [' f2 K9 N
  1408. 9 }! W) K/ @( f0 C/ U" h
  1409. [browscap]
    - K7 l$ b$ y: w2 S" L  l( q
  1410. ; http://php.net/browscap7 N" C) B! u- B; `- X6 M
  1411. ;browscap = extra/browscap.ini; k; m- w2 [# S1 S
  1412. 4 Y; l4 M3 g# N3 r. e
  1413. [Session]3 S# |: h6 U+ q7 V' l2 k$ }5 B
  1414. ; Handler used to store/retrieve data.
    ' }) ?8 V# \& Y2 N
  1415. ; http://php.net/session.save-handler* k9 @6 ]! D9 ^% W7 f
  1416. session.save_handler = files" F0 p; V3 F2 P0 q* i

  1417. : ^" _( E) o' o  i4 A1 D& z
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    1 ~5 v# f/ H  I) o6 |4 e2 y6 a, H3 S. X
  1419. ; where data files are stored. Note: Windows users have to change this
    ' Z1 `: _: [7 G2 P" U7 u( C) H
  1420. ; variable in order to use PHP's session functions.7 y0 j& _. |8 u1 I7 I8 `3 M
  1421. ;9 ^( b9 K; V0 ~
  1422. ; The path can be defined as:
    & b4 }4 H5 p& d- N; h
  1423. ;
    6 K" ?8 c* h0 v
  1424. ;     session.save_path = "N;/path"
    5 x$ H" x( f8 J' v0 n
  1425. ;" E6 N1 v  N( L! d, e  q) Y
  1426. ; where N is an integer.  Instead of storing all the session files in; ]8 {. g* z6 n, h" ~! L
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    . ]3 p7 I/ j( ^/ \* B
  1428. ; store the session data in those directories.  This is useful if3 W2 m) ^5 a3 [+ M& U; }+ W  m: ~
  1429. ; your OS has problems with many files in one directory, and is
    % u: ^8 h6 J- e; l6 t" a+ [$ V
  1430. ; a more efficient layout for servers that handle many sessions.
    ' {" _0 m6 z  z- J) K4 i4 A
  1431. ;  D; z0 `; E6 o* P( a
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ) D% f4 s% `& V5 ?  S; Q$ s. m) u
  1433. ;         You can use the script in the ext/session dir for that purpose.! j9 h' D, V% ~3 G( \5 Y4 E0 o- Q6 w
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    & Q* X2 }2 a7 v* {9 u
  1435. ;         use subdirectories for session storage- `  `! x$ e5 x, t
  1436. ;/ b+ u  `5 ]4 Z1 k( ~2 T" c! U
  1437. ; The file storage module creates files using mode 600 by default.+ N$ n& \9 D3 [$ j
  1438. ; You can change that by using
    & z4 H8 s" s# _* B- Z6 |
  1439. ;& a4 Y5 W$ `' c8 \' J. Q: `+ I
  1440. ;     session.save_path = "N;MODE;/path"! H# G# ^' ?7 \2 j" n$ x( F+ f
  1441. ;
    ) s8 N/ x+ P$ t) }3 h) E
  1442. ; where MODE is the octal representation of the mode. Note that this0 c5 v, s, N1 f" ?  }: \
  1443. ; does not overwrite the process's umask.1 B4 ^  B. p$ z6 }6 n; {6 r+ ~
  1444. ; http://php.net/session.save-path: c0 {$ C2 j. b( r5 |( Y& }
  1445. ;session.save_path = "/tmp"% K6 y. Y$ w6 S! g( h
  1446. 1 s( u8 ^' b  b' o" R! O% x" x
  1447. ; Whether to use strict session mode.) g) }$ e. }- B. }* Y! w- H
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' Q& P7 P( R0 W& [) G& X# q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! f( i1 b8 e; M% r8 z+ C! t# H
  1450. ; applications from session fixation via session adoption vulnerability. It is8 u8 e0 [& N) u1 M9 e. d3 @/ t
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.+ r; s& _& R0 ^5 E" h' R6 }: h% `
  1452. ; https://wiki.php.net/rfc/strict_sessions
    , D2 m) J) E3 e
  1453. session.use_strict_mode = 0
    . |' {* G5 X  D. g

  1454. & h2 Q6 K9 K* d# k: t* E5 Y. ~
  1455. ; Whether to use cookies.
    9 I/ i) ]- A) ^
  1456. ; http://php.net/session.use-cookies9 _5 G9 o$ Y, T- z
  1457. session.use_cookies = 1) H( r! ?9 |3 p$ ?

  1458. 3 B) z: ^" W4 _% q" f
  1459. ; http://php.net/session.cookie-secure
    ' F8 S5 X& C1 D5 E1 ]5 o
  1460. ;session.cookie_secure =# M+ V: [$ u6 L& \" e5 z
  1461. $ Y  u& K5 x6 i6 g3 t$ O
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining) Q$ I6 J- u; l8 `2 K4 k
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    5 a" a3 J0 i" R- C5 G
  1464. ; session hijacking when not specifying and managing your own session id. It is4 ^3 ~, B- M. j# s% ]* v7 P$ s
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & n- u2 ]1 Q% k3 @- X
  1466. ; http://php.net/session.use-only-cookies
    6 g0 {) y9 y$ j$ y
  1467. session.use_only_cookies = 14 W4 _8 f0 E6 M) Z9 G$ y% _

  1468. : y" y0 S7 X* V* \" f; q- s% [/ n+ \
  1469. ; Name of the session (used as cookie name).
    1 A4 A) {9 a  K- O0 m+ G
  1470. ; http://php.net/session.name6 A+ L% F6 [1 g3 {0 V; |' ~
  1471. session.name = PHPSESSID# z7 r* @; e! A0 A! Y+ \" b: \0 O: n! H
  1472. * a+ T# E4 r% A$ {! u
  1473. ; Initialize session on request startup.; ]! x8 k! A, |% k* a
  1474. ; http://php.net/session.auto-start
    # {) g; N! k) K5 E+ m
  1475. session.auto_start = 0
    8 ?* r0 b( e  |* I

  1476. / I! [3 g3 p! D9 |
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 e! V, y9 X7 e
  1478. ; http://php.net/session.cookie-lifetime
      O4 [9 S! D  }* ?9 [5 j
  1479. session.cookie_lifetime = 0
    0 u8 f/ Y3 _$ X+ ?9 M  K- \" j
  1480. $ w# |! g) b* B1 B0 ~7 B
  1481. ; The path for which the cookie is valid.
    - M7 {! _4 s4 |( K5 Q, M" C
  1482. ; http://php.net/session.cookie-path
    ! N) i* w8 ]* D
  1483. session.cookie_path = /
    / m5 Z' v$ C5 e2 h# P. |4 [
  1484. " s2 Y/ i) o/ e/ Q% [* v5 I! H9 s
  1485. ; The domain for which the cookie is valid.8 U# u% `0 `7 J) e! A
  1486. ; http://php.net/session.cookie-domain
    6 b7 K9 j" e0 B: ~
  1487. session.cookie_domain =
    6 f, E2 c7 P9 L, F, `: \0 ^4 W
  1488. 3 X) t) Y! Y" Y9 d
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.8 Y& g# q/ j5 P
  1490. ; http://php.net/session.cookie-httponly
    & Z. s! I1 A% w
  1491. session.cookie_httponly =
    % E) R; ^/ p( d9 B) g+ P
  1492. ( X" N5 E% f3 F7 ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.3 X4 `1 u( |! Y9 z5 J$ S5 G, [8 S
  1494. ; http://php.net/session.serialize-handler
    7 v4 V4 l2 }# Z) {+ v/ M- I
  1495. session.serialize_handler = php& V3 W$ W5 X8 _+ j

  1496. , F1 ^; H. t- j+ d6 j
  1497. ; Defines the probability that the 'garbage collection' process is started
    $ C6 C( C) S* h9 B, h
  1498. ; on every session initialization. The probability is calculated by using/ r8 p$ s, \4 T: F+ q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator6 c. O* s1 X' }* t" U; r
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( c9 B$ o: ?  J0 X; s
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; D( t1 C) D7 w" o! ?* q( }. w6 ^
  1502. ; the gc will run on any give request.
    6 f7 s. }2 B, C% r
  1503. ; Default Value: 1
    1 o( F$ m8 d% N% i; k. U9 V
  1504. ; Development Value: 19 ^: q) h% \$ X) y' ]) c/ |
  1505. ; Production Value: 1; B( o& x  p8 Y
  1506. ; http://php.net/session.gc-probability
    1 Z  \( f' m5 N9 F! C
  1507. session.gc_probability = 1
    # ^/ d* X8 i2 x0 M
  1508. : n/ y1 X  I3 L0 w, k' b) _" i
  1509. ; Defines the probability that the 'garbage collection' process is started on every  r+ D$ S: C% [4 Q! ]6 }3 e! a
  1510. ; session initialization. The probability is calculated by using the following equation:
    ( v, H, g. {- K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and8 k; ]4 f: t/ I3 q6 o/ ]6 q
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    " w: Z$ b. g5 X+ M5 q4 f
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ `1 Z' K: ]6 t5 I9 `
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    3 g% O' t  i. v2 `9 Q/ w* ?
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    # W' v; I' }5 F3 Q( {+ b5 |+ F6 ]
  1516. ; this is a more efficient approach.
    / p6 `3 v( k& N
  1517. ; Default Value: 100
    3 P8 E5 ]6 M. A! d
  1518. ; Development Value: 1000
    : y( ^8 B! j" h5 h# o4 L
  1519. ; Production Value: 10003 o: C  W( K6 P
  1520. ; http://php.net/session.gc-divisor: }- D, s8 Z7 _4 @$ C
  1521. session.gc_divisor = 1000$ r: \* J* \) \4 H) S" z$ X
  1522. 2 X2 L' L% D! v0 U: |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and+ ~4 S; K. Q9 i& N9 ?" i( E
  1524. ; cleaned up by the garbage collection process.+ R) D! B3 j1 o6 `' m0 \
  1525. ; http://php.net/session.gc-maxlifetime$ _- c) E0 }2 D( C% d# |! {
  1526. session.gc_maxlifetime = 1440( V( H1 U3 a7 g; v. P# y6 b: _" B
  1527. . [9 Z; C& ]  u: y) j% i5 _5 L) N
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    $ d" \- [4 w$ y' C' f; |1 L$ S
  1529. ;       (see session.save_path above), then garbage collection does *not*/ C" c' H( {0 W1 }& n
  1530. ;       happen automatically.  You will need to do your own garbage) R5 r8 ]0 F% L8 q
  1531. ;       collection through a shell script, cron entry, or some other method.
    : [( D) j9 G4 P* L& P
  1532. ;       For example, the following script would is the equivalent of. L0 ?5 w6 `. ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 [4 n# S8 c, m$ b  R# \
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 S: \/ g- V* I

  1535. $ F8 e2 T1 j2 W4 E, K' l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.7 H3 u3 o8 _$ ?6 n# n7 J- g. E
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    7 I' i6 A/ ?  v+ U
  1538. ; considered as valid.# a4 q! j* G! n( F9 j  y
  1539. ; http://php.net/session.referer-check  D8 |! s0 E  ?# @# {
  1540. session.referer_check =0 e9 O5 g3 B# Z5 d) ~6 f6 ^

  1541. + E1 L, n/ u4 A
  1542. ; How many bytes to read from the file.* a  o! P% q) X# H0 _
  1543. ; http://php.net/session.entropy-length- w8 `; ~4 ?5 _) d) N0 E
  1544. ;session.entropy_length = 32
    ; d  ]1 f- ]+ N' V
  1545. 2 d" i2 q* {/ ]( E1 {" v
  1546. ; Specified here to create the session id.( w( E$ S( ~- Z- k3 E0 P0 h1 W  ]
  1547. ; http://php.net/session.entropy-file
    # i% o0 e( u% @% ^
  1548. ; Defaults to /dev/urandom! y) \1 t# J* r% a. O; z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    3 t+ i+ h" Y- O
  1550. ; If neither are found at compile time, the default is no entropy file.( T7 I, }1 v. v. ]! o- M
  1551. ; On windows, setting the entropy_length setting will activate the- d6 i) [. Y: p( F% K" w$ r
  1552. ; Windows random source (using the CryptoAPI)7 M2 e& G: b1 i+ }; j! ~6 ^% F5 V
  1553. ;session.entropy_file = /dev/urandom8 b9 f1 d' T5 c9 \2 ?

  1554. 6 h) T3 @5 ]6 _* A9 c. i" Y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects4 ?7 ?  z: B: @* }, p
  1556. ; or leave this empty to avoid sending anti-caching headers.) H. J5 c( r0 @4 F9 Y* T
  1557. ; http://php.net/session.cache-limiter
    * ^: |' q; Q# S, s5 w
  1558. session.cache_limiter = nocache
    / ~7 x1 z& Z+ P, I% _( L' R) n
  1559. , ~6 y# a; V2 L) S
  1560. ; Document expires after n minutes.
    ! o, P# v5 K( l, |8 v3 I
  1561. ; http://php.net/session.cache-expire; n8 d7 ~) o( y
  1562. session.cache_expire = 1804 L1 O8 H# P* g

  1563. $ K+ H" j- {8 }+ m' q& Y
  1564. ; trans sid support is disabled by default.
    % s% Z6 ?- `0 w: L4 }
  1565. ; Use of trans sid may risk your users' security.
    4 s1 q8 K5 d& `9 `, q
  1566. ; Use this option with caution.8 \9 l! g$ U" D% S; k& P
  1567. ; - User may send URL contains active session ID
    0 n6 x, c$ z1 ]2 J
  1568. ;   to other person via. email/irc/etc.
    5 v- U, b) a$ F( j  U4 A& J2 a
  1569. ; - URL that contains active session ID may be stored: D+ l3 f+ f8 ?( P6 `( W
  1570. ;   in publicly accessible computer.
    2 H3 X1 B" T% y8 i5 V6 e
  1571. ; - User may access your site with the same session ID
    " q) h4 m1 C$ m% r# {
  1572. ;   always using URL stored in browser's history or bookmarks.' Z' J& N7 ]% ~) c
  1573. ; http://php.net/session.use-trans-sid
    ! j" K0 D3 V: S) I* i. k: G
  1574. session.use_trans_sid = 04 h& H' t; Y) `5 ~! {

  1575. + q9 F( m  n$ i
  1576. ; Select a hash function for use in generating session ids.
    : {% E4 n) W8 m3 H
  1577. ; Possible Values
    ; p, m: j6 B. J) x* L! k
  1578. ;   0  (MD5 128 bits)* c1 ^- o) v0 ~) ^
  1579. ;   1  (SHA-1 160 bits)
    : w" c2 J9 d# \( P5 j1 Z0 U
  1580. ; This option may also be set to the name of any hash function supported by7 i! }  C2 A; _; z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()0 k% T0 Y$ H, X  p
  1582. ; function.
    . n" Y; [( C+ C' D. U/ A
  1583. ; http://php.net/session.hash-function
    $ A8 e4 Z# N7 l  `* P
  1584. session.hash_function = 0
    ; c( R5 b. u" x
  1585. 7 c4 V/ g- C2 R6 Z, v; r
  1586. ; Define how many bits are stored in each character when converting
    $ {% C5 N1 t8 M0 O
  1587. ; the binary hash data to something readable.
    + A. W. _9 z/ y' \6 `' j9 N
  1588. ; Possible values:
    0 T( E7 N% `( k; N$ t
  1589. ;   4  (4 bits: 0-9, a-f)
    1 Y4 W, v, d2 V" A) j9 M( r' `8 X
  1590. ;   5  (5 bits: 0-9, a-v)# p- R" f) Y+ V, r8 W$ x9 O3 P7 g- h
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ g8 y0 C5 h" u. }2 x' I  b: p
  1592. ; Default Value: 44 I1 k' D% h0 }. f9 F3 Q
  1593. ; Development Value: 5
    3 ?) j' E4 M1 E, I! B1 W. h
  1594. ; Production Value: 5
    ) f' U7 J$ {) d8 r; C2 M
  1595. ; http://php.net/session.hash-bits-per-character
    + `4 T# Q! W: [7 O2 W/ W* K
  1596. session.hash_bits_per_character = 5
    5 f: ~7 S* P6 A7 `# h* z: y

  1597. 7 v/ Y) Q: \% h. H  J! w
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags." E% I3 p, c; f% x; i. V; b+ P
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ; I! f" j* l! p
  1600. ; add a hidden <input> field with the info which is otherwise appended
    3 {  _1 V- \0 O/ H$ g2 v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 `& g4 _1 Y: T! }
  1602. ; Note that all valid entries require a "=", even if no value follows.8 e  W5 t9 a! \( m' c+ C2 g
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 d; P  R  ]! ?9 _  g
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . S# A" {) V1 d5 @2 M$ G
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / l" s0 C7 z3 V! V. o% u$ J
  1606. ; http://php.net/url-rewriter.tags6 l0 l, t3 s+ h7 _/ ^
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 v) F  e8 I9 I) V/ W2 ?
  1608. 3 @( A) s* L4 x$ ?
  1609. ; Enable upload progress tracking in $_SESSION
    # I8 A; H/ O( M7 t( L2 G: L- }
  1610. ; Default Value: On
    ) Z0 h& ^7 T! e( M
  1611. ; Development Value: On
    + a6 G+ j5 A. s  a
  1612. ; Production Value: On% z& o7 V4 Y  J3 H
  1613. ; http://php.net/session.upload-progress.enabled
    ' D' E! A  I- F+ b! J/ j2 d7 F
  1614. ;session.upload_progress.enabled = On
    ' X0 z- O& q& m

  1615.   _+ e' n9 R" M; _: ^" }
  1616. ; Cleanup the progress information as soon as all POST data has been read! g  F( [: r2 Q7 h5 K7 F
  1617. ; (i.e. upload completed).3 y4 _9 L3 O* m8 t+ V; m
  1618. ; Default Value: On8 v+ H7 M9 B5 }$ U: i' E( p
  1619. ; Development Value: On
    4 V9 b# W. k+ ~' l7 m- J
  1620. ; Production Value: On
    3 I" b  D- s8 O; X5 z. W
  1621. ; http://php.net/session.upload-progress.cleanup1 w$ r2 ?1 o% n& _4 u
  1622. ;session.upload_progress.cleanup = On
    $ V: }* G, _0 e. N4 l$ s

  1623. ( _) X  B( X4 k) }8 k
  1624. ; A prefix used for the upload progress key in $_SESSION& Y4 J; y  K5 v, ?' @" k/ M
  1625. ; Default Value: "upload_progress_"9 h6 [8 V+ k) }; ^7 y. @
  1626. ; Development Value: "upload_progress_"2 B# p, J- I" N- M1 _
  1627. ; Production Value: "upload_progress_"; O% `1 N( v% G+ z% N
  1628. ; http://php.net/session.upload-progress.prefix1 q. g' w8 v. x; M- P0 o
  1629. ;session.upload_progress.prefix = "upload_progress_"* c5 k1 t& _) E9 m6 X/ N
  1630. # d) j) a# a7 N
  1631. ; The index name (concatenated with the prefix) in $_SESSION) h! V* D+ |. C1 w9 A) Z8 r7 K
  1632. ; containing the upload progress information
    1 M4 c" Y' H) z& [/ j
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"/ D9 b6 k/ n  F/ m
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ X( d* d6 j! p* W, Y. s
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 I( v1 \/ h5 s! I4 c
  1636. ; http://php.net/session.upload-progress.name
    / o% j7 X0 f# [- A' }
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"/ I) n" a% d7 q9 u" V
  1638. & k. k$ `5 M* _
  1639. ; How frequently the upload progress should be updated.
    : }2 K0 L2 q2 C2 }
  1640. ; Given either in percentages (per-file), or in bytes
    0 {2 e9 J3 c3 n. j& P
  1641. ; Default Value: "1%"" g$ [# y/ B, w
  1642. ; Development Value: "1%"
    - d8 T/ f* l1 t" _3 H
  1643. ; Production Value: "1%"' ?! @/ n+ |$ Q; z! F
  1644. ; http://php.net/session.upload-progress.freq
    ! ]" L" O5 _( R; q! J) m4 R, |, Q0 y* z: B
  1645. ;session.upload_progress.freq =  "1%"+ |4 x9 A) S2 X, c; e

  1646.   |' v: F1 v5 F0 o
  1647. ; The minimum delay between updates, in seconds
    ! ?2 h% i0 O  s5 |
  1648. ; Default Value: 1$ L# q: K  ^/ ~* W0 B0 j
  1649. ; Development Value: 1* l' B2 c- h  a# r' ?- C. z
  1650. ; Production Value: 19 a8 i. G9 y5 K, t" J
  1651. ; http://php.net/session.upload-progress.min-freq
    # Z% b8 {1 P4 A
  1652. ;session.upload_progress.min_freq = "1"$ ?) e4 o% `$ Z' V/ V5 P
  1653. 0 t2 `. I  @5 E. ~2 q
  1654. [MSSQL]
    2 T8 k4 J8 X" O" e- C+ y3 v: g
  1655. ; Allow or prevent persistent links.$ S6 i9 C8 l  I
  1656. mssql.allow_persistent = On
    : @0 M) A9 c0 c% ]* [; P  O2 I
  1657. 9 _* U7 ^8 j( H0 B; O4 c
  1658. ; Maximum number of persistent links.  -1 means no limit.
    % w& |( U) W: \6 D  _
  1659. mssql.max_persistent = -1; g3 K/ b; ?% l) Q! s
  1660. " }5 ^" _$ Y: c! p
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      c: R2 f. t+ D: c
  1662. mssql.max_links = -1
    6 `* N& r. c# y% L; ^  _( m

  1663. 5 I, l" [* c: i* b
  1664. ; Minimum error severity to display.; c! I0 V% s$ J2 ]7 q
  1665. mssql.min_error_severity = 105 m, k& J+ s# J( f& f6 _( d

  1666. # e6 M" L: X# T" K) m# C
  1667. ; Minimum message severity to display.
    : ^8 Y; A9 G6 G' y& s6 L4 g/ ~
  1668. mssql.min_message_severity = 10- }0 W& r  u9 _
  1669. . {8 I( \( H0 F6 I& C# _: u
  1670. ; Compatibility mode with old versions of PHP 3.0.
    5 v  N* i/ ]9 |  q( n: r2 |! J4 K$ ^
  1671. mssql.compatibility_mode = Off
    9 c0 _, @3 U, g3 b" l& d# B3 X" B

  1672. : \$ Z8 l& E+ l  t9 c2 ^6 Y
  1673. ; Connect timeout4 X9 O1 P# \9 x" ?  G7 i
  1674. ;mssql.connect_timeout = 5
    ; O% O5 ?8 f! y9 _, ~* K/ i

  1675. 8 k3 i% i$ F8 w6 f  }/ g
  1676. ; Query timeout" y; C" v9 O- ~8 |5 z. y
  1677. ;mssql.timeout = 60- e3 S9 s0 {1 j, l7 @! i8 Q
  1678. : B8 F! d% C' Z& ]7 d9 q
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    , ^1 ?( {/ y; V
  1680. ;mssql.textlimit = 4096
    , v/ t! Y' t. @; U$ h
  1681. , B& q6 `$ I" x- I' o$ I
  1682. ; Valid range 0 - 2147483647.  Default = 4096.3 X( M* @$ w3 ~
  1683. ;mssql.textsize = 4096
      q7 M& p7 M' @5 }7 J; W5 v
  1684. 8 z- Y8 H* E( D; l9 J6 {
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.# ]6 l7 u9 d+ p; B: D7 a6 n
  1686. ;mssql.batchsize = 01 A" E1 D" u" _7 q  \/ Y" {5 e# z

  1687. , F: b3 U$ ^% h
  1688. ; Specify how datetime and datetim4 columns are returned
    . E( O2 ~9 n* Q# x. c
  1689. ; On => Returns data converted to SQL server settings
    ) p0 g  b% s9 P/ K
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ; x, n1 a: t2 w8 K7 |
  1691. ;mssql.datetimeconvert = On
    $ w% Y$ r9 D3 H: p9 t

  1692. % S- j9 p. Q+ w* |6 W" `. v/ s
  1693. ; Use NT authentication when connecting to the server
    " S- |: x0 w+ \& E$ d$ F5 \' w5 U
  1694. mssql.secure_connection = Off
    " p' r5 Z0 m6 I$ o7 |* O: G% b
  1695. 9 m) t# J7 V! Y2 ?% }1 f0 q
  1696. ; Specify max number of processes. -1 = library default/ U3 Y8 F+ r  x/ D! z
  1697. ; msdlib defaults to 25, K5 t& l2 o  ]
  1698. ; FreeTDS defaults to 4096
    ! S7 x, Q7 o# Y1 A
  1699. ;mssql.max_procs = -1( E1 p4 g+ M. V1 a

  1700. ; V5 }, I8 e  o" r. Y
  1701. ; Specify client character set.
    ; {6 p+ b% F* R6 W& M) @
  1702. ; If empty or not set the client charset from freetds.conf is used
    ( c" l& r) {4 a( b) F% r& o
  1703. ; This is only used when compiled with FreeTDS, a2 A) X  M3 R4 Y
  1704. ;mssql.charset = "ISO-8859-1"
    $ a* J  F! J5 i* N- }; P

  1705. - ?* [- c9 s- [: i
  1706. [Assertion]
    6 h) v- s+ n$ R; l! u8 ~+ N' b
  1707. ; Assert(expr); active by default.
    3 ^1 f" y. r, f. g
  1708. ; http://php.net/assert.active
    * u) M; G0 H* T. L" b* H  A
  1709. ;assert.active = On( H! o: ^& q1 H

  1710. 3 J- X/ }: U' y' F. s) f& }. _" S
  1711. ; Issue a PHP warning for each failed assertion.
    # m2 K; N! ]$ r0 j5 E/ {9 c
  1712. ; http://php.net/assert.warning7 M8 |, k/ [( B, P' G* f1 Y4 R
  1713. ;assert.warning = On
    $ p; P4 V& ~! r3 f

  1714. 2 a% U7 a7 v' C8 u/ k
  1715. ; Don't bail out by default.
    ' K; t; o' R4 [8 Z1 l0 j
  1716. ; http://php.net/assert.bail/ K- C2 F3 W0 l& P! h) |7 d
  1717. ;assert.bail = Off
    * W. v5 j9 b+ O( T

  1718. : A+ y9 {9 U1 c& c- b5 [+ H, }
  1719. ; User-function to be called if an assertion fails.  M) e: R* t' k. [
  1720. ; http://php.net/assert.callback, K4 i1 O9 n$ E1 R1 E: M
  1721. ;assert.callback = 0' _- {0 j! e0 m& q" N

  1722. : j# N  _* b2 b3 X0 B3 i
  1723. ; Eval the expression with current error_reporting().  Set to true if you want1 @( |4 T/ Z* Y# |$ c% k8 s
  1724. ; error_reporting(0) around the eval().8 M2 \9 v& M' |
  1725. ; http://php.net/assert.quiet-eval
    ) V: W- O! w5 J+ s0 E  V
  1726. ;assert.quiet_eval = 04 p7 h, N- A- y. j
  1727. / h6 L- n5 b; ~( W6 q; J4 P+ G
  1728. [COM]
    9 e# J* K" ~- h
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ s. U$ g. Q" j" @; K
  1730. ; http://php.net/com.typelib-file
    3 t+ I) D0 s: o7 H8 ~/ x8 u
  1731. ;com.typelib_file =" Z. V1 h/ c- B* ?4 ]
  1732. 6 [' {# O7 \7 S3 L  F5 Q
  1733. ; allow Distributed-COM calls
    9 w- C# i) \8 [
  1734. ; http://php.net/com.allow-dcom+ N7 O! r$ g5 h) F( U
  1735. ;com.allow_dcom = true% e+ I$ e$ R  e: P, c$ |/ ~3 X

  1736. ' A$ P6 w; e- ]0 \
  1737. ; autoregister constants of a components typlib on com_load()
    8 w% @( [- {5 }! X
  1738. ; http://php.net/com.autoregister-typelib' L: Y. c( C' I1 b0 r. _, z
  1739. ;com.autoregister_typelib = true: ~7 v7 @+ O& X+ Z* O
  1740. ( L( M; k5 m% G0 y( H3 j
  1741. ; register constants casesensitive+ n; y/ Q0 n! ~& i! R
  1742. ; http://php.net/com.autoregister-casesensitive
    9 T* ~: j4 I, O2 l# [( n) [
  1743. ;com.autoregister_casesensitive = false3 ?9 \5 c- N0 [
  1744. 7 B4 b7 x, h1 O3 [
  1745. ; show warnings on duplicate constant registrations6 o/ t" |# \- ?8 y  c
  1746. ; http://php.net/com.autoregister-verbose
    ; W  @1 z8 w3 m. a# \6 z% c
  1747. ;com.autoregister_verbose = true1 r. p$ y2 d) K" D7 A

  1748. 3 M. \. M) O5 I# D
  1749. ; The default character set code-page to use when passing strings to and from COM objects." n4 f" g: `2 T& q' a
  1750. ; Default: system ANSI code page3 D" G3 T/ I- W; s1 Y
  1751. ;com.code_page=
      x; z$ T. o# R2 {  \7 Q& ~

  1752. 7 u7 h+ Z4 s2 N* ], A" I% P
  1753. [mbstring]# s' f3 z% c9 T, t8 m7 b
  1754. ; language for internal character representation., B. l/ r; z/ `& r& [. D$ \
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# _. f; r6 x1 V- M  x1 T# h
  1756. ; http://php.net/mbstring.language+ v, L, t# A6 P9 O
  1757. ;mbstring.language = Japanese" U% }5 w2 @" c8 h, K0 b8 ^
  1758. ; W$ g2 x" s6 R1 Z" x( E% n
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 H; K' H1 [) r( H+ ]- M* T; A
  1760. ; internal/script encoding.7 z* P( j# t* J$ p0 ]9 F" n1 C
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) }- p6 V$ q, t- M# I
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 ^" }: S% t5 w, V1 I# s' ?5 i9 O8 ~
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: u8 e" A- I' ~6 \8 ~9 C& I2 o7 I$ ]* ?
  1764. ;mbstring.internal_encoding =0 M1 O' r8 j, \. Q5 I7 @9 b
  1765. % x2 k8 ]/ S/ \" _- h: T8 w
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.. _5 a+ Z/ t9 T6 ]& \% M9 y) Z
  1767. ; http input encoding.$ H: b/ n- ^8 E- P' H& H, z5 B
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.  \0 s& q; q/ H+ x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.6 V% ~8 N& k4 k* }; ~
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input# a7 F! }- _6 a1 F( C
  1771. ; http://php.net/mbstring.http-input
    - F7 w6 S, l% p6 B
  1772. ;mbstring.http_input =  S, G* N) u  K
  1773. $ F& D! e& h% w1 p: o/ \$ ?
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.6 V' x6 J3 V4 h  P/ ~" G& K
  1775. ; http output encoding./ p1 o* |9 g/ B
  1776. ; mb_output_handler must be registered as output buffer to function.9 }  U+ z/ m1 N9 U8 L8 m- y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& l- x+ k4 p* T0 U! @, S' B
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ Y! a' J( a+ T) Z) N9 G5 }5 H
  1779. ; To use an output encoding conversion, mbstring's output handler must be set1 x- L; T, O( m0 N
  1780. ; otherwise output encoding conversion cannot be performed.
    & H) c: N- V# c/ O
  1781. ; http://php.net/mbstring.http-output
    8 U2 E- }$ f; s5 s7 T# A0 ^
  1782. ;mbstring.http_output =
    5 _" M# Q- Z6 ]/ {. x+ g  L
  1783. 6 z) Y0 C4 ^5 z9 |6 F3 M
  1784. ; enable automatic encoding translation according to
    ) L/ T* ^  e! `. n
  1785. ; mbstring.internal_encoding setting. Input chars are: n: o$ t$ g' a6 s# j, k" c
  1786. ; converted to internal encoding by setting this to On.( |/ s+ C% ^3 f" O2 Z, V9 }8 i) q7 e
  1787. ; Note: Do _not_ use automatic encoding translation for
    4 _- i( u, S. j0 L
  1788. ;       portable libs/applications., r3 M. r* F% ^* T. T
  1789. ; http://php.net/mbstring.encoding-translation
    0 T6 {) O8 W2 K3 |& S2 p+ y
  1790. ;mbstring.encoding_translation = Off7 O4 M# D3 M  g9 J
  1791. & s4 E( D! [5 T5 j6 t* J
  1792. ; automatic encoding detection order.
    + W) T, G4 d" ^( O2 L# d' {3 j7 C
  1793. ; "auto" detect order is changed according to mbstring.language1 D. Y+ y1 H  b7 Y3 A" ?2 J: ~; x
  1794. ; http://php.net/mbstring.detect-order4 f/ B: G4 H1 u+ j
  1795. ;mbstring.detect_order = auto" k7 n- A! Q! l8 L# z3 R3 b9 d

  1796. / \4 h% q. w3 U8 j
  1797. ; substitute_character used when character cannot be converted
    - W# \. q0 j7 x% M! t1 S+ j7 ~. h/ Q
  1798. ; one from another
    ( ^, p, y6 B  L6 w4 P0 i
  1799. ; http://php.net/mbstring.substitute-character
    # ^3 d. M3 j4 @7 x
  1800. ;mbstring.substitute_character = none
    . o" B8 i! ~0 _

  1801. ! B- t  Y% t2 b
  1802. ; overload(replace) single byte functions by mbstring functions.- H5 U: C) ?5 L
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    5 _  |2 D- k; p# x
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    / n! |$ a) V7 d
  1805. ; For example, 7 for overload everything.0 o+ J& o# t) r& q( Q8 P8 ^
  1806. ; 0: No overload$ D! k$ e+ V" z/ Y, P% W. e$ C* q
  1807. ; 1: Overload mail() function* c% n" R/ p$ o
  1808. ; 2: Overload str*() functions
    1 C. @$ ^$ ?( @' f: ~' q
  1809. ; 4: Overload ereg*() functions$ \5 n% u* B6 \) `7 R5 m
  1810. ; http://php.net/mbstring.func-overload* X9 e" f# G) L& U0 Q; P% W6 N
  1811. ;mbstring.func_overload = 0
    # v6 Y6 I7 u. d- E

  1812. % m2 b# r  @, p/ c5 x2 v2 _
  1813. ; enable strict encoding detection.3 H3 A; M! s; {; R7 d  g0 I
  1814. ; Default: Off5 B1 W3 y& q" Z# J3 i
  1815. ;mbstring.strict_detection = On4 X+ P9 Y5 }+ G% D
  1816. ( k, g" B* k/ V
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 v3 u% `5 c! A4 J3 X* Y
  1818. ; is activated.: i+ ^+ [- i$ @" C& J# Q$ N) r
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ O2 Z/ @' s* v8 ~
  1820. ;mbstring.http_output_conv_mimetype=1 t4 e" n! v6 r' S: m* w

  1821. , [1 S2 v! T. ?9 N
  1822. [gd]& Y$ S! k1 K' M# b5 Q
  1823. ; Tell the jpeg decode to ignore warnings and try to create  h5 Y; d& _4 S- _7 O7 x3 y5 x  E
  1824. ; a gd image. The warning will then be displayed as notices
    . X/ o7 f2 c7 ^
  1825. ; disabled by default
    : h' L, {0 H7 {( Q, v8 ~
  1826. ; http://php.net/gd.jpeg-ignore-warning. V" {6 m1 q# b0 w' h) B
  1827. ;gd.jpeg_ignore_warning = 0! k) u& k" d+ y$ Z: F/ q( Y, o
  1828. 7 b- T) E( ~6 W( f8 p
  1829. [exif]/ I/ s+ R) P. S
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; O5 O1 r/ v2 A( Y, z1 b$ F* @
  1831. ; With mbstring support this will automatically be converted into the encoding7 b9 }8 o+ ^) J; f- _/ K
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 r1 T% o0 q) Q8 M* _) G! h  I0 z0 R
  1833. ; is used. For the decode settings you can distinguish between motorola and* ^$ B' m7 c9 J+ `
  1834. ; intel byte order. A decode setting cannot be empty.
    ( r5 ~# u+ H% m7 m4 |! Z6 o  ^3 P
  1835. ; http://php.net/exif.encode-unicode4 s$ d; f: p- C# y! S% F5 K
  1836. ;exif.encode_unicode = ISO-8859-15
    . J9 Q" \/ u, c. K! y" c( @

  1837. # ^( j, C7 n/ @7 ]' F
  1838. ; http://php.net/exif.decode-unicode-motorola5 p7 ^" c8 _! s' l& d* J) z
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ( R* n, Q- Z" `" k( Y& I
  1840. 0 U5 H8 [* \8 C. ~; m2 O
  1841. ; http://php.net/exif.decode-unicode-intel" l4 \7 N8 E7 {
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    . l5 B$ H/ D( o2 \* G9 R/ q! u# K
  1843. : m% a# d1 T, f( ~
  1844. ; http://php.net/exif.encode-jis
    + q, q( R9 }6 c- V% N! Z
  1845. ;exif.encode_jis =
    & g+ [* f* {; G7 D3 L
  1846. 6 x4 t# S; M+ b" r* m7 z. u
  1847. ; http://php.net/exif.decode-jis-motorola
    6 y2 H, D! R) O
  1848. ;exif.decode_jis_motorola = JIS
    * O, P/ k+ T- d* K0 m* N
  1849. & h) |+ a! a3 O% I
  1850. ; http://php.net/exif.decode-jis-intel
    & T0 W8 Y0 d9 P! ]
  1851. ;exif.decode_jis_intel    = JIS3 h3 |& i9 ?# }

  1852. + y, }8 t. h' V: Z& ^
  1853. [Tidy]0 B0 I* Y8 s2 P/ s7 }* d9 |
  1854. ; The path to a default tidy configuration file to use when using tidy
    6 X0 n' ^$ a. Q) D, J, Y
  1855. ; http://php.net/tidy.default-config) h/ v. d. G5 r- w# r3 @6 }
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg1 p/ a3 ^5 t8 x" V( W$ A
  1857. 0 T. N( ], X5 h$ L/ q, l1 R
  1858. ; Should tidy clean and repair output automatically?
    4 S) [: l6 M! a8 R4 v& ~
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % j- g4 l8 M4 _9 {3 }) q, I
  1860. ; such as dynamic images
    , a! n. j  `& @5 k5 G
  1861. ; http://php.net/tidy.clean-output* K) C9 r& }5 B4 v6 a4 a6 X
  1862. tidy.clean_output = Off% n- O, N. Y" G* M7 m

  1863. . V8 E: Y& E6 B; ?. K9 \5 F& Y9 I
  1864. [soap]
    ( h1 g# J3 A* L. U
  1865. ; Enables or disables WSDL caching feature.
    : f$ e3 j5 Q7 @6 r6 D
  1866. ; http://php.net/soap.wsdl-cache-enabled  a; ^" `0 X0 P2 B
  1867. soap.wsdl_cache_enabled=1. e4 p3 l# \1 ^! g( m! z8 y
  1868. 6 T4 n. N6 w# J1 T: v
  1869. ; Sets the directory name where SOAP extension will put cache files.
    % ^% h: E0 b. C& a
  1870. ; http://php.net/soap.wsdl-cache-dir$ F! L% a- t. e) f0 m7 M  ~5 K
  1871. soap.wsdl_cache_dir="/tmp"0 Z5 V# m4 j9 C1 `) @. g

  1872. , C% T0 c& K) D. a3 c
  1873. ; (time to live) Sets the number of second while cached file will be used+ k6 F! g! V! d7 z5 E
  1874. ; instead of original one.
    / i* z. V! h7 `# y
  1875. ; http://php.net/soap.wsdl-cache-ttl9 S7 i. Q- Q' a* M6 u
  1876. soap.wsdl_cache_ttl=86400" R3 W8 |* I8 M$ u  s8 b( J2 H% U

  1877.   f$ Q0 L$ w( i# W& M6 L! W
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)# \8 E7 ]1 P" z4 E' x
  1879. soap.wsdl_cache_limit = 5
    5 f: y$ A% l! U/ I
  1880. 9 t1 I% T8 j! _! d
  1881. [sysvshm]
    % a( J" ?6 ~# w2 X
  1882. ; A default size of the shared memory segment
    # U/ y0 F" D- ]( O- B. Z0 z$ |
  1883. ;sysvshm.init_mem = 10000# e( {$ y) e; I
  1884. 0 T% A( T3 o; ~- K4 y
  1885. [ldap]9 T; R& z1 m7 f) r
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    * g- X; ^4 A7 y/ a' B
  1887. ldap.max_links = -1( y' B, x, k# x, S* M- A. O$ L

  1888. ( Q/ ^) L$ A- o* j) g5 Q; c
  1889. [mcrypt]
    * Q3 g) G5 D2 l( G  {6 d9 R4 ~
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    : h, b; h3 Q3 _. a
  1891.   }+ c4 o0 V6 o
  1892. ; Directory where to load mcrypt algorithms
    / x% U8 I: k: V4 [1 ]
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & c! A9 j0 a0 n5 F7 P3 l3 b
  1894. ;mcrypt.algorithms_dir=2 {& K; r, |! ~- x
  1895. # O. c" Y# g# x' C$ p
  1896. ; Directory where to load mcrypt modes
    - k& y0 ?6 s* F/ Y7 ]5 q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 e. [# w, x  m& a& a& `
  1898. ;mcrypt.modes_dir=
    ! D4 ]" D* I3 Y% @7 o' o" N
  1899. . A* L% \2 m7 A: T2 H- o3 ^5 b% b) z
  1900. [dba]
      E+ K9 m0 W* t& }# ~; X4 ]. m
  1901. ;dba.default_handler=' E$ w! m: _1 V, B8 K* ^, p5 j6 o
  1902. " K* \; T- ^/ f- d3 `% G
  1903. [opcache]
    7 @2 p5 t1 [& J- O
  1904. ; Determines if Zend OPCache is enabled
    9 Q; R2 r9 H9 d2 c
  1905. ;opcache.enable=00 F4 h4 J9 o# T# n

  1906. - n5 @% e# Q2 L
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP% H! c$ z) }0 {9 W3 B' s$ g
  1908. ;opcache.enable_cli=0
    ) O# q3 {4 P6 Z. K. x0 Q* _4 [
  1909. 3 h! y8 S, B8 \9 L" g( u
  1910. ; The OPcache shared memory storage size.% w8 e; q# ?* C* q: D
  1911. ;opcache.memory_consumption=64
    9 b% P( U' l; x
  1912. . o# F" D, c; w9 F8 V6 \
  1913. ; The amount of memory for interned strings in Mbytes.' u+ t( \9 u& I
  1914. ;opcache.interned_strings_buffer=4
    " q# l- E. o1 `  Q+ Z

  1915. 3 A8 r$ g6 l& T, E" |; d- {$ O
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' t& Q3 ]* W' S) [6 s5 J+ `
  1917. ; Only numbers between 200 and 100000 are allowed.
    ; _$ q8 V9 L% h6 \% I
  1918. ;opcache.max_accelerated_files=2000
    8 Y' q6 l+ C  O" q0 Z1 \( u. s" ~
  1919. + b3 A$ N/ ^2 u2 }* x2 a) [
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.: Q0 L0 Q! H% f! y( E
  1921. ;opcache.max_wasted_percentage=50 U( l. g$ C; J9 i
  1922. & ?! z4 w- }9 \( K1 k. e% U9 u
  1923. ; When this directive is enabled, the OPcache appends the current working$ E- A, D" K  t5 C4 M7 c6 h$ d& n
  1924. ; directory to the script key, thus eliminating possible collisions between/ z* w, n1 M8 ~; n  s: J  W( }
  1925. ; files with the same name (basename). Disabling the directive improves
    & k$ Q9 i4 [/ l4 E  W% I7 M
  1926. ; performance, but may break existing applications.! t$ T& _0 d: x5 m; G: @
  1927. ;opcache.use_cwd=1  V$ K, a0 ?, ~4 _. H

  1928. , j' m" O# W7 Z  H% T
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ( ^* [$ `( K6 [6 b9 p5 v2 r" a# l/ i5 i4 {
  1930. ; webserver for changes to the filesystem to take effect.
    5 r/ I$ X5 ?' S- y& L3 s! J  J
  1931. ;opcache.validate_timestamps=1
    , y1 O9 v6 ^, k1 Q$ U; v" W/ E2 H+ J
  1932. # |; H8 v+ t0 F. s' a( U! L! D$ t+ b
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    , }. @( t5 m3 k
  1934. ; memory storage allocation. ("1" means validate once per second, but only9 `. C- s1 R; Z7 J
  1935. ; once per request. "0" means always validate)
    ; U# C2 ?  c9 @3 M+ s
  1936. ;opcache.revalidate_freq=2
    ! T$ `) S. E. K

  1937. # f+ |5 k* J/ U8 W9 u$ q2 p3 U
  1938. ; Enables or disables file search in include_path optimization3 \3 n8 X1 N: L- W/ L
  1939. ;opcache.revalidate_path=09 A3 P3 Z  [" q% ~! v

  1940. 9 t0 O( [! J8 f  P  E3 x/ p! Q7 v7 w! H
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* U% @6 J6 R! Z. {8 W& E0 l
  1942. ; size of the optimized code.8 N* u5 Y: }, M1 \6 S5 t( k
  1943. ;opcache.save_comments=1
    / S$ ~5 q0 Z: E4 }# U3 k8 q3 P
  1944. 2 }5 n5 f. {! q2 Z- Q
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments". E9 U) P6 t8 T- x8 k5 m
  1946. ; may be always stored (save_comments=1), but not loaded by applications# i  n( G0 y, @
  1947. ; that don't need them anyway.
    ; H& e! B; \0 P. U3 F  _5 D
  1948. ;opcache.load_comments=1) E, N  \+ M& F% j
  1949. 0 k6 M! w" C, T9 F' d
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    + U5 S+ `1 ^" F! k/ E! P5 @
  1951. ;opcache.fast_shutdown=01 O$ ^3 ^% y) `* R
  1952. ! q6 p" t5 H' [6 y( |6 v
  1953. ; Allow file existence override (file_exists, etc.) performance feature.+ q2 z6 {9 t' w% t) c/ j' B
  1954. ;opcache.enable_file_override=08 ~# ~; M3 E& K2 @1 f

  1955. ) b# M' [9 g9 L( q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 x( O3 O9 \; |+ W
  1957. ; passes
    5 Z) E/ |3 Z; [& i
  1958. ;opcache.optimization_level=0xffffffff
    $ R" v$ ]) R; u3 u

  1959. ' @% s6 Q% S2 l/ r8 G
  1960. ;opcache.inherited_hack=1$ r; H3 Q& ]! ^: x
  1961. ;opcache.dups_fix=0
    9 Q+ f' y/ W2 B  p  r  l

  1962. 3 C- Q7 l% |. e/ }: ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).! e" R$ f) v& E7 _
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    : X8 y: [9 X. L) |
  1965. ; that should not be accelerated. The file format is to add each filename
    * d( D$ D) R) M+ w  U% Y1 N* K
  1966. ; to a new line. The filename may be a full path or just a file prefix
    : \$ F( q$ @! |. d9 H4 i) o8 _; {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www6 b; X. ~2 r5 a2 F9 G
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # X1 o! I5 E0 e2 x( ~  ?
  1969. ;opcache.blacklist_filename=4 |- K1 C1 [6 A; A

  1970. - K/ G7 z# N% o% n1 n/ L5 e2 _. q
  1971. ; Allows exclusion of large files from being cached. By default all files
    - |5 I, `0 T# n: i9 h+ I
  1972. ; are cached.
    7 e- q+ j: z8 _* b+ W9 P4 o8 [9 J
  1973. ;opcache.max_file_size=08 G8 C7 U1 n2 k2 k

  1974. ; g9 H" S6 M) G
  1975. ; Check the cache checksum each N requests.% D1 Q: v# V& L1 f( D! @% W. w4 ^+ x
  1976. ; The default value of "0" means that the checks are disabled.
    ) T* R8 B4 l/ ?3 p% `" _3 ~8 e" N/ E7 h
  1977. ;opcache.consistency_checks=05 v+ z# d. O2 D1 |7 T
  1978. ; T, O2 K- G( `0 v
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # d6 R' V# v( H* M! h* o
  1980. ; is not being accessed.
    ! K$ G+ @" O, o. a1 h- b
  1981. ;opcache.force_restart_timeout=180
    4 V, y8 o: D$ I

  1982. 1 V& D& \" P* i3 w/ |
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    . ^& h. f- U8 a8 i) R+ D
  1984. ;opcache.error_log=
    3 \7 s( w( I1 m. w4 Q% a( E

  1985. ) a; m. E) D* _* w- Y4 k9 a0 E- I
  1986. ; All OPcache errors go to the Web server log.
    9 p: D* \0 Z) i) M- q
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 ^5 v# T- ~% i& r" E# B$ C
  1988. ; You can also enable warnings (level 2), info messages (level 3) or1 A5 A3 R& _( l  c
  1989. ; debug messages (level 4).
    2 b5 s, j8 {+ ~  [* R$ F4 r
  1990. ;opcache.log_verbosity_level=1
    - ?, Y7 R9 [, |7 I0 |  Z2 M

  1991. . f* n( r/ v  E! u7 X$ ^7 ~
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 s. L& f2 y6 z7 l
  1993. ;opcache.preferred_memory_model=
    , k5 u' \; w) ?$ T/ w

  1994. 8 c7 {, r; k. I) u! q2 ^6 e  a
  1995. ; Protect the shared memory from unexpected writing during script execution.7 c* q$ Y# x* F" ]6 L" V
  1996. ; Useful for internal debugging only.
    ; |7 P* s, O5 o) r& |
  1997. ;opcache.protect_memory=0$ }( m4 u, [7 W, Q+ G6 D' H
  1998. 4 z9 q5 D: Q4 D6 ^
  1999. ; Validate cached file permissions.
    9 d$ c! j' I+ H! ^5 M2 T9 _5 Q
  2000. ; opcache.validate_permission=0
    0 V- O5 l; ], L; L
  2001. ) v4 ~3 j( S* ?% \
  2002. ; Prevent name collisions in chroot'ed environment.% i- z! l, s& ~* C( H. V% X8 n
  2003. ; opcache.validate_root=0* _; D, `: P3 y2 G
  2004. / f2 v" b4 ~; e6 \6 y4 H: j
  2005. [curl]
    6 l5 g0 ~" f9 H; z/ u6 j
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! k9 Y3 L8 Y9 U1 [9 k6 W7 ~9 [* K: q
  2007. ; absolute path.8 h2 D1 z1 Z; m& t
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    , Y. m; S1 s( L3 m8 _* Y/ j

  2009. $ r5 g1 \. n! z* k/ }, t" m$ D
  2010. [openssl]
    7 B( u$ i: R0 s- n( \  F
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ y. W" R/ A$ M: C
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & v8 u# B3 N3 X# k; m
  2013. ; not specify a value for this directive as PHP will attempt to use the
    0 k& b* |$ d9 V+ S
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ) C1 T( G; m( _( |/ @
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context) ^4 \$ x6 p, ~" H; z$ @. a$ o6 K* l
  2016. ; option.
    ! F" y: M3 W) ^$ s5 G
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt. `" n0 j; y+ I0 c  \
  2018. . K) w7 {! t+ Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the0 u! i  }" k& h- t& }
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    / F+ j1 b3 _4 W' k# f* H
  2021. ; certificate. This value must be a correctly hashed certificate directory.0 g1 c. \1 ?! h' G
  2022. ; Most users should not specify a value for this directive as PHP will) v' x0 _+ N% F
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 U8 ]) e( I/ |
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    * n2 e0 V* _6 k- r
  2025. ; SSL stream context option.
    - p* T- c2 x- w- M
  2026. ;openssl.capath=
    ( K, P5 q2 r, t5 t- h3 e  F; k$ I/ ]
  2027. - \6 s6 h* J4 ~; m3 L
  2028. ; Local Variables:+ u$ a7 L% A' q; @
  2029. ; tab-width: 4# ~* F% A: U2 [
  2030. ; End:( I5 I8 Q2 @# p- i# F( E7 S
  2031. 6 w( B" A0 a2 ~  i5 x, e! Z
  2032. ;eaccelerator9 X$ W  e5 @, B

  2033. 6 |7 H! I- d9 \2 [: X
  2034. ;ionCube, V0 q2 k: {# O
  2035. 6 s4 u$ Z# e. P9 B, o1 e: L
  2036. ;opcache
    . C9 Z+ x$ q( E/ w7 d4 i% I
  2037. 4 P+ K" n  B" Y; F) v' H$ X
  2038. [Zend ZendGuard Loader]+ k7 c' @* u3 b/ I' i% K
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' H: T7 A4 Q3 A
  2040. zend_loader.enable=1
    & n7 T! U8 m! I, {# N$ q$ ^/ Q
  2041. zend_loader.disable_licensing=0
    1 T4 W* ]. i& V( [: d  T% U
  2042. zend_loader.obfuscation_level_support=3
    - o1 Z8 L+ m% p; ?* e6 a
  2043. zend_loader.license_path=
    8 T6 Z! a9 r/ H5 Y/ ?0 X
  2044. . F6 F" E+ y  M# d* X& f: r9 t
  2045. ;xcache
    ' ]2 }! G0 p. ~8 h

  2046. " S( N" g1 O6 p3 ~
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ S' ?" v4 k+ P2 Z0 X0 Y" S0 g9 I. E

; U2 u% a0 j# f- s- l* S: z, ~Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
0 @0 @" n9 ~- f7 G, G
) g6 i; ^( Y2 W( ODiscuz!程序版本选择:- W+ T% j% f7 `3 E) s, J9 U
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
0 q+ t  }2 z' u, s, {, p不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% e& g" z( w3 z/ |
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。* F# ], H4 V9 E2 Y& x. k- h4 w& \

' c" v' `7 p8 U0 vDiscuz!插件模板版本选择:
  r/ U5 U7 Q) r; ^* U4 S5 w2 \9 l很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,7 u3 f3 C. P4 V- m. G( k
针对这个问题做个统一的普及:, E- `% o4 z0 |5 J
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
9 ^! G8 x& d& t5 |4 O' I  }
( z! ^; Y! G( p7 c: n所以- P: Q( u. G  m
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。7 o% D" h9 a: Q! Y* B% N
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
! Z1 G" x% c3 s& i% L. r; i注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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