分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0- e8 t" J6 {) O$ s

6 Z. ?  b; x# v9 N. L4 B- h
  1. [PHP]7 J5 N6 o4 i# P+ {# p
  2. - F+ k8 X5 f0 u4 d
  3. ;;;;;;;;;;;;;;;;;;;
    , v& Q# _' Y; P$ n, s
  4. ; About php.ini   ;# N2 V8 ~: f. c$ b
  5. ;;;;;;;;;;;;;;;;;;;4 u7 p9 _: M6 ^4 ^& [0 o5 H
  6. ; PHP's initialization file, generally called php.ini, is responsible for& J& e/ t" n6 q
  7. ; configuring many of the aspects of PHP's behavior.6 z! `5 Q1 S9 Q, o

  8. : |4 v9 _' O$ ]/ r" L
  9. ; PHP attempts to find and load this configuration from a number of locations.# l( o, S$ z; @1 ~/ B+ X3 K4 k+ G
  10. ; The following is a summary of its search order:5 Z! M2 A1 \8 f& m4 r, s% i
  11. ; 1. SAPI module specific location.
    6 ^, K9 [( p' E, x( N0 U. l
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; ?3 o5 I9 u+ y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* H9 I  }  E0 ?8 E9 k; O
  14. ; 4. Current working directory (except CLI); ~) }# ]& I" }( |7 F  W( D
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    # M0 f$ W7 e+ ^% b; O6 w! z
  16. ; (otherwise in Windows)4 x. \/ D9 V- B5 v6 h
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    * {7 Y/ k% ^! {9 [3 `) V$ z
  18. ; Windows directory (C:\windows or C:\winnt)
    ) p+ }1 F8 t4 R* N" C
  19. ; See the PHP docs for more specific information.
    6 \8 X- C! l( N! b
  20. ; http://php.net/configuration.file; ^/ c/ X  W; ]8 F' e$ ], E0 }; [
  21. + @5 X9 O6 p) o8 a  T- U
  22. ; The syntax of the file is extremely simple.  Whitespace and lines# }/ V7 J' ?! v+ |- [5 x" g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).( d0 W$ u+ B' @) |# X- n+ t
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though+ W6 Q, f" }- s% d0 R
  25. ; they might mean something in the future.2 _: O) I( r2 C1 o1 f" ~
  26. 3 \( R+ K# U$ K  B4 W  y7 K& Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - z4 J8 P8 n2 P3 N( e9 D' a& q
  28. ; apply to PHP files in the /www/mysite directory.  Directives1 b" D  ~) l, H* W1 W9 E( X1 |1 C
  29. ; following the section heading [HOST=www.example.com] only apply to* I7 N* y9 z2 m6 X! J/ [
  30. ; PHP files served from www.example.com.  Directives set in these) h' v/ ?/ ^5 B- m; ~9 o
  31. ; special sections cannot be overridden by user-defined INI files or
    + W4 `0 v" r+ A7 r: g3 R, C/ o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " v$ @' \3 s% D. ?2 T! [5 R: U
  33. ; CGI/FastCGI.# [. ^( @, e; g' Y1 f
  34. ; http://php.net/ini.sections
    & \' _1 d7 A& R/ F! W7 _7 n" `) |1 K

  35. ; Q# R( S6 E, }5 U" v
  36. ; Directives are specified using the following syntax:" R5 C2 Y8 v) ?3 e
  37. ; directive = value
    & ]6 u4 U0 i; r) P+ C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 }% i) Q" l- a
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / s1 e, i5 m  s
  40. ; There is no name validation.  If PHP can't find an expected2 t1 k( k& B- d+ ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ p* B" U8 F: Q: N# R# Q
  42. - K) k' J' A" a8 |8 i* N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% T" ?* _$ B* u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % A6 f' \8 ^; `* m
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    9 I( v$ U9 E- m: H
  46. ; previously set variable or directive (e.g. ${foo})
    % B7 }3 p2 q& x& }
  47. 7 c6 ^. R; m2 j+ w# v
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # \, K! O4 Q5 Y' c; F$ A
  49. ; |  bitwise OR# V9 I' `* C  k% R$ Z! C, H) F: b* E
  50. ; ^  bitwise XOR6 v: O3 q3 M1 ]  u/ c4 S1 u7 r2 w
  51. ; &  bitwise AND
    - h6 {3 T4 h5 e6 J  {' g
  52. ; ~  bitwise NOT
    3 f, R/ ^# c* e9 P+ b6 R
  53. ; !  boolean NOT
    ! B1 ?7 H1 s, [% A9 [
  54. 8 Z% P; F* ?7 Q- Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 T5 L7 I0 l; ?, P  R8 m
  56. ; They can be turned off using the values 0, Off, False or No.
    " e6 m' N+ Q; H6 O
  57. : b) p' x; V: ?9 B( K
  58. ; An empty string can be denoted by simply not writing anything after the equal( d+ `: x0 m: q; f$ Z8 N" m, b; Q
  59. ; sign, or by using the None keyword:
    1 p3 t9 q5 `% G7 Q; B$ f' Y( j' T2 i/ x
  60. 4 z9 p. Y- v  E5 T* l
  61. ;  foo =         ; sets foo to an empty string
    + E  a! V5 q& ], ^
  62. ;  foo = None    ; sets foo to an empty string
      P7 _, g, E! o: X. _- {/ p& {  n- b
  63. ;  foo = "None"  ; sets foo to the string 'None'  d! _" f* d% D
  64. . x  ^+ t& D' Z( d* w
  65. ; If you use constants in your value, and these constants belong to a( c4 W% X& J0 O6 `9 {2 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    * x6 U- p4 J7 z
  67. ; you may only use these constants *after* the line that loads the extension.
    1 \) r7 V' v! v( }" ^' ~) ^8 I1 N5 g) x

  68. : j' y% G- r( s1 X( J
  69. ;;;;;;;;;;;;;;;;;;;5 v' r/ {* r- N$ ?$ x
  70. ; About this file ;
    4 \1 ?8 L4 I9 t7 ]1 _5 I7 J3 H
  71. ;;;;;;;;;;;;;;;;;;;
    / L# l6 S$ _5 a! W% V1 n4 f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( g0 ^+ R1 R+ d" N
  73. ; in production environments and one that is recommended to be used in9 G' B; A1 Z7 R
  74. ; development environments.
    ' Q3 e& q; k( Q! h

  75. / L1 d0 n, A. F  z1 x$ `
  76. ; php.ini-production contains settings which hold security, performance and
    4 T, e5 d2 m9 s, T8 R
  77. ; best practices at its core. But please be aware, these settings may break
    5 R* N/ \  I* n) h' i6 f& _
  78. ; compatibility with older or less security conscience applications. We0 B- z* l9 z2 x9 k9 D/ M1 O8 A  r
  79. ; recommending using the production ini in production and testing environments.3 b: y7 V9 I- v1 ]

  80. ; t% w- K/ A* x1 q" d
  81. ; php.ini-development is very similar to its production variant, except it is6 b1 a) Q; R/ d9 `
  82. ; much more verbose when it comes to errors. We recommend using the6 T% ]" ?- s+ I, g$ s0 r  D
  83. ; development version only in development environments, as errors shown to
    3 |8 k3 i% W( D& x2 Z& }
  84. ; application users can inadvertently leak otherwise secure information.
      m4 I% f/ c5 n# |7 a1 Z0 k

  85. 6 q$ D+ O2 a0 K' [- E
  86. ; This is php.ini-production INI file.
    " K( L/ ^% j# C& A& l6 k0 E% u( u
  87. / H9 R) L6 c/ p7 R
  88. ;;;;;;;;;;;;;;;;;;;
    $ R, |9 b1 o  }# _! C* m+ a
  89. ; Quick Reference ;
    ' X4 S& _0 Z: @  ^: T, e( k6 O" R
  90. ;;;;;;;;;;;;;;;;;;;
    ; k( z3 ?& R) Q
  91. ; The following are all the settings which are different in either the production# R# L+ j0 I& z% h  l8 J5 B
  92. ; or development versions of the INIs with respect to PHP's default behavior." Z' {2 A- D4 z( j9 o% ]
  93. ; Please see the actual settings later in the document for more details as to why
    1 E- P, `, ^& M
  94. ; we recommend these changes in PHP's behavior.& _7 D6 c$ T! m- ~( y3 U3 j
  95. / s1 i4 U9 T1 d5 f3 q$ c+ @
  96. ; display_errors
    & B. I& x5 i, A3 B# H) H5 b7 y' ^
  97. ;   Default Value: On
    4 D7 w  c* _6 z
  98. ;   Development Value: On' @5 ]# w, `( x$ I
  99. ;   Production Value: Off
    ! Z8 x) C' f* }% k( m, r  Q
  100. : t% Z* m: ?1 @% b" ]6 S5 z$ b7 O
  101. ; display_startup_errors
      {! {" P! K2 w3 b' e
  102. ;   Default Value: Off
    0 X3 r! T+ |' K. m: o. J& v
  103. ;   Development Value: On
    . W  a; Q) ~7 p% {5 t( w% z, F! M
  104. ;   Production Value: Off9 `: b/ P4 a7 I* i2 @5 n4 {, S3 j
  105. 0 @5 Q/ u) I7 v6 D
  106. ; error_reporting
    7 R9 [9 F4 `: h. `5 u6 `
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : e. P( n. \7 ^; V$ h! q# M- [1 R* [
  108. ;   Development Value: E_ALL% n. z+ s$ A* `7 W: f) y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; Y' t/ v+ ?2 c' o  I0 i

  110. # @( l- c* V" t) Y. d1 X7 Y
  111. ; html_errors3 Y3 i3 l" v3 X, i( ?( h  h
  112. ;   Default Value: On8 O& \) q: Z. [& f1 {' g+ Q
  113. ;   Development Value: On
    9 D! k# K/ y/ y0 Q3 ?
  114. ;   Production value: On" I' d* E4 _" z- y
  115. 6 j! u) q) k, H9 A8 j, Q) l7 W
  116. ; log_errors0 V, y; M; k+ C9 G- c4 Y$ C! f; ~
  117. ;   Default Value: Off$ X' j9 S$ F, s+ b
  118. ;   Development Value: On
    - m$ F' z" G* F
  119. ;   Production Value: On
    - N& V) m, y! T

  120. . Y6 u9 I" Z& k  m
  121. ; max_input_time. Z  u0 V$ E+ x0 ?7 x- ~8 Z1 y
  122. ;   Default Value: -1 (Unlimited)% Y6 T' _3 U5 a) t; q: E: A3 c
  123. ;   Development Value: 60 (60 seconds)
    . K' G! ^3 D  W( C
  124. ;   Production Value: 60 (60 seconds)* F% l  L5 v) M1 h- t
  125. 1 d# P; P1 z  X# n: A5 d9 E
  126. ; output_buffering
    7 _( H0 K1 Q$ j
  127. ;   Default Value: Off
    # A; D3 r% u: H5 D
  128. ;   Development Value: 4096
    9 _9 f8 h& Q) R1 z9 [" V# c. k
  129. ;   Production Value: 4096
    , |. O3 I/ W& l6 R: g( K) l% @8 ^9 o3 i

  130. # e. @  m  V0 {- ~1 u/ M7 L
  131. ; register_argc_argv
    $ ^: a6 a8 D% b
  132. ;   Default Value: On
    * L2 \: r( b( H% Y- H4 M
  133. ;   Development Value: Off6 j6 j# l- L; Y! t$ V2 i5 K
  134. ;   Production Value: Off$ C" _8 I( J& Z
  135. 4 c; d7 E1 q7 W% Y
  136. ; request_order4 {* W5 @# x, n! g
  137. ;   Default Value: None
    ! R' G1 m1 s, I
  138. ;   Development Value: "GP"- h+ W  u& R, t/ v
  139. ;   Production Value: "GP"2 ?( {) B* y; M/ h6 Z5 {
  140. ) T+ C1 M3 y: @2 o: Q
  141. ; session.gc_divisor
    5 N$ a/ j* A7 X" W
  142. ;   Default Value: 100
    . J' N7 [/ E( M2 U
  143. ;   Development Value: 1000
    + L; |8 P* c; a7 z
  144. ;   Production Value: 1000
    ) q5 f8 R& z2 F

  145. 0 ]4 D4 g, a7 z: M* E$ i. c* I
  146. ; session.hash_bits_per_character4 ^- ^& O  F5 V2 l
  147. ;   Default Value: 43 Q- B" t9 D4 a1 F
  148. ;   Development Value: 5
    , A* R. \5 S; T8 S6 W
  149. ;   Production Value: 5" K* z% ?# x5 V" v

  150. . r( y9 D5 T# u4 u2 p
  151. ; short_open_tag
    ( `8 a4 A# D) p, A
  152. ;   Default Value: On
    ) ?/ J$ f1 N& b+ k  h8 l1 ~8 H
  153. ;   Development Value: Off
    + h( a' m# U! D4 p& _. U4 E* G" W$ S& G
  154. ;   Production Value: Off/ M8 Z( W# @! i
  155. 8 l8 _( g$ C1 R
  156. ; track_errors
    + x* p1 \) |+ O2 b0 T
  157. ;   Default Value: Off
    / V9 b" H. d% L
  158. ;   Development Value: On
    ! S& z+ B/ l+ b; T
  159. ;   Production Value: Off
    " R( M3 |+ q) Y" f' n1 U: n( Z% v
  160. * J/ g. O6 m' w! a% T
  161. ; url_rewriter.tags4 i7 |  V* _3 \
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * h* z; q5 r4 `) z9 j5 K) J& z$ @
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry". H* y; }# l& \' s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") e, D5 G3 V/ `
  165. 4 v6 _7 q# J  V! W' p
  166. ; variables_order: e$ X! t  P( A! e
  167. ;   Default Value: "EGPCS". i  c4 j8 R' A8 ]' R
  168. ;   Development Value: "GPCS"" \$ k0 v9 L" @  \6 T4 \6 M9 v8 W
  169. ;   Production Value: "GPCS"4 i$ i) Y# V* W; O
  170. 5 Q- O8 i) g+ m9 Y: b8 L! i
  171. ;;;;;;;;;;;;;;;;;;;;( M  R: i2 B3 o' L+ U
  172. ; php.ini Options  ;2 J; w# e: q% q
  173. ;;;;;;;;;;;;;;;;;;;;, q7 P3 ?: ]+ e3 [, J" y2 R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    " ]4 Z: T3 o0 l9 z" M0 Z0 ]
  175. ;user_ini.filename = ".user.ini"1 J6 D. Q7 h0 H: v

  176. , D! R6 V+ t' i4 k8 o6 d2 |
  177. ; To disable this feature set this option to empty value! o" e* y+ R6 f3 R! u: }
  178. ;user_ini.filename =3 l% u7 {2 A  G' e! [
  179. / D" x5 M0 H0 I* J9 s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    / Y, f) Y  |$ U$ ~5 Y" X
  181. ;user_ini.cache_ttl = 300, a( Y7 e  |1 Q$ o

  182. 1 g! B+ ^4 r$ \0 L+ f9 L
  183. ;;;;;;;;;;;;;;;;;;;;. H! J# @5 H: C# U' H5 c4 b7 D
  184. ; Language Options ;3 o' H* r/ z" W  I
  185. ;;;;;;;;;;;;;;;;;;;;2 D, M/ h( q6 T; x" W0 o+ t

  186.   L' ?1 u7 z5 _) e: x
  187. ; Enable the PHP scripting language engine under Apache.
    6 p4 P! _1 E" B0 e+ K( ?) t$ s
  188. ; http://php.net/engine; {( ]' v/ a7 C; Y3 k
  189. engine = On
    3 I/ H( W7 o( E* {$ p* g& @5 x( U

  190. - i$ }6 y! I; H5 _+ k7 U" P2 M$ I3 z
  191. ; This directive determines whether or not PHP will recognize code between& @3 b/ w& N1 @/ r  S- v0 o$ y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% x; R& E# I/ Z: `6 s5 r$ \# K' i
  193. ; generally recommended that <?php and ?> should be used and that this feature
    3 G0 q9 Q- Q8 G" \
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 n; k! G  R- n2 ~
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 x! w& ~+ Q2 Z& t" `+ J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) ?$ p0 s/ C. g/ |% X3 J( v8 F
  197. ; used regardless of this directive.
    ( ]0 \# i; A. ^
  198. ; Default Value: On" V1 K3 f0 m9 `: X2 ^; u
  199. ; Development Value: Off
    4 R( c# o' w7 k3 O! i, J1 g1 w
  200. ; Production Value: Off
    8 S" A+ a! C  J
  201. ; http://php.net/short-open-tag! g; }& N: p/ ?) V
  202. short_open_tag = On
    & V9 x  c  `: `& a2 e. Z: p  \. l
  203. 1 ~2 ?6 I8 W1 i
  204. ; The number of significant digits displayed in floating point numbers.( d7 u6 w; F$ D/ n
  205. ; http://php.net/precision
    ! u. a) m/ g8 E* }. J9 x8 N
  206. precision = 146 e/ S4 f' ?2 {( g

  207. 1 X4 C1 s+ [7 Q1 X: w
  208. ; Output buffering is a mechanism for controlling how much output data  Q2 @$ }' y. p$ x1 g$ h' W
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# R, H4 m1 D& z3 X8 u
  210. ; data to the client. If your application's output exceeds this setting, PHP
    % S+ [+ F$ j& O" {8 q' o
  211. ; will send that data in chunks of roughly the size you specify.
    6 s5 t! F* z: f7 W. ?  `
  212. ; Turning on this setting and managing its maximum buffer size can yield some3 q6 D% `; ]& W! d. _; H9 J9 Q
  213. ; interesting side-effects depending on your application and web server.1 F9 v& ]3 _) s
  214. ; You may be able to send headers and cookies after you've already sent output0 M8 h" H. |8 c* U0 u/ G% `
  215. ; through print or echo. You also may see performance benefits if your server is; X( n3 ]9 v) |8 J( @( h/ p) J5 F
  216. ; emitting less packets due to buffered output versus PHP streaming the output, q' ?2 _% y/ a/ b- O
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 a% C4 O( q7 [: u- X. [4 D
  218. ; reasons.
    . ?* S: U/ H$ V2 a
  219. ; Note: Output buffering can also be controlled via Output Buffering Control" I7 F" Y& b& I
  220. ;   functions.
      _! g0 c( M! M$ P
  221. ; Possible Values:
    1 K4 V1 v1 g# v5 @# o* j( J
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)( e! w8 ]1 i4 M2 @8 g! k6 f
  223. ;   Off = Disabled, a2 q7 s: o8 r$ R) r
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.1 j2 m) m, _7 s+ I. R4 i! I
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI1 [) r- Q; @2 V7 i% K  L
  226. ; Default Value: Off6 _9 ?$ G) z/ u" M( ?
  227. ; Development Value: 4096
    ! Z9 w6 g9 W: d1 b/ M" H9 E
  228. ; Production Value: 40960 U' S8 h1 q: A) W: A( V) x1 R
  229. ; http://php.net/output-buffering2 g* N  h2 ?! Y$ s; b/ |% d6 Y4 U
  230. output_buffering = 4096
    8 C: t: e# S+ ]% \* Q' W8 u
  231. 6 X2 M- s4 s$ F. t9 M
  232. ; You can redirect all of the output of your scripts to a function.  For. P" w  J' f' n0 |; S
  233. ; example, if you set output_handler to "mb_output_handler", character: J' Q: k; D; e. v
  234. ; encoding will be transparently converted to the specified encoding.
    / p+ |) f6 N1 k" R* N" u& i
  235. ; Setting any output handler automatically turns on output buffering.7 J* y, W0 B) z6 |0 \
  236. ; Note: People who wrote portable scripts should not depend on this ini/ {. N3 W! V) |9 E" r2 \+ d! J# p" G
  237. ;   directive. Instead, explicitly set the output handler using ob_start().# E+ `2 r3 b" N2 R' g3 j/ ]& s
  238. ;   Using this ini directive may cause problems unless you know what script- F! e4 m: D  k2 D" }. h
  239. ;   is doing.
    . P# `- ?- g9 ?% P+ C
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ) R( [7 {0 E' \7 q& ]+ b' N
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 S  R0 ~3 Z8 a' Y! @* w
  242. ; Note: output_handler must be empty if this is set 'On' !!!!$ U! J5 |2 Q. {& y7 ]5 F6 v
  243. ;   Instead you must use zlib.output_handler., i. i$ D+ ?6 E1 Z0 A
  244. ; http://php.net/output-handler
    0 ?( L! u' w9 q: S
  245. ;output_handler =
    9 w/ ~$ y8 v% k! C- s

  246. : G* l. x: H, J, U/ L: T3 I# B# X
  247. ; Transparent output compression using the zlib library
    3 t+ w+ ?! g0 h
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    2 |9 J8 F8 x) {- B
  249. ; to be used for compression (default is 4KB)9 U. _1 T: E0 e( M( P- O
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    8 ~8 I; T% `' ?$ i$ b( w8 ?
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    / t, L7 c& y* E  F$ f
  252. ;   compression. If you prefer a larger chunk size for better& F0 u7 t# ]5 @
  253. ;   performance, enable output_buffering in addition.9 v! l0 G" n% v- r$ `
  254. ; Note: You need to use zlib.output_handler instead of the standard
    6 M* X0 |4 f. \+ k
  255. ;   output_handler, or otherwise the output will be corrupted.7 B' m5 O: h! i: a0 c3 N# e
  256. ; http://php.net/zlib.output-compression" k3 V6 W: }7 G0 H* W
  257. zlib.output_compression = Off
    ( l' J5 m5 Z* T( T0 W0 D
  258. , b- d# D2 S. g  b  e0 l
  259. ; http://php.net/zlib.output-compression-level
    6 o9 ]* {7 j$ l/ E
  260. ;zlib.output_compression_level = -1
    . D3 S2 t  W* Z
  261. ; v$ ?: c  b; P6 O$ s9 a
  262. ; You cannot specify additional output handlers if zlib.output_compression
    - V2 w# J9 X9 S) D# ^8 P7 [
  263. ; is activated here. This setting does the same as output_handler but in* t# K+ b7 ^5 S7 }5 Q3 D
  264. ; a different order.
    3 w) J7 A8 I1 G: e. ]+ o" }9 @4 N
  265. ; http://php.net/zlib.output-handler
    . ~- s& C1 E# q+ p5 D
  266. ;zlib.output_handler =
    - h; h% j& U$ ]: S
  267. 2 a7 q' z. l& ]$ I- [+ n
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    / Y9 J, A2 j- F7 \
  269. ; automatically after every output block.  This is equivalent to calling the% K+ J# Q0 p, j/ s: ]2 l2 o  V" ^
  270. ; PHP function flush() after each and every call to print() or echo() and each
    2 |4 @+ E* j* ^" u" L4 i
  271. ; and every HTML block.  Turning this option on has serious performance: b$ [1 @; q9 f6 m6 B6 P
  272. ; implications and is generally recommended for debugging purposes only.
    ( X6 y) z7 {5 I& b
  273. ; http://php.net/implicit-flush
    4 |2 f9 K8 n$ C, ~, W% f
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 n/ h$ K; {/ ~$ Q
  275. implicit_flush = Off
    & K" e4 d' C2 o
  276. . X+ b' X  N, }9 b' X$ ^
  277. ; The unserialize callback function will be called (with the undefined class'7 P9 i4 p# s1 y( C' l" ^3 }( x" V+ s
  278. ; name as parameter), if the unserializer finds an undefined class9 N" C+ }. {( i# B
  279. ; which should be instantiated. A warning appears if the specified function is
    ' u3 i8 F# M6 ]: ?- s8 M- S
  280. ; not defined, or if the function doesn't include/implement the missing class.- m) \9 m  Z! U" z* {
  281. ; So only set this entry, if you really want to implement such a" j+ D  w' j  R, G
  282. ; callback-function.* p9 V1 g8 V) c7 m  f0 L6 y- H
  283. unserialize_callback_func =! g$ n( C6 K+ e

  284. 9 a2 g, R( h4 ?2 i7 _- d& H
  285. ; When floats & doubles are serialized store serialize_precision significant, l( t, D- T/ m4 ?/ K; W
  286. ; digits after the floating point. The default value ensures that when floats
      k5 q8 n. e" e2 b" E3 u; y5 Y* Q+ w
  287. ; are decoded with unserialize, the data will remain the same.
    $ h0 B3 J( L  W! B
  288. serialize_precision = 17
      c  e. U! h0 O2 G" n! e

  289. : ]/ Q6 d2 o1 q* Y, [$ _& c
  290. ; open_basedir, if set, limits all file operations to the defined directory1 W" M) f* e3 w# L) C& A! S
  291. ; and below.  This directive makes most sense if used in a per-directory& \- N) A" u; G5 ]9 e4 q& D
  292. ; or per-virtualhost web server configuration file.0 E" @6 @, U. ]5 X- ?
  293. ; http://php.net/open-basedir
    ) v$ k6 L- s& ?; G5 a
  294. ;open_basedir =& A- B9 h: ?% l* }6 z3 i2 o
  295. & o; A/ _5 V" C
  296. ; This directive allows you to disable certain functions for security reasons." y/ @/ \, y% |2 r; _
  297. ; It receives a comma-delimited list of function names.( O9 `! S; ]& o8 k
  298. ; http://php.net/disable-functions
    ( w  h  B" x& \; z4 Y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' n8 t( w% M- ~  |& c+ l. j7 M% A
  300. " j, M6 @6 _; e9 t  h+ \4 k
  301. ; This directive allows you to disable certain classes for security reasons.( T9 J$ Z9 a! O! R7 H! d
  302. ; It receives a comma-delimited list of class names.6 {- y6 r& w6 k1 G3 b. b
  303. ; http://php.net/disable-classes
    ' }( t+ Q; Z: K0 H
  304. disable_classes =4 H6 x6 A/ h- d) K! G

  305. 7 X* y# S# j+ E- r( D% P5 x9 H: W
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, K7 g' P! `2 G  ]9 Q+ W
  307. ; <span style="color: ???????"> would work.2 h* g3 s4 c+ b; I9 ?: Q
  308. ; http://php.net/syntax-highlighting  ]4 f" z8 J' ?
  309. ;highlight.string  = #DD0000: w+ k  T# \) f! X) w: i" ]
  310. ;highlight.comment = #FF99008 L+ g8 J) [0 f; H; ~* @# x) k
  311. ;highlight.keyword = #007700
    5 G9 c) y9 v/ ^2 d
  312. ;highlight.default = #0000BB
    / K- y5 `5 w7 [3 Y* v
  313. ;highlight.html    = #000000% N2 c- Q. J  A, d+ Z

  314. 1 n( z/ W2 X3 R" P* e
  315. ; If enabled, the request will be allowed to complete even if the user aborts/ _( G& {" J# u( z& I2 z# N
  316. ; the request. Consider enabling it if executing long requests, which may end up
    9 g  E0 V# c9 ~& S: v: ]
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : I) W) R" \9 l! p1 `8 a
  318. ; is to disable this feature.# ?9 O0 T! Q( p" {/ l. E5 S
  319. ; http://php.net/ignore-user-abort
    8 F0 ]: }2 |+ F4 J& I$ E
  320. ;ignore_user_abort = On
    : `+ y6 L* p# J$ N' n8 i1 m) ?
  321. 1 W; w. D+ m' W: Z
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    - M$ a3 y9 H. h; u  r
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 m7 r3 \# M! D+ Y! ?
  324. ; the file operations performed.* b* w1 J; D4 S" [' G: i
  325. ; http://php.net/realpath-cache-size7 r% h7 l$ j4 [. S7 D
  326. ;realpath_cache_size = 4096k2 F1 o/ c$ P/ n9 A$ A
  327. 2 ^+ u" ?0 I0 x' P2 k+ p& G, Y
  328. ; Duration of time, in seconds for which to cache realpath information for a given7 S, u7 h; ^0 b8 t: r" j5 b
  329. ; file or directory. For systems with rarely changing files, consider increasing this  o% V8 ~- i* ^. w' O0 Z
  330. ; value." v( q* f% O% L
  331. ; http://php.net/realpath-cache-ttl7 g. b. m4 `5 k- t1 J8 H2 i; P
  332. ;realpath_cache_ttl = 1209 d. G4 [' s. V& p2 h

  333. . J3 A( [  s% b, T, t
  334. ; Enables or disables the circular reference collector.
    3 r1 T* x( ?% O8 x1 L; O8 r; l
  335. ; http://php.net/zend.enable-gc
    7 k, T$ i9 a  t  n
  336. zend.enable_gc = On
    3 v2 e, G2 }% ]9 v2 d! ?3 U+ r

  337. - b+ v: i% \4 Y/ f. F
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    - u4 t0 L$ F: S3 n3 _- [+ d9 }& o# i
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    2 j6 z5 O9 l8 a0 S
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    2 M! z, [& [6 {+ O- h" L! M! l$ T3 Z
  341. ; Default: Off& `6 c* B3 o/ A9 Y4 F
  342. ;zend.multibyte = Off
    , m% O9 c3 B& M) I* s: `6 @
  343. / J" E# v, e; U  a
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    8 t  w8 s  b$ A
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * |! M+ s8 Z9 x  v8 L2 l
  346. ; Only affects if zend.multibyte is set.5 S5 X0 I7 J+ ], N
  347. ; Default: ""
    8 _9 l* {) ~2 O& w/ ?& A. g
  348. ;zend.script_encoding =+ V! I# L5 _0 m/ f) _) i. |" ^

  349. 8 s4 n9 B, K& P* E( C. E# N+ J
  350. ;;;;;;;;;;;;;;;;;3 S& D) N7 R. u3 v- @2 K, |+ m) [+ f
  351. ; Miscellaneous ;! ?* y+ P; i  a7 O
  352. ;;;;;;;;;;;;;;;;;4 N( l5 g3 a3 ?- B
  353. 6 H) F5 J0 R( G& R
  354. ; Decides whether PHP may expose the fact that it is installed on the server2 r! N: @8 w3 ~' {" h2 q: ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 ?# W  E; \# p+ M4 R) E0 q  t
  356. ; threat in any way, but it makes it possible to determine whether you use PHP3 |0 U4 Q5 b4 u& d' e6 `
  357. ; on your server or not.
    ! `/ H1 k" e* D0 m/ F
  358. ; http://php.net/expose-php
    0 E; @/ ?8 c9 f* Q. d, O/ ?0 d
  359. expose_php = On  _& R1 P" l& @8 `

  360. % _; J& L( J) l! }" B/ a2 a
  361. ;;;;;;;;;;;;;;;;;;;. n) Q$ h& a" M+ {. T
  362. ; Resource Limits ;
    ) H) [# _& N6 d2 k# O3 T# t
  363. ;;;;;;;;;;;;;;;;;;;- w- n) R# q- E! q' A9 a6 }, T

  364. * x1 m( [4 T0 x) U  }
  365. ; Maximum execution time of each script, in seconds
    0 o7 p, y! b& L
  366. ; http://php.net/max-execution-time
      \. d3 w6 m! ^! l% V6 h) f4 v! e
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 }2 _7 z* F3 @! ]) Y7 R2 q
  368. max_execution_time = 300
    8 ]& ~4 g) j' X7 o. C
  369. : @2 ?/ [- H7 U; Z3 @
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    " W. }/ y4 T/ h$ p5 n( d
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* T6 }* J; b9 |4 x1 g8 y' H
  372. ; long running scripts.
    , k" X2 P" y' G/ b5 |( i
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    . n% q* j. h3 _( o% e/ b
  374. ; Default Value: -1 (Unlimited)
    9 R% @9 L& `8 j) v; x& ^
  375. ; Development Value: 60 (60 seconds)' [! d8 @% U2 ?6 g9 [0 c
  376. ; Production Value: 60 (60 seconds); |4 V  `3 X. @) T9 F9 Y
  377. ; http://php.net/max-input-time
      e: R. h+ Q+ y4 S! x" e: I
  378. max_input_time = 60  M9 E. ^  l3 Q+ ^) w

  379. : |; ~( C: v/ }8 }3 ]
  380. ; Maximum input variable nesting level- p2 m8 M/ V" M" _; ]3 Y
  381. ; http://php.net/max-input-nesting-level) g& `) s6 q' A& |; y. L
  382. ;max_input_nesting_level = 64
    ( U$ ?4 J- R, V: i  X( o& |3 t
  383. % j! g0 ?& _2 p5 t3 t3 e
  384. ; How many GET/POST/COOKIE input variables may be accepted
    $ J! L6 o% S% J6 O7 \+ h8 @
  385. ; max_input_vars = 1000
    3 p5 V* `0 j" R9 {2 f# R

  386. : A" \6 O6 ~4 U
  387. ; Maximum amount of memory a script may consume (128MB): t& `# r3 H7 k9 M$ ]
  388. ; http://php.net/memory-limit
    : Q, s. t- Y& _) G. Q
  389. memory_limit = 128M* a" Q& I' M, w: B/ Y

  390. ' @; m7 S" C# c; u6 H
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 P/ ]8 }  T) o
  392. ; Error handling and logging ;3 @1 }7 x7 T$ |2 r5 s
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& B7 e0 B6 o: m8 b. r

  394. 2 M; r& t/ D3 i5 G  b, ~$ c( F6 U
  395. ; This directive informs PHP of which errors, warnings and notices you would like+ Y7 [4 b7 z: l
  396. ; it to take action for. The recommended way of setting values for this
    ( }+ y! w1 [8 @, g' [+ F6 K) o+ ^. U0 g
  397. ; directive is through the use of the error level constants and bitwise
    # F2 O4 a, k8 \4 w5 q9 Z
  398. ; operators. The error level constants are below here for convenience as well as
    6 g# m, z" f* n; j4 s
  399. ; some common settings and their meanings.$ r  d, [5 t* V& _
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    - X' _" ]; z) V' t0 j
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( F9 q$ S/ c: Q  M  t
  402. ; recommended coding standards in PHP. For performance reasons, this is the2 y, Y+ W  r% x0 V- ^; M, R% K3 I
  403. ; recommend error reporting setting. Your production server shouldn't be wasting/ g* |2 C& j. A( W1 z2 I9 ~
  404. ; resources complaining about best practices and coding standards. That's what
    " w- g0 T  g$ u' o
  405. ; development servers and development settings are for.5 P! p* G: ^! W) A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This4 ~' H. Z( z- Y3 u
  407. ; means it pretty much reports everything which is exactly what you want during8 y/ p5 Y, m, R
  408. ; development and early testing." B* n  ?# |$ D+ v2 E8 f$ {* X' ^( B
  409. ;  y3 B5 ~# |1 S0 N2 d
  410. ; Error Level Constants:: E& a' b2 f8 f4 U2 k
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ {$ M, f9 v. m% R! \
  412. ; E_ERROR           - fatal run-time errors9 p4 ?8 \! q7 l$ l
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( F. P3 C' |3 M2 Z' O/ P9 i3 i
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , h- H9 c: T! K! Q, @
  415. ; E_PARSE           - compile-time parse errors& P8 x0 D3 s. p- T9 G
  416. ; E_NOTICE          - run-time notices (these are warnings which often result4 r/ _- P, `: \3 n* p& }
  417. ;                     from a bug in your code, but it's possible that it was
      M( w* ]9 |0 @
  418. ;                     intentional (e.g., using an uninitialized variable and1 q( ^% ]5 S4 t& j" {1 J, i- @
  419. ;                     relying on the fact it is automatically initialized to an
    2 S- L1 U  F3 A+ t. r, Q
  420. ;                     empty string): ^$ q/ M: N5 t% n% c8 Z$ ?: R
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    0 I) n: }% j4 ?' t5 z, b, q# b
  422. ;                     to your code which will ensure the best interoperability
    , o! t* r  {' t7 e3 r1 y7 \% ]+ M3 U
  423. ;                     and forward compatibility of your code  a, M" J! F0 r- }
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup! K. S3 E  @' d5 a4 F8 y2 }
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) x; r9 U  |) N+ h3 {6 }! G
  426. ;                     initial startup6 }8 V9 ]2 R/ D
  427. ; E_COMPILE_ERROR   - fatal compile-time errors1 R  U* J( S$ y( W5 d. J0 M
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  a: K! z- r7 d9 Q& t6 f' y
  429. ; E_USER_ERROR      - user-generated error message; [6 m0 i1 }* j
  430. ; E_USER_WARNING    - user-generated warning message
    ' G0 }% n" W, a( y
  431. ; E_USER_NOTICE     - user-generated notice message
    , [+ L7 R1 u" V3 t6 S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . E8 J/ Z# h& `2 n$ M
  433. ;                     of PHP
    + P* S9 a. o8 y+ U9 q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings5 C& b. Q' J) c  k
  435. ;  d, H' }6 Z9 D& G4 Y
  436. ; Common Values:
    9 i8 ]2 u. ~/ F% f9 ?+ @
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" }( D1 l, `) `; i% ^% x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    5 {/ H& @2 S; J/ q( s: @
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)5 L2 R* e8 \& z
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- T, ?9 I4 D+ [( I' |- b! g- A
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: t6 H/ T3 L8 O# o1 W0 b7 F
  442. ; Development Value: E_ALL
    / t9 F) ~& e7 n$ A' g
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! r* E3 E5 i' l% |
  444. ; http://php.net/error-reporting, P. l8 x# k* z" Y
  445. error_reporting = E_ALL & ~E_NOTICE1 V% ]9 V7 ]; W" _' s" R
  446. ) l1 w0 f- l: }6 h, |& @) p' D! P
  447. ; This directive controls whether or not and where PHP will output errors,+ k7 A5 S' Y4 w4 N% M
  448. ; notices and warnings too. Error output is very useful during development, but; F+ o8 X, e4 C5 q; K
  449. ; it could be very dangerous in production environments. Depending on the code+ i/ d6 b( z4 m* J+ V+ q* J' D
  450. ; which is triggering the error, sensitive information could potentially leak
    4 V( c" y& H/ C5 I! Z" R6 Y
  451. ; out of your application such as database usernames and passwords or worse.
    & G1 e8 A7 q) T2 M. c
  452. ; For production environments, we recommend logging errors rather than5 m) K1 ~- t" E" V  Z
  453. ; sending them to STDOUT.
    ) r0 E% N* U1 Z# R" h; H
  454. ; Possible Values:( x7 C; C! v9 Z5 ~' r7 t$ H: Z+ T
  455. ;   Off = Do not display any errors4 N+ A, I/ l8 e5 C  b1 Q
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / B" p' N3 w5 s. c4 O/ C0 Z; ?* f
  457. ;   On or stdout = Display errors to STDOUT, I! ^- S7 ^$ ?/ [; B1 E
  458. ; Default Value: On
    1 q; j( S/ k+ I; w; a
  459. ; Development Value: On
    % Z0 `8 q* ?: A* n6 j) ]& O
  460. ; Production Value: Off
    & K5 @1 n3 ]7 V7 X
  461. ; http://php.net/display-errors
    " h# G4 a0 P& H( }
  462. display_errors = On
    7 Q" ?( @" C# d# N

  463. # k( V# r  @) W- d% L
  464. ; The display of errors which occur during PHP's startup sequence are handled2 A, `$ c3 n- K0 y9 u! M
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    5 O& B: [( G  ~8 E1 S
  466. ; errors from clients. Turning the display of startup errors on can be useful in. {- E9 @7 @* a( a. r" _
  467. ; debugging configuration problems. We strongly recommend you3 X. o) C/ B+ ?% h+ J4 P8 T
  468. ; set this to 'off' for production servers.
    9 K/ k" z# m* M( W+ ~* s" k
  469. ; Default Value: Off
    % B( A- ~9 F8 R. v5 ]& e
  470. ; Development Value: On
    % j5 W' y- B6 T# l2 P4 K* I8 p
  471. ; Production Value: Off
    5 l  Z( c+ X6 w0 [
  472. ; http://php.net/display-startup-errors- z" J* X; A7 h# c) S
  473. display_startup_errors = Off
    ) e$ r- E& M, o

  474. . s) [) x: s# S- G) `
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    / k4 f( z! P2 n2 w1 ~
  476. ; server-specific log, STDERR, or a location specified by the error_log
    / x; v7 h8 P  s, O: l. `- Z
  477. ; directive found below. While errors should not be displayed on productions! N  ~+ J# Y7 i+ K. `' E& [! J7 Z
  478. ; servers they should still be monitored and logging is a great way to do that.. f% a0 E8 l& k% N5 v; u1 _* U( o6 x
  479. ; Default Value: Off
    $ L/ {. ^( K: y% I3 M! N
  480. ; Development Value: On0 A' ?: J  @' T$ [; j3 y. `& }
  481. ; Production Value: On( J# w6 \7 }% j0 j/ q4 Y7 ]
  482. ; http://php.net/log-errors1 E  R! N7 p1 c3 y! N) h1 T
  483. log_errors = On
    ; V* r) f4 O& ?; n3 p+ }" d1 j) ?7 h2 G
  484. + @0 O5 ^7 _! ]
  485. ; Set maximum length of log_errors. In error_log information about the source is8 `) D  {3 i% R# J; g5 o$ X
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.% H6 O$ i# D/ l+ V7 a) ~* X3 S
  487. ; http://php.net/log-errors-max-len1 B* I; M, R0 ^/ R7 W
  488. log_errors_max_len = 1024
    " C# W, Q" ]: V9 n9 }& p
  489. ' D2 N/ t2 L! e, h4 ~
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same! G/ J/ a  g3 n- s+ ^
  491. ; line unless ignore_repeated_source is set true.
    , q# E: }. [+ w8 z
  492. ; http://php.net/ignore-repeated-errors
    ' V3 m7 z7 K0 m: c& Q
  493. ignore_repeated_errors = Off7 B' S; b$ G9 R& R4 l
  494. 9 z2 ~/ X, f/ r& M/ M7 {
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    6 t  z4 I3 w4 W3 m( H* G7 `
  496. ; is On you will not log errors with repeated messages from different files or
    + X4 Q  V4 a; a2 P9 Y  H! V
  497. ; source lines.: g4 y, v. M" d( d5 J* F( ]
  498. ; http://php.net/ignore-repeated-source8 l) g# }' k. X
  499. ignore_repeated_source = Off2 n$ I* T6 J2 b7 s7 z# ?2 u
  500.   p, t* g1 y" Q5 ^5 e0 p
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on4 n2 R6 O6 i1 A/ l
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , y4 O2 m9 w# k4 {0 w: D2 `
  503. ; error reporting includes E_WARNING in the allowed list
    5 D" R, y8 @; ~& ~/ @6 }8 H
  504. ; http://php.net/report-memleaks+ ~9 n" J0 W9 ?/ W
  505. report_memleaks = On0 {1 f: k9 G( C/ X8 K  H% h: k

  506. 6 E, U  p  |2 L* [' {4 D2 @- ]
  507. ; This setting is on by default.
    5 V2 g8 N% n8 J6 ~  h9 O+ |
  508. ;report_zend_debug = 0
    4 `7 x% `) s1 D8 b7 ^6 n1 ?

  509. + ?) I; a1 |2 w- G8 n( Y8 ~* o5 ~
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    : H% z( ]! b! z6 d" _2 y% Q( |
  511. ; to On can assist in debugging and is appropriate for development servers. It should- L3 ^0 w( x7 G0 z* z
  512. ; however be disabled on production servers.6 m3 Y, A! K5 A: Y
  513. ; Default Value: Off' Q5 a7 p! U5 J( C
  514. ; Development Value: On# P0 o( p' _9 p$ h) Y7 ~
  515. ; Production Value: Off
      W5 c. y  H. R+ L; G% n
  516. ; http://php.net/track-errors
    , q5 \" o2 [- j$ d: v5 H: |8 b9 J. ^4 {
  517. track_errors = Off
    ; B! o/ b/ N3 F1 j5 D4 q5 n
  518. : b3 O1 d" k) z& l/ t( X% d
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ! M! `; O, q6 i' \0 c3 b8 W$ d
  520. ; http://php.net/xmlrpc-errors
    , @+ ~; O% z4 R) `
  521. ;xmlrpc_errors = 05 a( J) f5 e1 W9 d5 g
  522.   |" g- v+ G7 g0 _9 b6 }8 m1 ~+ n
  523. ; An XML-RPC faultCode$ T- B7 O' l3 x  _
  524. ;xmlrpc_error_number = 0
    3 [3 d! J% h/ Q; b. N2 D, @3 D* U

  525. & G1 q* p+ v6 K! H! N4 {
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ( y7 ^# C# }: i! g
  527. ; error message as HTML for easier reading. This directive controls whether
    , Q* |# q8 q6 I) \: j
  528. ; the error message is formatted as HTML or not.
    0 m  F% d6 ^5 E8 @5 t/ w7 q- a
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 p0 Y% j& C4 Q! o( a
  530. ; Default Value: On9 D$ C4 J1 m" g/ u$ n9 J
  531. ; Development Value: On4 k8 ^3 i# Q  F8 g6 o2 E- g% [
  532. ; Production value: On# Y. w  s: c* \
  533. ; http://php.net/html-errors; M. G* @7 R8 W' A/ X* ]7 L- u6 @
  534. html_errors = On4 `5 A' a) x% w" M6 M/ [
  535. 1 r" C/ r/ m0 M- w( C5 m+ ^
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    $ T( W0 f+ `' e, g/ {5 h9 f, Z0 k
  537. ; produces clickable error messages that direct to a page describing the error- X, h& M9 ]% N2 v8 p) D4 K- h
  538. ; or function causing the error in detail.: {8 U4 h" I+ q2 P; l
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    : s) J: }: ]/ }6 D7 P& Z% L
  540. ; and change docref_root to the base URL of your local copy including the
      P; a  ]. b) Y$ \7 l9 E
  541. ; leading '/'. You must also specify the file extension being used including. Q2 P6 l) e  Y5 K1 j
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which, {& B  z7 r# Y* Z( C1 @
  543. ; case no links to documentation are generated.( E) [& E" m) i) V8 O1 L+ z
  544. ; Note: Never use this feature for production boxes.! ^% T5 _3 [" ?2 _' Y
  545. ; http://php.net/docref-root
    % S$ C& a( U- l% t# V1 y. i
  546. ; Examples% H% V4 C& y% w5 F
  547. ;docref_root = "/phpmanual/"
    4 D) J: m% d7 Y( _0 S
  548. ; l6 n  P4 M1 A: l
  549. ; http://php.net/docref-ext
    " ]; [6 G& @2 V7 C+ J) S) \( a! {
  550. ;docref_ext = .html
    5 i2 v1 u0 D8 s
  551. : ~( ?, B6 G# S0 q
  552. ; String to output before an error message. PHP's default behavior is to leave8 y" b7 a" y7 D+ a
  553. ; this setting blank., z+ d% A1 l5 @5 P! x- }. [
  554. ; http://php.net/error-prepend-string9 _2 y2 c6 ~& H
  555. ; Example:3 E/ V' a6 |, ^( w8 e& H
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & n0 Y- n8 j! G6 z0 h
  557. $ D8 G& g* o8 X; @+ D
  558. ; String to output after an error message. PHP's default behavior is to leave
    3 |  |1 r: n' ~4 x; x# h
  559. ; this setting blank., e0 g0 d- r% N! h
  560. ; http://php.net/error-append-string) K; v1 B: n' k( g+ |' j6 Y4 D. g
  561. ; Example:
    , ]# J8 T/ _2 `# q/ @: V+ m
  562. ;error_append_string = "</span>"9 c4 i4 s3 y2 c: \0 k" W3 `2 d
  563. 9 c" M: G- [4 n3 H% v" b' a( D8 x
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    + b& {( u  t+ s  G1 @% e$ O, J4 _1 E
  565. ; empty.
    ' O% {$ s6 V  r+ L$ J, X, k1 c
  566. ; http://php.net/error-log
    - Z( F8 t* R5 t6 p8 F! D' O
  567. ; Example:
      I$ y, c- k' E! e& D
  568. ;error_log = php_errors.log
    . l! z3 L- x$ \3 ?4 L
  569. ; Log errors to syslog (Event Log on Windows).
    * ?$ x: o: @* M  _7 n# Z
  570. ;error_log = syslog! X" O1 F4 k3 h% Y9 O

  571. 7 p: s7 N/ C! W* w5 g3 ?& {: d, G
  572. ;windows.show_crt_warning
    ' a, O2 \, R  d; L3 q7 Y% G$ t
  573. ; Default value: 0
    - ]  S0 T. B( o8 L
  574. ; Development value: 0  `& h' n6 `2 K& d* P! _* d! U% V
  575. ; Production value: 04 i0 S' g. y; d* W' X

  576. : d3 x% d1 R3 _  h- Y
  577. ;;;;;;;;;;;;;;;;;
    0 u; X) U6 Z7 z: O5 C. R, V' I
  578. ; Data Handling ;! k1 D2 E& w) A, d9 `6 L+ I
  579. ;;;;;;;;;;;;;;;;;4 N* c. g- K" A* \
  580. ; ?/ i4 X; M+ G  R5 [  w. G
  581. ; The separator used in PHP generated URLs to separate arguments.
    3 c# Z- O0 K$ T- }) T7 ?
  582. ; PHP's default setting is "&".) c8 j4 J+ ]( i
  583. ; http://php.net/arg-separator.output" F/ V0 {# f  p2 M  e# i( z
  584. ; Example:) n1 R4 X* N# A
  585. ;arg_separator.output = "&"
    5 d# e. s2 q/ N, A) [/ {3 t! \. `

  586. ; l% u5 X. F, x( S3 Q
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    . x" C% V$ }. R. j/ q) a' v* l: {
  588. ; PHP's default setting is "&".
    : A: F& a" X( m
  589. ; NOTE: Every character in this directive is considered as separator!/ L+ R' A" G/ ?+ ]4 c7 k
  590. ; http://php.net/arg-separator.input
    ! Z8 L; ?$ x/ C! ~$ U, X' Z
  591. ; Example:
    7 o8 f" N! c( j, k3 b
  592. ;arg_separator.input = ";&"
    2 B4 o! ?' s2 v% v# L7 O+ _
  593. ! W, z; S6 d5 h! y8 a3 G& O" ^. a
  594. ; This directive determines which super global arrays are registered when PHP
    % B' H* V$ t8 [, x7 @7 k
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super% L% W3 p4 G8 A: E
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% g# U( t( F% ]& o% Z
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 p' Q3 q. O9 Y* Q
  598. ; used as the others, ENV is not recommended on productions servers. You4 `8 q$ b$ C5 _/ u. L/ P$ ~
  599. ; can still get access to the environment variables through getenv() should you' o/ }! G4 Z, g
  600. ; need to.3 w+ A' E/ Y8 i% @3 g( i
  601. ; Default Value: "EGPCS") H4 T4 U" D& I" ?- _- X5 u+ v
  602. ; Development Value: "GPCS"0 U) e5 k. d% b6 @, I5 z2 X& ^$ L- y% i
  603. ; Production Value: "GPCS";
    & ]& f$ U! R0 g# L4 f/ L
  604. ; http://php.net/variables-order
    2 U3 b9 v# X9 N0 y5 m3 m
  605. variables_order = "GPCS"9 j1 A6 T3 e% Q0 a3 L

  606. ' C+ e# C* l# Q7 `/ f8 O1 i" w
  607. ; This directive determines which super global data (G,P & C) should be, B& l& O" x$ J8 L0 Y6 }( }
  608. ; registered into the super global array REQUEST. If so, it also determines* c% e; q2 ?5 e7 l1 p! t) s3 x
  609. ; the order in which that data is registered. The values for this directive
    7 q; i4 W4 I3 f* c
  610. ; are specified in the same manner as the variables_order directive,
    3 _+ b" p2 x, _8 j# ^
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      q8 ?7 D0 l7 ?7 ^
  612. ; in the variables_order directive. It does not mean it will leave the super; V" e1 ^) _: i2 _
  613. ; globals array REQUEST empty.6 r1 R6 q  b. ?7 \) {& _
  614. ; Default Value: None0 V# o/ n9 ?7 j+ F+ ~
  615. ; Development Value: "GP"# ]3 C) E. k* u; z) ^$ ^3 O" l
  616. ; Production Value: "GP"
    9 m% w6 P( H4 u+ c
  617. ; http://php.net/request-order1 }. r) ]- U& F. R) W3 o' o$ Q  v1 Q
  618. request_order = "GP"+ G5 ?. E/ a8 w/ K8 d+ A# P: h# M
  619. : p- N6 x* g6 a. ~, |4 i
  620. ; This directive determines whether PHP registers $argv & $argc each time it0 _7 b9 k% ?  M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 J7 Z4 S# g& P
  622. ; is invoked. $argc contains an integer representing the number of arguments
    0 @# R. {; _5 B4 L3 {6 U% s
  623. ; that were passed when the script was invoked. These arrays are extremely5 ^3 w7 C! `0 a# A8 W, i& N
  624. ; useful when running scripts from the command line. When this directive is, m, F6 t# a6 P# n! V0 B9 Z5 }9 {
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    0 |4 U  I5 `) d7 R$ j- t
  626. ; a script is executed. For performance reasons, this feature should be disabled
    % d1 Z6 `8 Q9 W7 V6 s2 M9 b
  627. ; on production servers.; t' ?. x1 C# t. q1 a8 C5 K
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 w/ t5 `1 p: ^) o% q
  629. ; Default Value: On
    % g6 n' e( Q0 {7 K$ N, {
  630. ; Development Value: Off0 a0 N/ u6 |8 R% O( u7 g. o
  631. ; Production Value: Off& m9 }. w+ v9 ]' I4 P! a0 u; C/ g0 U# n
  632. ; http://php.net/register-argc-argv) a$ K% t# m: W
  633. register_argc_argv = Off
    3 l9 ]$ ^: H! m

  634. * A# z  x- X  k) W
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ D+ U+ r" D1 o
  636. ; first used (Just In Time) instead of when the script starts. If these7 E% ~/ }& Q& U& W- y3 T
  637. ; variables are not used within a script, having this directive on will result, p# `( k3 Z# h% ~, f0 X' y
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled* X9 G& K9 r) v" i4 h: r0 O
  639. ; for this directive to have any affect., e& R% {/ _; E
  640. ; http://php.net/auto-globals-jit. M7 E5 @* s: j: g" _8 S
  641. auto_globals_jit = On
    4 j% g0 |0 F/ U4 V4 E

  642. $ H* z: n& \9 ~
  643. ; Whether PHP will read the POST data.
    ) |, u6 g& {% _* X# p: d! ~. i: E
  644. ; This option is enabled by default.4 M# `/ F- ^9 I5 W, G% j9 X
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST6 ^0 f$ l* d4 W
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ! _- r9 J+ \) D" O
  647. ; POST data will be through the php://input stream wrapper. This can be useful+ F, ]# w* ~7 T. j2 h
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) P2 D" ?! q& _0 v1 M) v& `
  649. ; http://php.net/enable-post-data-reading$ w0 k7 O( K# D3 ]" |3 H
  650. ;enable_post_data_reading = Off8 B* v: \' {& T1 W

  651. 9 ]: E; R' m4 u' W5 x5 e* R
  652. ; Maximum size of POST data that PHP will accept.
    2 R( @4 ~8 |0 m3 M+ C
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 C* f( `: i' r3 U( @' M
  654. ; is disabled through enable_post_data_reading.
    ; l2 T3 X. {+ I; U. K: x
  655. ; http://php.net/post-max-size
    0 ~8 ?" H8 {5 E' f
  656. post_max_size = 50M
    7 }9 B' o5 t" C1 c' G

  657. 3 K) y9 v& M; X9 M6 y8 N
  658. ; Automatically add files before PHP document.
    . x5 c# v6 K2 D4 x: Z; k
  659. ; http://php.net/auto-prepend-file
    - U6 \9 b' ]2 E! p- u3 A! @' G
  660. auto_prepend_file =' ?) P% M( v; F$ D' R& M. r

  661. 8 Q. Z( g3 V: z) f1 I/ I- f; E
  662. ; Automatically add files after PHP document./ g" \/ d9 W7 z2 }5 q
  663. ; http://php.net/auto-append-file
    & F, A/ W9 p$ J( M0 @
  664. auto_append_file =* x; |0 m4 X: b( |( O. i; C
  665. # P' A( x3 a6 d) Z
  666. ; By default, PHP will output a media type using the Content-Type header. To; _& n: B+ l7 j/ g5 d. z* o# L
  667. ; disable this, simply set it to be empty.+ o. E) M9 A4 H5 H" V: U9 v) }* f
  668. ;; B. g+ n8 O) R( L
  669. ; PHP's built-in default media type is set to text/html.$ y: k$ w4 O* t) ?' J  L4 c3 X6 N
  670. ; http://php.net/default-mimetype
    7 N+ x, \8 x* X9 \& c! i1 v1 O
  671. default_mimetype = "text/html"
    & M  T5 @4 i/ h+ ^" }
  672. 8 j) s7 h# n8 y
  673. ; PHP's default character set is set to UTF-8.$ G! _) b& u' T1 Z9 I
  674. ; http://php.net/default-charset
    ( a  D: Q# @: o+ ?% d! E% Z" k4 V
  675. default_charset = "UTF-8"
    4 B  I7 @# h$ m4 d* ~; K+ t
  676. 3 p7 @5 V8 N9 M% j
  677. ; PHP internal character encoding is set to empty.
    - {4 y6 e/ U+ N  w& j0 J
  678. ; If empty, default_charset is used.
    6 O6 a  b9 C2 z/ Q9 d. Q
  679. ; http://php.net/internal-encoding6 F+ z) C  q7 X* i8 t4 q5 D
  680. ;internal_encoding =
    # {( j: G! I$ ^' m

  681. + C2 S8 c- r6 T( U1 A$ u
  682. ; PHP input character encoding is set to empty.
    + ?+ e$ Q* ?2 K: E
  683. ; If empty, default_charset is used.
    3 v9 ]/ a- d8 o& ]4 @
  684. ; http://php.net/input-encoding4 G  L, ~, t- K
  685. ;input_encoding =
      B+ T* ~% ?4 W: n2 Z( N3 h1 m0 @1 s5 d5 a

  686. 4 [! I* |3 u( r+ C3 t7 W
  687. ; PHP output character encoding is set to empty.
    ' k+ K3 F/ l. g" a1 s
  688. ; If empty, default_charset is used.6 g( P9 C4 I, q, d* i) r  {9 S
  689. ; See also output_buffer.3 v9 d) G* _. P. Q% P: t
  690. ; http://php.net/output-encoding. f+ L$ B+ B) h" Q) {
  691. ;output_encoding =& j+ Z8 T0 I/ [! R5 X$ r6 G
  692. 3 Z) J3 Z7 V6 T/ _
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 {! g/ T) Q/ Y0 ?8 q
  694. ; Paths and Directories ;
    * t7 Z' y5 ~' l% ?! c9 c
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 w7 @9 `' D! v) }. ^6 K% e

  696. ' `' B+ P  _8 C4 _
  697. ; UNIX: "/path1:/path2"
    - V& C0 @) J$ f7 c4 Y# \8 W3 W* B
  698. ;include_path = ".:/php/includes"
    0 g; o2 O! Z' K
  699. ;
    ) h; a$ z' ~% E& b
  700. ; Windows: "\path1;\path2"7 N* k) J3 }( N) J
  701. ;include_path = ".;c:\php\includes"
    + @7 w3 S: Y9 h) t- X! G, {: Q
  702. ;
    ' D, Q- V5 z6 S( t
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"6 E$ l+ J  Z; d7 m5 o1 p
  704. ; http://php.net/include-path
    6 l! Z5 J2 Y# y- Y; f

  705. 3 X* {/ H. C& C/ S) F( D
  706. ; The root of the PHP pages, used only if nonempty.
    : t. Q+ b6 o  x3 F  g7 r3 G5 g
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    : v$ J4 ?. ]3 }1 @1 c, }, g
  708. ; if you are running php as a CGI under any web server (other than IIS)7 d' u, \' [1 @1 }. N' a. A2 v
  709. ; see documentation for security issues.  The alternate is to use the
    : N9 [5 L* ~4 \1 c  l
  710. ; cgi.force_redirect configuration below
    5 m" C" W+ h, L, {7 B  H
  711. ; http://php.net/doc-root, i. R3 R/ F( v9 T
  712. doc_root =
    * b3 B" d* E8 C, B! N' v: Q6 ?
  713. ) O4 U9 _+ Z* e, _
  714. ; The directory under which PHP opens the script using /~username used only4 s" @( A+ U! u5 p& D
  715. ; if nonempty.
    2 p7 O- q7 C9 _! N/ I
  716. ; http://php.net/user-dir+ ]1 m6 i, K" L( v
  717. user_dir =
    - B5 J" h# ?4 D
  718. - x: y1 R" K2 |* z
  719. ; Directory in which the loadable extensions (modules) reside.
    . l9 c2 @4 z% ?0 v- Q1 N+ E
  720. ; http://php.net/extension-dir  b8 E, x8 l3 }0 l: M, V! j
  721. ; extension_dir = "./"- y% O5 L+ k& K* C7 {
  722. ; On windows:$ e2 O- G7 e  y0 Q1 h# |
  723. ; extension_dir = "ext"
    9 H3 N5 q2 a  r  C9 l
  724. - \4 H! \2 d/ O2 ?: j# d
  725. ; Directory where the temporary files should be placed.- ^: T3 H  G& X) O/ j* p. E- Q# ]
  726. ; Defaults to the system default (see sys_get_temp_dir)& S# l- R0 v4 L9 L. y) @7 C6 t
  727. ; sys_temp_dir = "/tmp"/ k; h9 v& w3 c

  728. % c3 {4 A, p2 @5 \+ B
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ B8 h9 ?+ c/ [3 t& |" C# h
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 U8 G* S  t0 Z0 r& V* A0 ^
  731. ; disabled on them.% k& M1 @" u% M  p8 O- q
  732. ; http://php.net/enable-dl
    3 u4 T( `  l( m, X) E8 d
  733. enable_dl = Off1 W; N+ @. S' D$ e+ {/ m. }
  734. , {; o! u- A& f4 K- g
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + m8 y7 _9 l0 ~; v+ P/ e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can( V# k9 ?! l9 n0 Y# ?) M
  737. ; turn it off here AT YOUR OWN RISK
      ?3 l3 x: c$ u
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**" {3 e3 F, U7 U0 `3 R
  739. ; http://php.net/cgi.force-redirect' B$ t# l. n/ t- _) A* g+ v
  740. ;cgi.force_redirect = 1
    # a5 Z' g: E8 [7 I; ?# I
  741. # c& I. U5 \2 o! [6 J: w! y" x9 h
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# U" ~( i- {9 D  r& J
  743. ; every request. PHP's default behavior is to disable this feature.% g4 E  R; [" I7 y9 w5 r
  744. ;cgi.nph = 1
    $ p' k# G- i  I

  745. 2 n) C0 [% B& M% M4 c6 y' r1 e
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape2 A4 G& I" \' g& j
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP: q3 b/ {. [  w* z0 P: L
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    + p2 z8 O  G1 u- i3 Y, ?" s
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 f9 l! y0 g7 B( J. x
  750. ; http://php.net/cgi.redirect-status-env
    ( p& U: p8 `* G% S
  751. ;cgi.redirect_status_env =) I- L, k/ n) @% v( x, [& z

  752. 2 K# @) R, M7 K7 l. n+ U/ _
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's7 ]/ o" C$ B& z" Y2 p  C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - D( D1 q$ M/ A
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; U, |& J# O0 F  k/ c
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' ^# L( S, M1 Y( e2 c$ B' }
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    + Y8 ^3 d# [5 d
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  L/ W2 i9 B; m1 t- S2 k
  759. ; http://php.net/cgi.fix-pathinfo  M$ U% f4 {' ]3 }
  760. cgi.fix_pathinfo=13 B& c# c& e% ^: p

  761. 7 W  N1 [- K; b- q3 f- I
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside+ s6 K$ k- O5 o" r8 M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 \6 r7 K6 q, N1 g, t9 E
  764. ; http://php.net/cgi.dicard-path7 P6 ?% U7 i9 Q* L
  765. ;cgi.discard_path=1# L+ a( I! @2 t

  766. 7 j; k6 @; e& |, H  U
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    4 Z5 E) @8 D# H' z5 B7 N
  768. ; security tokens of the calling client.  This allows IIS to define the% ^" Y. y0 k0 y+ Y$ k
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    7 D4 A" \7 x2 _" d+ q
  770. ; does not currently support this feature (03/17/2002)8 L  R# e; l  k% Z
  771. ; Set to 1 if running under IIS.  Default is zero.
    9 O- F$ Q: c0 J
  772. ; http://php.net/fastcgi.impersonate
    . t  p3 X5 R3 {, W/ O9 |. O
  773. ;fastcgi.impersonate = 1
    $ S+ R% X" }# R7 H# {2 c
  774. 3 m! u3 [1 h$ c9 u$ N) d
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable2 X* ~0 @+ e7 l0 S& b4 p& S; ^2 C& n
  776. ; this feature.
    - j$ R9 v5 N. D* V" u* b) K
  777. ;fastcgi.logging = 0! R4 o( Y+ w, E7 Y& L! [; {3 @% [
  778. - f% j" d2 @' z( O/ `# g3 L6 w
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    , E/ ~  g, U' m6 r& l3 K% V9 {
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    * T0 Y, P" N, ]) I# b' e5 _
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    3 ^% k$ @; J: B7 j: S, M, ]
  782. ; RFC2616 compliant header.9 y5 C  u* k$ B! }1 \
  783. ; Default is zero.9 [2 ~  ~1 V: O3 M4 _$ a$ }
  784. ; http://php.net/cgi.rfc2616-headers% t5 u5 S; n( [; W8 M% t
  785. ;cgi.rfc2616_headers = 0& i, @- f$ ]$ m8 w4 |2 d8 w& ~

  786. & O! l: J' @' R% E
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" f( v. S0 _2 r. L. F- O' B
  788. ; (shebang) at the top of the running script. This line might be needed if the
    / m( a  R% b2 a6 l- V( v
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI0 w0 t2 J2 R8 x; ^, G2 y) T
  790. ; mode skips this line and ignores its content if this directive is turned on.2 `" S5 P2 V$ V) Y. a3 J
  791. ; http://php.net/cgi.check-shebang-line) Y3 D0 z! C/ a- A4 o- ]7 d
  792. ;cgi.check_shebang_line=1( I$ z$ v1 X& a4 p
  793. 7 Q: Z* p/ ?; t
  794. ;;;;;;;;;;;;;;;;
    , a, S2 W0 v; }" y1 u9 E
  795. ; File Uploads ;
    * f* {5 @: `5 A+ S/ T' E" e- b
  796. ;;;;;;;;;;;;;;;;
    ) }/ I2 c) v$ I9 p
  797. $ B3 O( w! Q% n
  798. ; Whether to allow HTTP file uploads.7 a4 {7 H, t' g2 `
  799. ; http://php.net/file-uploads" i2 X; j) J6 q+ S0 [
  800. file_uploads = On
    1 \" U7 v! E3 U4 B
  801. 0 G* c2 z1 q, ~( P" l( V
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    3 C& n+ ^: _# E' J6 o# Z
  803. ; specified).! I/ \, |  a6 q7 g' a) U
  804. ; http://php.net/upload-tmp-dir
    9 o9 Z; J1 X9 g2 f8 j% V
  805. ;upload_tmp_dir =+ y( q! {7 F  N: C
  806. : Q5 H* o# L! A+ V, E7 N3 I5 G
  807. ; Maximum allowed size for uploaded files.. k: h$ u; `- @7 z# P& T
  808. ; http://php.net/upload-max-filesize; ?- |) O9 k) T5 q5 D, M
  809. upload_max_filesize = 50M. Y, m, _+ s" M% c  c
  810. 7 T1 a$ X9 M$ \
  811. ; Maximum number of files that can be uploaded via a single request4 L" y) M: X# ?
  812. max_file_uploads = 20
    . v' L) ~* q& Z- m- k1 H

  813. % [7 y4 Z$ l# f2 w% G
  814. ;;;;;;;;;;;;;;;;;;
    + c+ u4 n8 ?9 V% r* ]
  815. ; Fopen wrappers ;3 ]/ l/ A. m9 }6 u
  816. ;;;;;;;;;;;;;;;;;;7 c# h5 n! W$ {1 g/ e$ v; s

  817. . Y1 s1 Y& y# d0 D3 Q& Y
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.6 @- d' i7 k* b; s/ e
  819. ; http://php.net/allow-url-fopen
    / i5 w. s3 k' K( s! f# q
  820. allow_url_fopen = On+ _; q+ M# ]) ^

  821. * w0 Q4 C( c+ \' h# W; s+ I
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) o) w+ i0 L0 q9 E
  823. ; http://php.net/allow-url-include
    1 W9 Y+ u9 m8 ]$ v+ |+ p
  824. allow_url_include = Off' @, S% Z' d- w+ _4 l
  825. # g8 w- m% @5 q2 w: Y7 r
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ' H. |" F7 f. f- Z6 c1 @
  827. ; for this is empty.6 K3 a1 |. {% V  _
  828. ; http://php.net/from0 }( ?1 f4 Z3 L: p4 ^
  829. ;from="john@doe.com"
    6 {2 K4 o; L+ P0 d; k# Y

  830. % Y( P) _9 b. Q8 z7 F2 s( r' Y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ K8 b) ~! ?8 p8 d" v6 u
  832. ; http://php.net/user-agent
    , Y4 l! y: o8 Q; ?: j
  833. ;user_agent="PHP"
    ) t  o4 l5 ^$ y2 q7 w2 d9 g$ }

  834. 1 I4 q& l" W8 |8 h
  835. ; Default timeout for socket based streams (seconds)
    , |3 d6 h/ E8 [$ g6 M6 y( C+ l
  836. ; http://php.net/default-socket-timeout, v5 R9 r9 V' a+ v+ Y! |" I- [
  837. default_socket_timeout = 60$ [) U2 `8 b7 }1 }

  838. * ]; B( L+ K& ?1 ?
  839. ; If your scripts have to deal with files from Macintosh systems,( j* ^( K; I4 v$ f2 p6 t. J. @
  840. ; or you are running on a Mac and need to deal with files from$ C  a& G! v; n% v- x$ c2 f; v
  841. ; unix or win32 systems, setting this flag will cause PHP to; W! E' Q" n* `$ q
  842. ; automatically detect the EOL character in those files so that8 P7 @- O" B( {! A- Y. e
  843. ; fgets() and file() will work regardless of the source of the file.
    5 H. D  ?9 _6 X0 E7 _4 c' n
  844. ; http://php.net/auto-detect-line-endings
    + X$ g  R+ J0 e. F
  845. ;auto_detect_line_endings = Off2 o) R6 |1 m; X9 w
  846. * e6 H7 e% o) x7 V5 e( s
  847. ;;;;;;;;;;;;;;;;;;;;;;  B. u  @  D% z; B6 s" x
  848. ; Dynamic Extensions ;, I+ w# f" i: p& m5 ]5 n' U* e5 m
  849. ;;;;;;;;;;;;;;;;;;;;;;1 S) Z5 _# t/ i- h0 }6 p
  850. 2 k3 K1 x- u3 C/ t
  851. ; If you wish to have an extension loaded automatically, use the following
    % ~7 y' K$ V) n0 Q$ q
  852. ; syntax:8 k4 j% b) X& K  R' ~
  853. ;* k9 D: D8 r% H7 X, O" T
  854. ;   extension=modulename.extension0 [' f% E# {* K$ d
  855. ;
    ' E3 p) c  ]* \; N, t' K9 j
  856. ; For example, on Windows:$ b, v7 E  c4 r6 @# M3 m
  857. ;/ s8 k+ {7 a; L$ |7 R. `* ]
  858. ;   extension=msql.dll
    3 W" k2 M( z/ }8 O
  859. ;) @6 u% |+ y( A6 K+ Y$ U; J2 ~) r: G# X
  860. ; ... or under UNIX:7 @- ~5 u3 l' Z, c
  861. ;
    $ m: V, D0 [/ o' X) a" |# x& D' v
  862. ;   extension=msql.so
    * ]" V& w: r; ], Z9 S* T
  863. ;% P) e4 E" f+ r; A9 u* u6 ]4 h1 U+ X! S
  864. ; ... or with a path:
    8 b/ C+ E# w5 D4 ^
  865. ;
    " e$ k3 F9 T( B) c$ H
  866. ;   extension=/path/to/extension/msql.so
    0 x; [0 y: t" a6 T! F# k, ^
  867. ;! Z% x6 \% Z( U0 s! D
  868. ; If you only provide the name of the extension, PHP will look for it in its/ r& u2 v) L- }& |6 G
  869. ; default extension directory.# K7 A/ O- O5 ?
  870. ;
    9 m: E$ p$ g! B6 a7 b
  871. ; Windows Extensions
    7 d9 c7 j  ]+ n
  872. ; Note that ODBC support is built in, so no dll is needed for it./ b1 C0 P; l0 }' J; H
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    8 h0 x4 ?) Z# H5 g  @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    / }" S$ L# R# X' w, J% J
  875. ; Be sure to appropriately set the extension_dir directive.
    $ ]; y" ~- L- M3 j; f* {
  876. ;& ?9 {/ n' @. {7 I8 `- |
  877. ;extension=php_bz2.dll
    7 R$ Q  b9 J( R1 V5 U6 t
  878. ;extension=php_curl.dll
    + Q1 t  |; U2 s0 l/ }0 X
  879. ;extension=php_fileinfo.dll
    3 F# r5 f! K# ~# h( F5 e
  880. ;extension=php_ftp.dll
    8 N' K- O& x$ \1 q, D" k8 n
  881. ;extension=php_gd2.dll1 I: U9 a% R) u8 o
  882. ;extension=php_gettext.dll& x" X5 y8 d5 I6 l' d1 G$ o
  883. ;extension=php_gmp.dll
    7 @2 B8 Q9 R' }% v* y) @8 Q7 _1 E/ F
  884. ;extension=php_intl.dll
    ) y% v1 p5 x; M. w0 c& o. N. y
  885. ;extension=php_imap.dll  F$ N' ^2 y' O6 \  e1 _
  886. ;extension=php_interbase.dll
    1 W$ C1 T; q; }* V
  887. ;extension=php_ldap.dll
    4 X& H0 [0 Z. w9 H$ T9 }8 Y- Z
  888. ;extension=php_mbstring.dll6 H, K  S# f0 r+ U5 z; a$ D
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & t& E; m+ }. m, g* s
  890. ;extension=php_mysqli.dll0 M7 w8 M7 v: e/ ]
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    3 s0 A8 D; {) @7 c& g; S
  892. ;extension=php_openssl.dll9 Z7 f8 o# A& W  F3 H
  893. ;extension=php_pdo_firebird.dll
    5 W) ^- z2 U+ a' r! |
  894. ;extension=php_pdo_mysql.dll
    3 P* C/ Z; q" T, @4 t6 q# ]
  895. ;extension=php_pdo_oci.dll% E5 F1 l+ S4 s+ [  p/ ]. u
  896. ;extension=php_pdo_odbc.dll$ B; y2 |1 R/ I* ^9 N4 s! c* B
  897. ;extension=php_pdo_pgsql.dll9 {1 V' X! l$ D3 S# ~; [
  898. ;extension=php_pdo_sqlite.dll/ A& n8 X+ Y0 T- j* z
  899. ;extension=php_pgsql.dll
    1 T) |8 D! q& c9 \& k4 @4 ^
  900. ;extension=php_shmop.dll
      F, @( n3 S% B% V8 }
  901. . h5 s1 ^  f  v) g" V
  902. ; The MIBS data available in the PHP distribution must be installed.
    . `; q1 m# Z8 s9 D; U9 W  Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php% e3 X7 H0 W# _! z: Q/ J# Z
  904. ;extension=php_snmp.dll
    : }: g4 O) I3 d8 Z4 B

  905. 3 c# n3 {2 `/ u. ~: A
  906. ;extension=php_soap.dll2 P2 p9 E. L: m# }6 \$ {
  907. ;extension=php_sockets.dll
    ) A- T2 U. R+ M% y: \& u
  908. ;extension=php_sqlite3.dll
    ' x, `' \+ H& R% ?/ }6 l  w$ X
  909. ;extension=php_tidy.dll
    ; t8 m. B/ B& @! k
  910. ;extension=php_xmlrpc.dll+ ]! _- A1 \0 I, O) T7 E" B0 A
  911. ;extension=php_xsl.dll
    3 |$ A; ]: l0 A$ z( R: t5 j
  912. ) J* O! m/ \5 o  i. O7 H
  913. ;;;;;;;;;;;;;;;;;;;
    & g& N5 u8 \. G6 R# B
  914. ; Module Settings ;
    : }" K+ A8 f' A4 x* a+ U5 s
  915. ;;;;;;;;;;;;;;;;;;;
    7 ~7 o. B( u+ X* G( g
  916. $ ]% |" a* V+ e
  917. [CLI Server]5 ^) k, @- N4 k: p% k+ s
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , l: \7 }5 w( m/ `: r4 ~
  919. cli_server.color = On6 n& Y5 I4 B  ?' V1 M. ^$ [

  920. ) Z) w0 p: A* i4 C, {% V3 m
  921. [Date]% h5 ]/ W3 h6 x# E7 b: Z: h) A* S
  922. ; Defines the default timezone used by the date functions( O2 E9 a  ?5 a: ]
  923. ; http://php.net/date.timezone7 W' r, |" i- S& A9 `
  924. date.timezone = PRC
    5 q8 [, S6 a) F: l# E

  925. : `7 a* f7 M5 t7 @$ @
  926. ; http://php.net/date.default-latitude7 _! Z" h! H, ?# a9 ?
  927. ;date.default_latitude = 31.7667
    " k+ I% F* i3 K4 I+ w' B' X
  928. $ }6 R3 w. t  s6 s( b
  929. ; http://php.net/date.default-longitude
    & h: I: K8 I+ r8 c4 e1 e
  930. ;date.default_longitude = 35.2333
    # w7 k  O* J, |& n3 b1 e% _3 p

  931. ! B0 p1 e! _# u' B9 |
  932. ; http://php.net/date.sunrise-zenith1 ^+ ?, p0 Z0 j" v
  933. ;date.sunrise_zenith = 90.583333
    " G; y0 L  a2 D& n5 i' _/ l3 `

  934. $ I: A( l* l6 c3 F1 w( j" y
  935. ; http://php.net/date.sunset-zenith; \4 W( t& L  W" C3 j
  936. ;date.sunset_zenith = 90.583333; X" n3 N$ I# u& W) ~& O& @& U

  937.   a% o: o2 v4 C4 i  h" y  B8 h
  938. [filter]
    ' u! o) D/ I8 Y
  939. ; http://php.net/filter.default! g" q5 f& O: i+ Z! R- m, Y* _" I
  940. ;filter.default = unsafe_raw- u" Y* s' @$ K/ Z9 y5 k( ~+ K

  941. $ l1 m9 C6 |5 P
  942. ; http://php.net/filter.default-flags2 ^' N; X/ E+ n( Y5 F& Q4 G" x
  943. ;filter.default_flags =: m& U1 B) h/ d# i: S. e

  944. % x* w- ~" C: z1 s5 _$ f, y
  945. [iconv]
    % J( B& ?$ r. x* W# ?
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - h( f& T4 e. f' R& Q1 F. f: k' S
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 U! @; J/ V/ o1 |! f
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, ~7 H# t- b+ s4 X" S
  949. ;iconv.input_encoding =% ^; P, s% e. _" p: s' Y

  950. : l! ?1 e1 ^0 V' H% B  c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      ?, v: w8 d! x' q' P
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 r7 o8 h  C# e. n
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 K+ M5 m+ u; |8 ]/ \
  954. ;iconv.internal_encoding =
    + ~& O. U5 w  v" e+ ?" u
  955. $ K! y) p/ D0 Q
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " L: M+ w: e! k0 Z4 y2 w
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 w3 A" W3 c  M& ?4 z( L, }6 d2 R/ n
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 H* U" `( e2 y2 y
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ! w$ y  C( \) b4 b: i+ G8 k& x
  960. ; otherwise output encoding conversion cannot be performed.' E+ m0 m$ l1 q7 A2 T
  961. ;iconv.output_encoding =1 x7 B9 O6 M0 D$ k" B! K. I

  962. * y* R& v% A( s6 Z* \8 S; K
  963. [intl]+ b) O$ ?0 I" l* r/ v
  964. ;intl.default_locale =
    9 D! z" e6 {2 d( k: J7 T
  965. ; This directive allows you to produce PHP errors when some error8 z: s* m% h' K
  966. ; happens within intl functions. The value is the level of the error produced.
    ) d6 Z) d0 j( v
  967. ; Default is 0, which does not produce any errors.3 e% a1 f" ^: P, B! j
  968. ;intl.error_level = E_WARNING
    0 K" C: N$ g, p# y( d
  969. ;intl.use_exceptions = 04 x' _7 n5 y7 {  y. o- u
  970. % c$ i% h1 K; S5 O4 x3 B' z
  971. [sqlite3]
    + k8 T8 l% T% X! h$ n
  972. ;sqlite3.extension_dir =
    + X" g! h8 E4 K  X, [: S2 q
  973. ! D7 B7 A1 b" S* w" @0 f3 e* s
  974. [Pcre]: _- R5 [& g: [% M& c2 l. S
  975. ;PCRE library backtracking limit.
    : s& W" q. h: z% ~3 ]
  976. ; http://php.net/pcre.backtrack-limit
    3 i: |* a5 P0 Y5 L- v
  977. ;pcre.backtrack_limit=1000006 S& `' G& K7 O
  978. 4 N8 r+ N; ^. t$ n
  979. ;PCRE library recursion limit.
    . y! D0 C4 X4 d* x4 q9 b
  980. ;Please note that if you set this value to a high number you may consume all
    4 O$ @- D! O- I5 G6 |
  981. ;the available process stack and eventually crash PHP (due to reaching the/ t1 L; C* j# W4 w2 n9 e. s
  982. ;stack size limit imposed by the Operating System).6 P1 {! @! q* G) a# W
  983. ; http://php.net/pcre.recursion-limit5 i2 P" g+ f$ z0 g( O) _
  984. ;pcre.recursion_limit=100000
    * C8 p; `" r/ F3 \# q6 v- V

  985. 7 @7 {" w" x  W. w: ?. x2 V8 o
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ; m9 J2 o: b8 b) W/ F) q8 V
  987. ;library to be compiled with JIT support." n. d2 u( k' l3 [+ i/ _1 n8 f0 C
  988. ;pcre.jit=1
    ( o% b) h3 V- [" t4 G: b! ?

  989. # n1 y* z8 S" |2 |8 U
  990. [Pdo]: H# _1 |; u& N9 J- e
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") }) X$ E0 Q- c5 Q! Y9 {+ N
  992. ; http://php.net/pdo-odbc.connection-pooling4 D7 E7 T6 {4 j
  993. ;pdo_odbc.connection_pooling=strict% v& R* m7 `$ Y

  994. ( z, N$ T  C! T9 [( `$ |) ^/ h( f
  995. ;pdo_odbc.db2_instance_name2 W! W+ D. W7 p2 ^8 ^; t4 S

  996. 3 p( y0 A! g1 o* D; [
  997. [Pdo_mysql]
    8 h$ M9 Y' ~+ N1 e
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * P. Y1 A0 B) T. F! a
  999. ; http://php.net/pdo_mysql.cache_size
    6 G, U' m$ i: I; a& Y( Q
  1000. pdo_mysql.cache_size = 2000! X" m4 Q# A. \- w) M+ ]- F0 w
  1001. 5 C# H- j' J3 H% i9 j
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * Y) \$ h$ o& E2 j* }0 _$ f
  1003. ; MySQL defaults.
    : T* d  g- `% @
  1004. ; http://php.net/pdo_mysql.default-socket
    : C: D; Q( Q2 e0 Z6 t: |
  1005. pdo_mysql.default_socket=  ?3 H$ G" G. `% S. [

  1006. 5 r/ J4 ]3 r" N1 F: t7 }
  1007. [Phar]
    . A, t" a" s5 m  V0 \7 a6 S3 A
  1008. ; http://php.net/phar.readonly
    , N5 ^. b5 u# Y6 i/ l
  1009. ;phar.readonly = On
    0 Q/ W0 ^( M$ e; d/ \& L
  1010. ; f& G2 m+ Y, m' D6 Y) z  \
  1011. ; http://php.net/phar.require-hash$ ?. F) _! W; a& ]$ L0 }
  1012. ;phar.require_hash = On
    $ }8 {  `, Q' \+ D( g

  1013. 1 T, m" T8 {3 e4 V: h8 Q$ }
  1014. ;phar.cache_list =. n0 n- [! r4 E( ^9 d3 y
  1015. ; ]/ Q$ g9 P+ b) I8 I9 P6 H
  1016. [mail function]
    - {3 h9 R7 d$ ]6 k8 y
  1017. ; For Win32 only.( I, j) ~: C" j/ H5 w& ]
  1018. ; http://php.net/smtp
    , x$ M1 K; }8 v( p- s
  1019. SMTP = localhost
    : g& E9 Z! t1 R* i
  1020. ; http://php.net/smtp-port* M& J2 `8 r7 n% j
  1021. smtp_port = 25" y: ^7 B! D# w2 S2 D

  1022. ( q+ L: u' Z4 o* Q; K; v
  1023. ; For Win32 only.
    5 _$ R* K# \: F
  1024. ; http://php.net/sendmail-from1 I1 X' X: w0 s' z
  1025. ;sendmail_from = me@example.com
    % T3 ?! ]2 q% k; k/ j

  1026. 2 e0 T( d6 _6 @4 `3 [( \$ _
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    8 x$ N3 z. h/ f. I
  1028. ; http://php.net/sendmail-path
    * }* }2 U4 c2 k7 ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i! W' u' |! F" x" P3 h# N
  1030. 0 ~- N% _; }( r4 o- u/ k
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    # s" b" D9 }: I: x
  1032. ; to the sendmail binary. These parameters will always replace the value of5 y2 d. z& _1 i( Y+ f
  1033. ; the 5th parameter to mail().
    0 v7 v1 z: ^7 k" p: _: {# P) y# n
  1034. ;mail.force_extra_parameters =
    + f1 c/ |- e* {7 n5 P$ m  x
  1035. & y& c+ G' C& I- r( [* y( g. V% f
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 {1 A* I' |6 l9 L6 f
  1037. mail.add_x_header = On7 ^$ q# w. O/ ^. I4 L  K3 P
  1038. + S. y1 w# u2 w3 P4 a" w% {( `+ }- v5 p
  1039. ; The path to a log file that will log all mail() calls. Log entries include% R" h" c$ ~4 ^' ^  z1 h5 d3 y
  1040. ; the full path of the script, line number, To address and headers.
    $ w5 s! k% ?1 N2 d8 }3 C& ?8 W1 }
  1041. ;mail.log =  \5 J$ R( C% |) I+ S
  1042. ; Log mail to syslog (Event Log on Windows).7 ?2 f6 u' X. l) z% v; j
  1043. ;mail.log = syslog, u, U; ]' z7 j5 t7 g( j: H
  1044. 3 P) g0 m& s3 Y! V. l) b& ~
  1045. [SQL]
    1 ^# O! @) O+ u# G
  1046. ; http://php.net/sql.safe-mode
    ; v3 o3 |; L$ w
  1047. sql.safe_mode = Off5 ~/ m9 m! P3 ?0 g2 A/ f) [
  1048.   M% S3 {# [  t  Y4 U7 a
  1049. [ODBC]
    7 o4 l" Z% q0 r7 s2 S
  1050. ; http://php.net/odbc.default-db# ]4 X9 [) Y* O1 u: z$ F) R5 k5 ]
  1051. ;odbc.default_db    =  Not yet implemented
      w" Y7 g" h9 h3 s1 G

  1052. 6 W3 K' d, R4 f% ]
  1053. ; http://php.net/odbc.default-user
    / j& ]( D7 c( A, J
  1054. ;odbc.default_user  =  Not yet implemented. {/ N5 |3 D6 r1 v% S  j3 b3 \

  1055. : s0 g! h4 Q% Y1 |$ w8 ~
  1056. ; http://php.net/odbc.default-pw
    / @2 j- q) O2 m
  1057. ;odbc.default_pw    =  Not yet implemented& m" l+ l- V4 p2 o" k

  1058. : f: r. ^$ t3 W: d% o3 w6 z$ T- _
  1059. ; Controls the ODBC cursor model.
    ( ~) r" W% v& ~
  1060. ; Default: SQL_CURSOR_STATIC (default).
    / ~1 {' z  m* b( A' r# A( U
  1061. ;odbc.default_cursortype
    4 S6 \! x! d9 v" w
  1062. # [. m7 k  ^6 x( m8 a8 i4 f0 L
  1063. ; Allow or prevent persistent links.
    $ u: X6 Y& K. k0 f$ A+ L
  1064. ; http://php.net/odbc.allow-persistent
    % ~) g' }+ c/ H" s/ T2 _: ]
  1065. odbc.allow_persistent = On
    " v! L5 c/ z9 ]7 \
  1066. 4 s. A, \# p) J; u: e. ]
  1067. ; Check that a connection is still valid before reuse.
    4 e( G: K: q/ D" H+ ?. ~4 B3 E
  1068. ; http://php.net/odbc.check-persistent: H: K  H6 W' Y: W; u% X
  1069. odbc.check_persistent = On
    : G/ o# M1 e* n" [

  1070. : Y6 T3 g8 b  q6 U
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ! |, _. ~+ D' t) Q1 |
  1072. ; http://php.net/odbc.max-persistent
    / w) ]% @; ~2 g  K8 J, y
  1073. odbc.max_persistent = -1( J9 y* @0 \, H8 _+ s# W
  1074. ) K5 O6 P( o+ R9 X( g
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% q5 |" F1 D, V/ g
  1076. ; http://php.net/odbc.max-links
    8 V$ }# P2 |' b
  1077. odbc.max_links = -1! j4 `: b  m& b$ h3 ?+ u5 R& N; ^3 v/ b
  1078. 1 s1 k5 I* a0 ^- @3 |& @% Q' {6 S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    7 @  g( t& E) }
  1080. ; passthru.
    6 I# Y" a7 S' B" \. h3 ?- c( k
  1081. ; http://php.net/odbc.defaultlrl2 V5 u6 b/ X- o
  1082. odbc.defaultlrl = 40967 `" v( s3 n9 @! t! J; D
  1083. - W- Q5 ~1 R* F% h! e
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ; y2 ~9 g2 _6 z+ l' z* t) g
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 i# l9 `5 |4 y/ P( f! k3 s% ^
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 R4 Y9 L/ O8 ?7 x# y
  1087. ; http://php.net/odbc.defaultbinmode
      A  l" T& H- g+ e
  1088. odbc.defaultbinmode = 1& h, ~; W. V- i, z  [

  1089. 4 `3 ^0 u0 V1 W  M$ D3 s
  1090. ;birdstep.max_links = -1
    & N( Z6 H2 ]/ w* b1 w/ h  _
  1091. + g% y0 P$ L& F( Y) C
  1092. [Interbase]
    5 T: ?+ s/ @8 ^; x1 Z
  1093. ; Allow or prevent persistent links.7 E1 ^  o) L1 @! d7 H4 P
  1094. ibase.allow_persistent = 1% S" S2 o  ^$ C

  1095. 6 J9 b& w+ T% A! y$ z# x. W
  1096. ; Maximum number of persistent links.  -1 means no limit.
    6 r% p8 F# M( h# s
  1097. ibase.max_persistent = -1
    0 `% \. v1 f% e- j8 ^  R" n; R
  1098. ) O% h: D5 t0 t0 e) a8 @
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ) a& ?# W3 P  r# \, e2 g: T
  1100. ibase.max_links = -13 v! e# l; L. D0 M3 X+ a

  1101. - l( i/ T' x# m# P7 M
  1102. ; Default database name for ibase_connect().  p6 E+ _( C( J. s2 Y, \/ Q
  1103. ;ibase.default_db =+ I; V4 j& F  `7 b2 d
  1104. 0 [" k/ d( V2 C# k
  1105. ; Default username for ibase_connect().; C: Q) A6 }7 w
  1106. ;ibase.default_user =$ Q' {; u0 o+ |* R

  1107. # ]0 u2 |- @1 n/ i; I: L
  1108. ; Default password for ibase_connect().% \9 S- m; R, v1 b' s- S
  1109. ;ibase.default_password =
    ( ^! Q. a5 `* {$ k

  1110. / E$ m- O  N9 j0 I' w
  1111. ; Default charset for ibase_connect().8 u( B6 @; w5 F2 ^, r# Q9 u7 C  k# _6 |
  1112. ;ibase.default_charset =1 p, S+ B2 `& S) v) m
  1113. 4 L5 c: Z+ p1 r4 K3 r6 \
  1114. ; Default timestamp format.% {6 w9 M+ q" O6 O& O$ ~
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 q% j- G  N$ j# {
  1116. 0 ^# ^# ]% b4 p5 \+ ?
  1117. ; Default date format.5 Z* v0 Q! y6 x8 v) ~  m
  1118. ibase.dateformat = "%Y-%m-%d"
    ; w: [. ^6 m9 x* ~' z
  1119. 7 d0 ~* {* W, [, l. a) P+ j
  1120. ; Default time format.! T! \. X0 T% f' _- D
  1121. ibase.timeformat = "%H:%M:%S"
    0 r/ B. P$ U; U: ~

  1122. * N# b' J2 Z( F1 j& h& F8 h4 V3 u
  1123. [MySQLi]
    ! f+ G) g" O7 Q+ J

  1124. ; ^. E7 U9 T5 f! v) E, _0 F
  1125. ; Maximum number of persistent links.  -1 means no limit.
    / t  r1 y* m# @: H8 _
  1126. ; http://php.net/mysqli.max-persistent! `: y6 O% f3 i1 {, c- V
  1127. mysqli.max_persistent = -1
    * N: }; Y- F- G1 |9 H9 M

  1128. * h: [$ w$ {2 u% T5 g, d
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    4 Z9 H& {) s7 [% {2 V5 I! C8 [# `
  1130. ; http://php.net/mysqli.allow_local_infile1 K: S+ R8 b- q# Y; n. C  H
  1131. ;mysqli.allow_local_infile = On
    3 r0 C" S! ~5 u6 V. Y, a
  1132. # P  p0 Q/ c: C" |& ^) i
  1133. ; Allow or prevent persistent links.' g4 L0 \; \8 Y
  1134. ; http://php.net/mysqli.allow-persistent; s6 L. Z8 K- n3 E
  1135. mysqli.allow_persistent = On" J3 J& g9 G+ F4 p& ]2 Q
  1136. ( V+ ~( T2 t4 ^  h; x8 n/ e- R
  1137. ; Maximum number of links.  -1 means no limit.% a+ {  |9 Y: K# G
  1138. ; http://php.net/mysqli.max-links4 z: J) o* a& e# {# T: o7 X
  1139. mysqli.max_links = -12 h6 x! \5 P& y8 g% h8 f
  1140. ; S0 m/ A1 \  H9 B; X. j, M
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache' s5 \: K1 w; u6 f' @7 b
  1142. ; http://php.net/mysqli.cache_size
      r( v+ W1 X/ _( Z2 v
  1143. mysqli.cache_size = 2000$ I7 e0 F/ M: X: ?+ z7 \/ j

  1144. 7 m. K' q1 c6 h6 o2 l
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 i% a3 X6 `1 k1 ?8 o1 G
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- b: ^) a- r7 `' b
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look1 ]- f* q7 {0 S) I: G
  1148. ; at MYSQL_PORT.
    & z# `4 S# O" Z' a; L) t6 t
  1149. ; http://php.net/mysqli.default-port* w1 P1 y/ O3 }+ t- K/ q2 w2 [" @+ J# V
  1150. mysqli.default_port = 3306; A- J# T; d) I; H0 w2 a; B' `7 L
  1151. ' \5 K, @, }8 c% G" e# j
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # p; H: \& K3 C9 ?1 `
  1153. ; MySQL defaults.
    / z5 O# x1 l! {+ q6 S8 B+ `
  1154. ; http://php.net/mysqli.default-socket
    : K) f; m8 C: c
  1155. mysqli.default_socket =
    / f% C, Y$ e' e

  1156. ( A. l5 U. u2 b9 k9 C) c, e
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 ^6 g# z" [3 Y6 B- f* X' l
  1158. ; http://php.net/mysqli.default-host
    4 [% ?, o! |- j( f+ j' T
  1159. mysqli.default_host =: W2 g/ f5 t# f
  1160. ; k9 F' l  V! p' z: b. u3 D/ C  a
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & [6 E0 k, E+ p5 ?, J. f
  1162. ; http://php.net/mysqli.default-user( T  w7 r, ?/ b! P* `, @# N: `3 B
  1163. mysqli.default_user =
    ' W1 @: {  P3 ~
  1164. 3 S, v: h! Q7 d0 \/ y6 d
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).. b! ?5 a0 y$ B; P  a2 c$ [* J
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.2 O( C/ Z5 X/ F+ g, L) F1 w
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 S9 ]" {8 r& X4 A4 s
  1168. ; and reveal this password!  And of course, any users with read access to this4 g1 e$ t# B: V. t. Y: ?' t+ X
  1169. ; file will be able to reveal the password as well.
    % k6 F  M5 d  x* H
  1170. ; http://php.net/mysqli.default-pw2 q. m8 y: i: ?
  1171. mysqli.default_pw =! l2 s3 M2 B# H  s8 x  n

  1172. 2 l% T4 [) W* j0 D) A
  1173. ; Allow or prevent reconnect0 `2 C1 q4 Z7 J& z. o4 _
  1174. mysqli.reconnect = Off, j. D& V; F( g3 I# W; [( w

  1175. 4 `% H$ b  W$ H7 H
  1176. [mysqlnd]
    ( X: ]1 A, S* d% z8 B% A
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be2 Q! }* I: t6 x5 e+ u
  1178. ; used to tune and monitor MySQL operations.
    # \: \5 U7 x3 D
  1179. ; http://php.net/mysqlnd.collect_statistics
    + J" ^' E+ b$ B4 M& i# n
  1180. mysqlnd.collect_statistics = On
    5 Y7 |% j! Z8 o+ e6 z8 |# ^

  1181. " q. y+ Y' A. g' l8 j" V4 O- |$ U" _$ ^2 f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 M0 d9 b: o. b6 J& f
  1183. ; used to tune and monitor MySQL operations.$ u+ u3 V1 j. {9 q
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ' p0 U4 k2 l+ [" _" h/ C
  1185. mysqlnd.collect_memory_statistics = Off
    7 @" O  i  ~, ~8 r! _

  1186. + @$ V$ J+ u- `' ?
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 g( Z/ _) c+ P; l6 ~  ^- m2 b# X
  1188. ; file." Z* f# V6 D, U* a7 `% c8 ?' v
  1189. ; http://php.net/mysqlnd.debug, @9 X( v& w2 J7 e  Z  f
  1190. ;mysqlnd.debug =4 a, t) e2 P# \% D

  1191. . U# \( N5 u# |/ G. Z8 ]
  1192. ; Defines which queries will be logged.
    4 W: M7 @1 M1 s4 ~6 v( ]7 z
  1193. ; http://php.net/mysqlnd.log_mask
    9 N* b# f2 @2 p1 d% W1 _' m, c  ]5 u. i
  1194. ;mysqlnd.log_mask = 06 ?6 w& n$ M& P
  1195. 8 V& a& C  s0 E: r, t
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.( N6 ]7 ^9 K# }4 m
  1197. ; http://php.net/mysqlnd.mempool_default_size  m5 u4 L2 P6 a* }
  1198. ;mysqlnd.mempool_default_size = 16000# I& M- F1 S) L4 t# j" P" q

  1199. . J# ^9 b) E( h5 z- M$ X, v+ d4 T5 a
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: v3 l# N& H3 ?
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size3 \6 N, A, `9 R
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    " [0 H$ |/ u9 D7 m" \
  1203. # x! V$ k  j) I2 `+ d& F: _
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    / E: ?/ w- b" r
  1205. ; bytes.
    7 }% v+ {8 {; e# K, d" D* Z
  1206. ; http://php.net/mysqlnd.net_read_buffer_size; H7 j. I* P/ h* x, o$ f( I
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 H5 w# \" v7 ?2 k0 \+ C
  1208. . n# D0 {# I# k) o
  1209. ; Timeout for network requests in seconds.
    : j+ q' X- c* s- K* E$ Q
  1210. ; http://php.net/mysqlnd.net_read_timeout! |: k6 q5 z+ p& k7 f# p1 {2 I
  1211. ;mysqlnd.net_read_timeout = 31536000& k0 P7 L3 z- x+ g

  1212. : K: U, h1 \$ F( ~# j$ F" Q$ Y
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* X' \7 R8 q! ^$ Y# m+ a, P
  1214. ; key.5 X4 x  ]) J/ ^6 B- k
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % h" |/ s4 T( l3 V8 B) A' N. z: z
  1216. ;mysqlnd.sha256_server_public_key =' N4 o9 s0 D1 B/ p9 ^5 p5 A
  1217. " Z/ j4 a# {& V% d$ C6 l
  1218. [OCI8]- i1 a- O" n& i; g

  1219. # L6 G4 d% N/ n: U4 S
  1220. ; Connection: Enables privileged connections using external, Q7 X6 c7 C) F0 B0 _
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ N) v: ?% P$ d# ?  h1 K3 z
  1222. ; http://php.net/oci8.privileged-connect8 Q  n) b( m4 D& V
  1223. ;oci8.privileged_connect = Off
    " l1 U" ~- k9 G& v
  1224. ( K5 `, W, q# X+ m, J1 N
  1225. ; Connection: The maximum number of persistent OCI8 connections per, A' }& _! _. S0 ~! d# d* k
  1226. ; process. Using -1 means no limit.& }2 E! l, b( g' y
  1227. ; http://php.net/oci8.max-persistent
    " H4 d0 v( p$ G
  1228. ;oci8.max_persistent = -1( b) h5 n0 \4 J( }- |8 _# k
  1229. 2 o3 R/ H) K4 p2 {* K# l" f3 p4 h
  1230. ; Connection: The maximum number of seconds a process is allowed to
    5 {, H+ }8 K+ S6 Y
  1231. ; maintain an idle persistent connection. Using -1 means idle
    - p& n# ~# ?! [0 ?/ O3 t
  1232. ; persistent connections will be maintained forever.
    ) D# i( s' {6 Q0 ]  m5 U
  1233. ; http://php.net/oci8.persistent-timeout
    : ~# s2 i8 ~# @# k8 o# g
  1234. ;oci8.persistent_timeout = -1# T- _. t# W! N$ f: X- P: J
  1235. " i! m' e9 C; m" r1 D. i" \
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) p5 m* n1 v; A- m0 I# I
  1237. ; ping during oci_pconnect() to check the connection validity. When
    * w! j+ w8 q; }% w+ N
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 e6 ^6 o# B1 ^
  1239. ; pings completely.
    1 ~2 E8 m  x3 c4 ^3 O1 G7 o
  1240. ; http://php.net/oci8.ping-interval# d% ]+ i; \) h  E
  1241. ;oci8.ping_interval = 60: e: Y* C/ G+ |2 {: q; v
  1242. & d: `! [2 G# Y2 g. C5 G# R3 p
  1243. ; Connection: Set this to a user chosen connection class to be used
    7 q; N& j* ?# j6 K+ x
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * Y7 R0 F  w/ A% A9 O
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( x( }/ W- x- m6 `" S6 c0 l
  1246. ; the same string for all web servers running the same application,' I  _( o4 z8 W. W4 V
  1247. ; the database pool must be configured, and the connection string must( v5 `( B  o6 g1 P! s* H
  1248. ; specify to use a pooled server.
      Y: V3 j) p9 B% D" G
  1249. ;oci8.connection_class =/ A) L$ q& x% E' B9 \! {  v

  1250. . _9 F% {8 R1 K5 X4 i3 w; K
  1251. ; High Availability: Using On lets PHP receive Fast Application* c! ^4 X9 J1 E
  1252. ; Notification (FAN) events generated when a database node fails. The! E8 [6 s. _0 j
  1253. ; database must also be configured to post FAN events.. Y4 P8 j* o0 u' C
  1254. ;oci8.events = Off( A2 \) Q0 r2 A; b  m& M" q+ F

  1255. - y4 A: J) U# l1 B  A  F  _
  1256. ; Tuning: This option enables statement caching, and specifies how1 G- w: x7 ^0 s% g. V( b
  1257. ; many statements to cache. Using 0 disables statement caching.. L- {, v9 B+ ^6 `0 g: x
  1258. ; http://php.net/oci8.statement-cache-size! {$ _# S9 c/ [9 z( i9 r) V
  1259. ;oci8.statement_cache_size = 20% ~) W' g9 o4 [8 L) c2 V- o2 |
  1260. ) [; c7 i% V# `. G' k
  1261. ; Tuning: Enables statement prefetching and sets the default number of
      Y+ i. ?7 ]2 W
  1262. ; rows that will be fetched automatically after statement execution.
    0 Z, u8 {8 K' `/ B2 n
  1263. ; http://php.net/oci8.default-prefetch
    * _. k$ X4 H- M; D! U
  1264. ;oci8.default_prefetch = 100$ Y: |- T# D0 G& }

  1265. ( H5 v) _8 S* \
  1266. ; Compatibility. Using On means oci_close() will not close
    * T' ?6 p. ?  ], J  Z) D( X! i
  1267. ; oci_connect() and oci_new_connect() connections.: n$ A  T& l/ X" d5 r
  1268. ; http://php.net/oci8.old-oci-close-semantics& p! s( s, p( y/ g' T6 x6 o
  1269. ;oci8.old_oci_close_semantics = Off& l5 }$ L1 `5 b$ v, E& a. f

  1270. 0 ^7 K* a. m) b! r
  1271. [PostgreSQL]9 I: r2 W' J1 T
  1272. ; Allow or prevent persistent links.# a5 `$ y% A) G4 s* F3 [
  1273. ; http://php.net/pgsql.allow-persistent
    4 J, k1 \. _, [# u) `4 o
  1274. pgsql.allow_persistent = On
    ( @$ E" G' P9 p4 @3 {1 d
  1275. 1 |) }5 K! L7 C' b; t
  1276. ; Detect broken persistent links always with pg_pconnect().
    ) k3 h5 X: R# u
  1277. ; Auto reset feature requires a little overheads.
    3 ^. c9 J* B8 J& U: N5 v9 s
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ( u! L4 A+ M) b
  1279. pgsql.auto_reset_persistent = Off3 O( l0 I9 x- z) w7 \
  1280. 3 z4 n$ ?2 l* }! J8 u9 d
  1281. ; Maximum number of persistent links.  -1 means no limit.
    * _9 j$ Q+ h. b3 M0 a
  1282. ; http://php.net/pgsql.max-persistent2 L( y/ x; [! d5 r8 _
  1283. pgsql.max_persistent = -1  K- P, q& F1 Z* _; N9 f9 F) K

  1284. ; }0 \. y7 O+ u* k1 P
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # w6 h$ R2 g% L" D" ]  a: K
  1286. ; http://php.net/pgsql.max-links
    % e, }6 Z' P/ x) K2 z
  1287. pgsql.max_links = -1
    , H! x1 T; W2 s- {

  1288. ) |' R. M+ f$ k. `8 w0 W7 I
  1289. ; Ignore PostgreSQL backends Notice message or not.5 g: l4 r& O  Q( Z& X" E# [, p% H: T
  1290. ; Notice message logging require a little overheads.: h- Q* ?- d. }6 E
  1291. ; http://php.net/pgsql.ignore-notice
    ) u! q; R6 h+ c1 k
  1292. pgsql.ignore_notice = 0' q5 M5 ]( q( q/ \$ j* o# q3 R

  1293. ' @7 ?: o! H! X( s& r
  1294. ; Log PostgreSQL backends Notice message or not.& S5 f* a7 R! R4 R, Q
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.2 y/ s6 {; Q) L; v. c
  1296. ; http://php.net/pgsql.log-notice
    " Q" _# }1 c% h9 z. y2 {- u" W
  1297. pgsql.log_notice = 05 Z7 K/ S+ A1 a) ]  c6 @+ ~

  1298. 6 t. z1 T3 k9 l3 v$ B
  1299. [bcmath]
    - {; x0 F1 a7 d0 I' `8 S  R
  1300. ; Number of decimal digits for all bcmath functions.5 ?, ]. w, K7 [' @: _2 u0 `
  1301. ; http://php.net/bcmath.scale9 d) B! p) n* I& n
  1302. bcmath.scale = 0
    5 U; l# w3 R: T

  1303. / l! i1 {0 j' m7 I4 s# V4 A# B
  1304. [browscap]: w4 Q6 k  |' f, V
  1305. ; http://php.net/browscap
    7 j- u- g( h, L5 Q
  1306. ;browscap = extra/browscap.ini
    7 s, e2 f: v. O$ i4 ~
  1307. * ?; `: I+ }5 l1 h, M
  1308. [Session]0 a- w* G8 w' y0 t( K/ k- L
  1309. ; Handler used to store/retrieve data.
    / T3 ~6 O0 g1 u$ E/ Z2 I7 L
  1310. ; http://php.net/session.save-handler
    0 _" f! C$ y8 D, _: t5 `
  1311. session.save_handler = files; ~& t  g$ A+ `9 U/ N; f6 b) ^3 J
  1312. 3 T- _0 R& Z. P+ r3 x$ {
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    3 V7 u" w; R8 H
  1314. ; where data files are stored. Note: Windows users have to change this/ z; u, e: S& z/ y
  1315. ; variable in order to use PHP's session functions.7 c' Q- P3 ?# y6 z
  1316. ;8 \6 M/ s9 ~5 f; m# t  B
  1317. ; The path can be defined as:% Z1 ?* F# g' }' B$ h4 b/ c8 P# J5 r
  1318. ;
    3 J0 v4 H. Z/ H9 g8 @. }; \
  1319. ;     session.save_path = "N;/path"5 W+ X! a) j8 Z/ E# X1 f
  1320. ;" X) v0 |3 c0 j2 a) \
  1321. ; where N is an integer.  Instead of storing all the session files in( W# B, j- }& _) h. r& ?, R
  1322. ; /path, what this will do is use subdirectories N-levels deep, and1 h2 i' u5 l) w7 q0 t/ c+ U
  1323. ; store the session data in those directories.  This is useful if6 [( l- [" z/ ]" s' ^  F2 X
  1324. ; your OS has problems with many files in one directory, and is
    ; u/ F% j0 L& F$ @2 G; \5 ?
  1325. ; a more efficient layout for servers that handle many sessions.
    " B9 w) u6 H. y, P+ q4 D
  1326. ;) i; q+ U1 [! H2 X* Z( }+ @
  1327. ; NOTE 1: PHP will not create this directory structure automatically.* P* C# L/ K% A2 T1 p2 |" b0 l5 y
  1328. ;         You can use the script in the ext/session dir for that purpose.$ k+ M# u6 C2 Q5 W2 W' C' H
  1329. ; NOTE 2: See the section on garbage collection below if you choose to+ b6 S, |, K4 [8 v2 _
  1330. ;         use subdirectories for session storage: [0 W) |0 v! C$ z+ K
  1331. ;
    + X2 I9 z2 J! ?4 @7 h
  1332. ; The file storage module creates files using mode 600 by default.
    & Y0 r" k. S3 M! z6 q. j: C
  1333. ; You can change that by using
    7 B# ?  s; S& H' s5 ^
  1334. ;' D1 N9 b1 p. Z# N# O
  1335. ;     session.save_path = "N;MODE;/path"# K% o. j, z1 i% X* g& T* j
  1336. ;
    ( k$ C. x7 y: o' {: j5 d
  1337. ; where MODE is the octal representation of the mode. Note that this1 M- a$ a3 |& q5 C
  1338. ; does not overwrite the process's umask.
    % n7 H% I# b9 ?0 ^7 \
  1339. ; http://php.net/session.save-path
    / `7 _0 i6 N9 g2 Y1 ?& F
  1340. ;session.save_path = "/tmp"
    7 l! U- f- u  L+ K/ H- r8 M( w

  1341. * c, o. M  I" J) A  p
  1342. ; Whether to use strict session mode.
    0 S( X& L  q, t- D# S3 x2 S
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 i- k, I9 x  u* h! p
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    + }. e, ?# Z+ Q4 I# R
  1345. ; applications from session fixation via session adoption vulnerability. It is- ~& g4 A4 E% B# X
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " i4 M/ A  n! Q( J* q% D2 t
  1347. ; https://wiki.php.net/rfc/strict_sessions$ j: J( \# ^# {5 }
  1348. session.use_strict_mode = 0" Q; s# \4 P' _$ R  L, F1 O

  1349. 8 S+ X+ c6 c" s& ^+ J. v
  1350. ; Whether to use cookies.
    ' ^7 V5 Q- d% j3 X  Y2 d6 f9 u6 Z) V
  1351. ; http://php.net/session.use-cookies) j& U2 J% F4 }; @! d5 L
  1352. session.use_cookies = 1
    ) `/ r" Z* y% b; l
  1353. ' o, c" e- \& q! r* z
  1354. ; http://php.net/session.cookie-secure
    7 R% }7 v$ b- `
  1355. ;session.cookie_secure =2 t3 H" m6 E! H0 w: ~% Z6 ?

  1356. 0 I5 O* e* D) ?, p$ D% k6 _
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 e) v, D* B! q7 `: A
  1358. ; the session id. We encourage this operation as it's very helpful in combating' N4 |4 x4 P5 r4 j
  1359. ; session hijacking when not specifying and managing your own session id. It is1 S4 y9 V2 K& [7 m( F! U$ o! O
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.) W4 T9 U( O+ y( c6 ~  P) E
  1361. ; http://php.net/session.use-only-cookies
    1 W5 i( z+ R5 r8 w1 t
  1362. session.use_only_cookies = 1
    : p1 t9 V* a0 E
  1363. & p- [& G* ^% w& n( c
  1364. ; Name of the session (used as cookie name).
    ( m/ u9 u6 b' b6 r9 C
  1365. ; http://php.net/session.name
    6 x* P+ P' j! z1 ]9 O" e3 y% d" ?
  1366. session.name = PHPSESSID9 C, x5 y0 H5 `- b7 K1 z
  1367. / h4 H) z+ k1 u
  1368. ; Initialize session on request startup., s3 i  l1 a" W
  1369. ; http://php.net/session.auto-start! a3 c/ \7 g" |1 R6 L* V
  1370. session.auto_start = 0
    ! q/ G7 F- x6 C0 J/ M  B* a6 O" V3 M
  1371. 1 w% W( a& u6 {% J
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    3 J% u. _, h, y' T  x
  1373. ; http://php.net/session.cookie-lifetime
    3 e7 b- R3 x  Z
  1374. session.cookie_lifetime = 05 y: L# j8 t% T
  1375. 8 s& b. e9 O+ [  H( \5 u3 @* ~
  1376. ; The path for which the cookie is valid.
    ' o0 P) P" S% [+ p
  1377. ; http://php.net/session.cookie-path! v  J" c/ ~, u
  1378. session.cookie_path = /
    / o9 ?# k% D7 f- k
  1379. , {! p) D, P* R$ p
  1380. ; The domain for which the cookie is valid.
    4 q4 N; K$ F1 C" n
  1381. ; http://php.net/session.cookie-domain
    1 z) n- |) d8 B: O2 W
  1382. session.cookie_domain =
    5 v, A3 F5 p' p" _
  1383. + C6 Z7 l7 I7 q+ |3 i, L% T) U
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 E) }* |4 ]0 h1 N. T9 H, L8 y
  1385. ; http://php.net/session.cookie-httponly) A* R: n2 }- d
  1386. session.cookie_httponly =7 P  v% M2 Y4 C* z
  1387. 4 z. ]2 J" r: l% r! E; D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.. _2 D2 V, w5 h* l* i4 m' j6 @
  1389. ; http://php.net/session.serialize-handler
    ) G1 N1 e$ ^+ }% t0 I
  1390. session.serialize_handler = php
    : H1 Z, t% ^. E

  1391. * I! Q% n! A. X$ @5 I7 b
  1392. ; Defines the probability that the 'garbage collection' process is started# F$ Q5 v2 Z  o1 h) z
  1393. ; on every session initialization. The probability is calculated by using
    3 M3 k7 ]; D2 q' z/ @6 e. O" c
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! w4 o+ p- D) Q/ X( m
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1, q% ~* K3 t4 c& w
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) j2 h6 m0 d: x& i8 V
  1397. ; the gc will run on any give request.' @  M+ D: l2 h
  1398. ; Default Value: 11 o* X9 F3 z/ v' H" U
  1399. ; Development Value: 17 O4 X7 J% w4 u! Y% t3 c. T* R
  1400. ; Production Value: 1
    9 ]$ j$ m& ~  I' ?2 s$ M* ^
  1401. ; http://php.net/session.gc-probability9 F, z4 i$ |, o3 ~0 S$ T
  1402. session.gc_probability = 1
    # u8 k& b; ]9 h6 H
  1403. * c! U. {# y% O: Q
  1404. ; Defines the probability that the 'garbage collection' process is started on every2 `3 `- K( ~2 H. V7 O9 e
  1405. ; session initialization. The probability is calculated by using the following equation:$ A# |, N& Y( N" Z1 j6 e; p
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    1 u' Z5 W. g. V2 @, w4 h0 s% V
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 ?% g: Y5 P) c7 F8 T
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ p8 z1 `6 T) U$ ?$ X2 M6 q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you, N( v& X* p4 j3 w) ~7 ]% X# x/ ^
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    5 n/ K: R! ?% E; G+ k0 y5 E
  1411. ; this is a more efficient approach.
    / o/ f: }, h+ J) H& k7 @: S
  1412. ; Default Value: 1008 r! H; H- g# `' g+ Q% G8 y
  1413. ; Development Value: 1000
    4 e# \  [3 u" s$ T9 o
  1414. ; Production Value: 1000
    7 S/ R% e" P, @, i
  1415. ; http://php.net/session.gc-divisor
    ' r0 W  i* j2 J
  1416. session.gc_divisor = 10000 ~3 [- O' E: x. B4 ?+ B" Z: D/ Q
  1417. # b) L5 U$ {" a7 |! ~/ s  B
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    " G' Z" }$ Y; p
  1419. ; cleaned up by the garbage collection process.
    4 b4 \# Z+ N( g% Z0 a! k% E
  1420. ; http://php.net/session.gc-maxlifetime
    4 ?1 x2 n8 `  l* s: u8 X
  1421. session.gc_maxlifetime = 1440( U! c+ i- ~: `' v, O1 a/ v. ^% H

  1422. ; ?8 q! H0 s# E3 ]9 j' A
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ u+ _0 m( @" f
  1424. ;       (see session.save_path above), then garbage collection does *not*
    7 }2 v( c7 M0 d+ K1 {& Z4 W
  1425. ;       happen automatically.  You will need to do your own garbage7 a5 U3 U6 l* Z: x& k' n; b
  1426. ;       collection through a shell script, cron entry, or some other method.& F4 ^( G) L8 U' o- P$ \8 i
  1427. ;       For example, the following script would is the equivalent of) z4 q' x$ b/ H8 B. F3 U' z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ) q4 r+ G& b, W6 a; U3 ^1 ^7 ]
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( i. d1 A9 F! B3 O0 y; ?* r+ |- F  v

  1430. 5 j  R' _( a$ I/ d0 S
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 [3 a! n( G# F) c& p& A
  1432. ; HTTP_REFERER has to contain this substring for the session to be2 S2 ^6 C. U! k8 q
  1433. ; considered as valid.1 N* ^5 s0 O- g2 L0 r$ e3 H. p
  1434. ; http://php.net/session.referer-check6 c6 Y% I3 F$ [; k- b
  1435. session.referer_check =
    # L: C" ^- z+ x3 F) [5 X' A3 A
  1436. 5 _" R6 U8 R* E: r1 X; g2 I9 b
  1437. ; How many bytes to read from the file.
    0 Z! g$ H) |: F7 w, W# |% g; K
  1438. ; http://php.net/session.entropy-length
    7 y5 x4 j: z0 s9 |% v4 X. h
  1439. ;session.entropy_length = 32
    ; k6 j! f/ `8 h/ g+ F7 Q* g) f' W
  1440. * Y$ E: N" Z1 b/ j
  1441. ; Specified here to create the session id.
    5 t5 j1 n; p5 x0 n0 R$ k, T- D
  1442. ; http://php.net/session.entropy-file
    ( o2 O2 z* W/ ^
  1443. ; Defaults to /dev/urandom, w$ B" f. q! m5 q7 B$ p' p
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" B+ f+ P$ Z- n0 m9 {1 z
  1445. ; If neither are found at compile time, the default is no entropy file.: N1 F5 ?" L3 s% A) l- e+ ?
  1446. ; On windows, setting the entropy_length setting will activate the
    % n9 ~1 `& V. `) p+ d3 c2 }" q5 |
  1447. ; Windows random source (using the CryptoAPI)/ L5 D$ v: Q7 j( q, O
  1448. ;session.entropy_file = /dev/urandom
    . H& b  M# G6 m* B& V$ q
  1449. 3 w3 q  R) l% |
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 e5 Y: a% w( `
  1451. ; or leave this empty to avoid sending anti-caching headers.
    % j/ `) B7 Z( a) b. q* H
  1452. ; http://php.net/session.cache-limiter/ }+ @3 J% T5 |2 m; y6 Z5 i# ~  [& S
  1453. session.cache_limiter = nocache
    ( h+ T! \; i. i2 A% K, m- H
  1454. 1 J' u1 o- p% H# F( \- N6 p
  1455. ; Document expires after n minutes.
    ; M' ^* v1 `% R6 T, v  E- w
  1456. ; http://php.net/session.cache-expire$ h  m0 d. G- w5 D; E# A* ^' D
  1457. session.cache_expire = 180
    8 H; b( g7 V0 c2 ?' ]# @6 M
  1458.   O" r+ z0 \. T: X* X7 D
  1459. ; trans sid support is disabled by default.0 R6 g/ s5 ~5 V6 _1 V( z( O
  1460. ; Use of trans sid may risk your users' security.
    : _. G4 [( K$ R  p' Z9 x1 s
  1461. ; Use this option with caution.: z# c8 U7 {) d8 X& ^
  1462. ; - User may send URL contains active session ID6 X& f3 @( o0 M1 g0 ~* i7 \; {
  1463. ;   to other person via. email/irc/etc.' [3 W8 Q6 E' F3 l5 f
  1464. ; - URL that contains active session ID may be stored7 A: r0 a# {6 c% ]7 Z
  1465. ;   in publicly accessible computer.
    7 }6 T' X7 v/ J: V! Q9 C
  1466. ; - User may access your site with the same session ID; |3 A5 m/ k$ L' ]
  1467. ;   always using URL stored in browser's history or bookmarks.6 H7 i6 f) }* ~8 U  B6 e
  1468. ; http://php.net/session.use-trans-sid
    0 u) _3 ^3 Q$ k/ I, x; g
  1469. session.use_trans_sid = 0( c" y+ O$ f* w% h
  1470. & Y2 D7 E" M: ]: S4 L2 g5 v
  1471. ; Select a hash function for use in generating session ids.
    " Z& J7 ^7 C. C$ z' E2 G
  1472. ; Possible Values
    * i' v9 D. Q0 ~/ k+ s: P/ ~3 U. V( A
  1473. ;   0  (MD5 128 bits)
    5 L: O/ o8 J' K- H
  1474. ;   1  (SHA-1 160 bits)1 O6 _/ W, e0 C) l: F
  1475. ; This option may also be set to the name of any hash function supported by
    ! U3 r5 e+ S7 C' `1 P$ Z& m! j1 B3 G
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 ~2 a( g  Z: V: b' K$ F
  1477. ; function.7 ]" q8 ]! J  E/ G- h1 J
  1478. ; http://php.net/session.hash-function
    8 Y( D6 b4 x& B3 v4 q
  1479. session.hash_function = 0
    7 l# J0 J3 x4 G( N8 H3 j
  1480. 9 ^% S7 h& w; p! |+ T* n& M/ m! D; X
  1481. ; Define how many bits are stored in each character when converting5 o; H2 t8 h9 s
  1482. ; the binary hash data to something readable.
    : `; X' r, \- s
  1483. ; Possible values:& k6 C4 `) L) c
  1484. ;   4  (4 bits: 0-9, a-f)) l$ [' m3 J9 Z" ^! |
  1485. ;   5  (5 bits: 0-9, a-v)
    ; P3 i& y& V9 \9 b1 k7 ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    # Q; d3 y8 N2 f  r
  1487. ; Default Value: 42 L1 G+ J2 ~* Q! X" M$ s% l0 G4 Y
  1488. ; Development Value: 58 ^7 t$ H8 @3 @- @
  1489. ; Production Value: 5$ |) n8 ^, W2 g0 q% S; ^9 o
  1490. ; http://php.net/session.hash-bits-per-character; T' L# @+ F, f: v/ ]
  1491. session.hash_bits_per_character = 5
    ' d1 `0 i* R* K( s  I7 U
  1492. ) r* h0 a8 U2 ]9 X# R
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags., O, D5 ?& e; S0 W2 D; R
  1494. ; form/fieldset are special; if you include them here, the rewriter will& i( f/ v. V4 W7 X  ?0 L% ^3 E
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ) c. p0 Y2 p5 d5 F9 J
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 O7 p+ y+ u2 `
  1497. ; Note that all valid entries require a "=", even if no value follows.1 a' I3 Z# l' Z( J& w
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / J; W9 r9 j, K9 w
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; G* t: M0 Z! P3 O' M+ r
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * X" l3 c6 W6 ?+ |
  1501. ; http://php.net/url-rewriter.tags2 j$ c5 y- l. _) D, ~* O
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 c) r0 ^: ]" @- t" k1 r4 M0 V+ h

  1503. + p" N. _7 [; F9 \7 ]0 h% s
  1504. ; Enable upload progress tracking in $_SESSION
    5 y. o1 ^% T7 `+ s2 g9 ]9 E
  1505. ; Default Value: On/ \& @, g/ k8 ]% E# w& o0 X
  1506. ; Development Value: On
    # T% ?8 M6 i# q
  1507. ; Production Value: On$ B9 @2 p9 H7 b% b
  1508. ; http://php.net/session.upload-progress.enabled
    - a2 W! K9 C6 s# I* t5 ]  d) W
  1509. ;session.upload_progress.enabled = On
    ) Z9 i- i0 K) d5 G

  1510. ) R6 Y+ u7 a) d: k
  1511. ; Cleanup the progress information as soon as all POST data has been read
    " G) O0 G& O! u( p* {( B
  1512. ; (i.e. upload completed).' O5 F' t. p1 Y  ]
  1513. ; Default Value: On
    - U( e2 d, Q) z7 i
  1514. ; Development Value: On  d; \6 A: V' }0 T3 m6 a+ R# D
  1515. ; Production Value: On
    : z1 u/ T2 W9 p$ t6 b9 q
  1516. ; http://php.net/session.upload-progress.cleanup6 P2 H# v0 t4 F
  1517. ;session.upload_progress.cleanup = On- p0 R9 f% _4 B

  1518. 0 j) K  F6 \! _, F3 H+ z
  1519. ; A prefix used for the upload progress key in $_SESSION
    , J, C5 ^$ I  L& R+ M9 t6 {" _
  1520. ; Default Value: "upload_progress_"5 k% m# l/ B7 V# _2 \1 a- P
  1521. ; Development Value: "upload_progress_"0 n8 k- Q1 [8 ~+ t8 ?1 m
  1522. ; Production Value: "upload_progress_"; [) i# j0 R6 `8 M, H7 I' D" w, C' R
  1523. ; http://php.net/session.upload-progress.prefix
    4 y, X  H3 n' @0 v
  1524. ;session.upload_progress.prefix = "upload_progress_"
    4 |) m# K+ i: i7 a9 w6 Q

  1525. 1 `) y, N  m% A% y
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    * R' m3 \2 F+ u
  1527. ; containing the upload progress information
      ~3 T! C, E! [( ~* x- w1 `& w
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 h: d3 J% Z( x+ N
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# p5 P( O5 E+ s
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! ?2 D# N/ r0 c) k( Y
  1531. ; http://php.net/session.upload-progress.name
    ' d8 l' I0 @0 f+ K6 n6 n4 b* ?
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% K7 k* g9 b) N( X1 o
  1533. ( X/ e% Y* ^; j: J: m' b
  1534. ; How frequently the upload progress should be updated.
    & m9 Q/ m4 n9 M; d) @- V
  1535. ; Given either in percentages (per-file), or in bytes9 O5 t& X. u9 v4 L- ?1 s, K
  1536. ; Default Value: "1%"
    , |4 l# x( }9 N" M7 o/ _
  1537. ; Development Value: "1%"
    2 W: ~) a- z9 t( C4 u0 `. Y
  1538. ; Production Value: "1%"
    0 ~. `9 i9 h- \, b- L
  1539. ; http://php.net/session.upload-progress.freq* _( V/ `4 I# c8 C6 }$ Y: c' e
  1540. ;session.upload_progress.freq =  "1%"
    # y. F- i# J+ U' R1 J; x/ B/ i

  1541. 5 |- k0 R1 B$ z4 b( J8 Y
  1542. ; The minimum delay between updates, in seconds
    7 a- |' w6 h3 p/ v9 r/ C
  1543. ; Default Value: 1
    ; t' c$ Y& I- q( D1 o1 [: W4 u
  1544. ; Development Value: 1, k7 b7 p/ q# e0 }
  1545. ; Production Value: 1" `8 t7 Y: i/ p% a; m. K, X
  1546. ; http://php.net/session.upload-progress.min-freq" G6 |* T" r! Y$ M
  1547. ;session.upload_progress.min_freq = "1"5 G* A# o& t+ @5 o: @

  1548. . u+ y* m6 H( H, p: y  J0 O
  1549. ; Only write session data when session data is changed. Enabled by default.  c$ D7 W* C; N. m5 \
  1550. ; http://php.net/session.lazy-write
    ) t* U- V# A/ C4 w5 a! H
  1551. ;session.lazy_write = On
    ; f+ ?' B8 T4 X. {1 m

  1552. ( W1 U* Y2 o3 u
  1553. [Assertion]% K( U4 Q; G$ I& S! {$ T, ~
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)4 {$ O2 j% {3 h9 H: x- y; F4 o% K
  1555. ; -1: Do not compile at all
    6 n) b/ C) b# N4 G0 A3 m
  1556. ;  0: Jump over assertion at run-time! s- g+ ?* E! M! l9 C
  1557. ;  1: Execute assertions, q, z" s3 Z: v
  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)
    ! r0 M; f- q" @& u% Y
  1559. ; Default Value: 1
    : g0 J$ A( s' ~2 p/ Y
  1560. ; Development Value: 1
    ) ]9 ?" [0 F6 V( t
  1561. ; Production Value: -1
    ' ]$ v1 }* v! Z- h
  1562. ; http://php.net/zend.assertions
    ' K- |  l0 b  n: F. n
  1563. zend.assertions = -1
    ; J4 `  t8 P) Q! C4 S- W/ ?; _% }

  1564. . I# [- ^; z# o
  1565. ; Assert(expr); active by default.' _" X8 F5 W9 g# V
  1566. ; http://php.net/assert.active: o8 w6 O6 w7 X+ I; f! P6 m  d' ?
  1567. ;assert.active = On
    ! V) h. Q1 V1 X, d/ e; o

  1568. , E1 D9 I! k! _/ ?/ D$ Z7 _6 W# X
  1569. ; Throw an AssertationException on failed assertions3 W) O+ O( f5 g6 D% V) I' C$ Q
  1570. ; http://php.net/assert.exception$ D' L$ V  ~$ Y2 d; [  C* O' l
  1571. ;assert.exception = On
    % N$ Z4 z, ~! [

  1572. ' h- h+ b7 M8 U1 o1 m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    6 l% F* ^+ V% W4 f, @* W
  1574. ; http://php.net/assert.warning
    6 t) ]! X' ~; `  J+ T
  1575. ;assert.warning = On
    4 v  }, Z, }3 E* s/ D
  1576. 6 n. R8 V3 ^/ F" w( ]' t9 w$ ~
  1577. ; Don't bail out by default.
    ! U5 b0 m$ @( V4 u  I, j/ Y( w+ k
  1578. ; http://php.net/assert.bail2 ~8 ^% Q9 I# b) [* u. P. j6 C
  1579. ;assert.bail = Off7 e  \% P; C; Q6 K% n2 z
  1580. 9 X% F/ X/ m3 }  n1 r5 V) t! ?; j
  1581. ; User-function to be called if an assertion fails.3 a% e% {7 g/ K5 u5 s
  1582. ; http://php.net/assert.callback2 X- \0 i) n% [" Z0 D( V; s
  1583. ;assert.callback = 0
    , r7 w% _& e5 a2 N* ?- M
  1584. 0 l- |' T* O- A
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    0 l: h" x8 X" [8 ^
  1586. ; error_reporting(0) around the eval().
    / M' E. I) T+ |4 h9 t
  1587. ; http://php.net/assert.quiet-eval
    ( r- n6 m  h: c! F4 B' E
  1588. ;assert.quiet_eval = 07 C/ U4 T) T# o! i% _) v7 y& l8 M8 ?

  1589. $ h* ~% Z) r4 m& i& X
  1590. [COM]* s. {5 d; p0 m5 b4 R7 [- s' Z- P
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, q9 P* B5 z$ \5 W1 A
  1592. ; http://php.net/com.typelib-file
      o% V7 c& w9 \) U$ O2 a+ t+ b
  1593. ;com.typelib_file =# N! f$ ~, N- h

  1594. 9 @6 H! ?7 A: W; t) M
  1595. ; allow Distributed-COM calls# f5 s: E% {, o! z. P5 s
  1596. ; http://php.net/com.allow-dcom, t0 Z* \& B1 K5 ^3 A* @, r. J
  1597. ;com.allow_dcom = true
    ' K3 q9 b* {( X

  1598. 7 u) h" B4 Y6 B7 s% n
  1599. ; autoregister constants of a components typlib on com_load()
    : L) }: m: x4 q; \& w7 I3 N
  1600. ; http://php.net/com.autoregister-typelib
    5 K4 `0 T' c' ~2 V. F2 d+ W
  1601. ;com.autoregister_typelib = true
    . c( h6 g9 l) s+ S% q

  1602. ) Z5 f( r+ `" s4 v' N# l9 Q( o
  1603. ; register constants casesensitive  l9 C( A3 e. s: d
  1604. ; http://php.net/com.autoregister-casesensitive
    % }. m$ H; ~" J( N7 x3 _2 O- h
  1605. ;com.autoregister_casesensitive = false7 i4 q& ], l9 T6 |/ D/ X

  1606. " w$ n6 G- R# I
  1607. ; show warnings on duplicate constant registrations
    % f2 T& d; y8 R/ H
  1608. ; http://php.net/com.autoregister-verbose
    2 C$ {5 Q' s( o! u$ s. X( }
  1609. ;com.autoregister_verbose = true
    $ T1 h& k  s& S6 b$ g
  1610. 4 \2 m5 d* Z7 W: \
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    & r3 t; ~) U% L8 c. B
  1612. ; Default: system ANSI code page
    / y$ [4 Y! W) x! d3 ]
  1613. ;com.code_page=5 y/ H- v4 M, C/ i9 [
  1614. , _0 g! Y1 V: R
  1615. [mbstring]
    , x/ C$ k6 y; ^: q
  1616. ; language for internal character representation.
    9 Z' p5 [7 m; }( g' N
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; u" G0 _# \9 Y$ G
  1618. ; http://php.net/mbstring.language9 B  |  Y: i* r! W& I0 U
  1619. ;mbstring.language = Japanese
    7 X0 g& w6 ?1 h9 z4 Q9 m- A
  1620. & ]; l" ]  T8 M3 e" C: y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - D- [& U0 [0 G% d$ ?
  1622. ; internal/script encoding.
    0 C- g5 G7 o: c1 t9 m8 O
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)8 h4 E$ s' J) M% e! h! C$ s
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( U& v( @2 l+ T3 w8 f
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! `/ I' V$ B4 y7 Q- j" B% K* |1 l
  1626. ;mbstring.internal_encoding =3 C: H" p" p* E+ {, Y
  1627.   J  L% t$ K( s( _! ~+ W
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.: }$ n3 ~" p1 D, S
  1629. ; http input encoding.
    $ a, ~( x+ R  i& u, ~, y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ! C) f) K, q! D- a2 q1 z  y5 s
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , _0 o6 m9 _# N% t; O
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input7 T& z* d' f2 o# o5 e
  1633. ; http://php.net/mbstring.http-input; S, c0 N; L* [% }: k0 c. z
  1634. ;mbstring.http_input =
    * e  ]; E' H4 {7 u9 ?! J' M
  1635. 9 T$ d# T+ [8 z. ]
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! T3 p8 [( R8 s" _7 C* a
  1637. ; http output encoding.! l* E: i& d4 C
  1638. ; mb_output_handler must be registered as output buffer to function.
    # s$ p5 F: F# X* {( _
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  f8 h: c. G0 m+ d
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    6 V9 u3 V5 |# C+ s
  1641. ; To use an output encoding conversion, mbstring's output handler must be set+ o/ B' U/ |( a: ]. W3 G
  1642. ; otherwise output encoding conversion cannot be performed.5 c* E8 `! A" V) {
  1643. ; http://php.net/mbstring.http-output9 v9 `& Q: f7 [, x
  1644. ;mbstring.http_output =6 \- K$ M4 ~: T& A
  1645. 3 O- ]0 l9 S5 K% N7 l
  1646. ; enable automatic encoding translation according to
    $ i. _7 r* K7 b9 G
  1647. ; mbstring.internal_encoding setting. Input chars are
    " B( [9 l% ]$ z  c  _; s" D
  1648. ; converted to internal encoding by setting this to On.
    * Y( [7 u. C" C( h  h
  1649. ; Note: Do _not_ use automatic encoding translation for5 G' X, n5 \; A: R; |" `
  1650. ;       portable libs/applications.' f$ ^; e# E, ~* N8 I
  1651. ; http://php.net/mbstring.encoding-translation& {# e  R8 m+ q/ B) G
  1652. ;mbstring.encoding_translation = Off7 D( @5 l4 x8 R, y0 e1 z! d
  1653. ) C0 j8 S- ^( y/ w0 a' @
  1654. ; automatic encoding detection order.! a1 @+ ~" E+ d3 u
  1655. ; "auto" detect order is changed according to mbstring.language
    2 D/ ]* R. n# ^, T7 u( j1 \, ?
  1656. ; http://php.net/mbstring.detect-order
    . X- P9 C- X; @$ f+ [) ?* ?4 A4 r
  1657. ;mbstring.detect_order = auto7 _. X! x1 Z  P" b7 ?: W

  1658. " G7 H/ M7 d' c+ U  M# }
  1659. ; substitute_character used when character cannot be converted
    3 I. U' J+ p% A; Y* [* t* W
  1660. ; one from another
    & ]3 T' s' l. f: b8 q
  1661. ; http://php.net/mbstring.substitute-character$ h7 n4 q1 R+ @4 e5 n; H7 v
  1662. ;mbstring.substitute_character = none
    * F" @+ ^2 Q+ D' ?
  1663. . d( o# [$ V+ b/ h; j
  1664. ; overload(replace) single byte functions by mbstring functions.0 a2 P; E! z) ~, P
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' }% \& `; a2 \6 A  ^
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    , H4 {( p' v( `* J+ N& O! C- @
  1667. ; For example, 7 for overload everything.9 V5 X. V" v+ R# C7 Y- W; ^5 {
  1668. ; 0: No overload
    + v8 E8 q& S; a. d4 {
  1669. ; 1: Overload mail() function2 `' w* r, n3 U) x# ~9 y
  1670. ; 2: Overload str*() functions& }' W  Z$ t7 S3 A3 {+ N5 Z' S
  1671. ; 4: Overload ereg*() functions" F; S+ @9 W; b3 |
  1672. ; http://php.net/mbstring.func-overload& }* {" d8 n; z0 `, P% b
  1673. ;mbstring.func_overload = 0
    : x7 ^5 U3 B9 B1 ?9 f9 a4 @
  1674. 5 K! r, w4 d/ n9 A
  1675. ; enable strict encoding detection.! |8 M; M6 R: a
  1676. ; Default: Off: g6 `4 n8 v2 S7 r( P  f
  1677. ;mbstring.strict_detection = On6 g6 ]1 F  w* r0 t" G4 }

  1678. + J! n1 y" E8 q1 i
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    * E7 @# a. }# B
  1680. ; is activated.
      `, B* Q5 J! f7 D; d
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 r0 b4 p7 l8 Y9 u  q3 k/ O! e
  1682. ;mbstring.http_output_conv_mimetype=
    $ m, M2 Q# p% d9 ?4 t' O

  1683. 2 p2 _$ w' A0 B
  1684. [gd]
    1 T+ u$ `3 l$ @' o+ d8 N
  1685. ; Tell the jpeg decode to ignore warnings and try to create3 `9 F$ R3 y5 q; r- ^3 |+ f
  1686. ; a gd image. The warning will then be displayed as notices3 K3 _0 x$ m- w& Q3 }$ e* z
  1687. ; disabled by default
    4 f2 v1 {, a& b1 X- m3 ]# E, A1 k, l1 H
  1688. ; http://php.net/gd.jpeg-ignore-warning
    $ \& [2 M1 ~9 w3 f  b* v
  1689. ;gd.jpeg_ignore_warning = 0; |2 s# s0 p8 M; X
  1690. 5 ]. X. ~# _8 q8 c$ O3 a
  1691. [exif]' r, i5 M9 ^# k/ F
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% S# R! T3 E7 Q
  1693. ; With mbstring support this will automatically be converted into the encoding
    " X$ ^) a/ K: z" `% u
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 t5 ?' O, O. c' P' ?( B
  1695. ; is used. For the decode settings you can distinguish between motorola and3 c5 e4 i  k' `! d- V& I) d
  1696. ; intel byte order. A decode setting cannot be empty.
    0 [7 F( ]* d7 C$ g
  1697. ; http://php.net/exif.encode-unicode
    + `$ N, p& {6 _. @$ @, D) q8 v
  1698. ;exif.encode_unicode = ISO-8859-15
    % z% S3 D  E. J5 m& d3 _
  1699. ! R2 j* w0 n: x, K& M* {5 l) j4 P
  1700. ; http://php.net/exif.decode-unicode-motorola
    3 H+ K# X# D2 {* S4 r
  1701. ;exif.decode_unicode_motorola = UCS-2BE( K) [) d6 S% E

  1702. 2 H; o8 P- `2 k
  1703. ; http://php.net/exif.decode-unicode-intel
    * ~4 k. f3 \1 d* Q: n2 L
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ J6 i, T& [* y# e3 }, L, {
  1705. ; ?9 V$ n$ ]$ ]" Z
  1706. ; http://php.net/exif.encode-jis
    + W) K; \1 j- t1 q$ R: w" O
  1707. ;exif.encode_jis =; E6 Z, N, K0 f8 I1 G3 R. Z& B

  1708. 8 v  d  u! h6 V( t
  1709. ; http://php.net/exif.decode-jis-motorola
    ( }) Z- N0 J( O6 O3 Y( O
  1710. ;exif.decode_jis_motorola = JIS# F4 H" l- f# j" V# C
  1711. 6 C# i& f; x8 N- H8 o8 ]0 n2 h
  1712. ; http://php.net/exif.decode-jis-intel
    6 u! z9 J( m# q7 \8 h$ p
  1713. ;exif.decode_jis_intel    = JIS
    " C; E) x* p9 Q1 K1 }2 J' s

  1714. + f7 r$ h( t8 d- {2 c
  1715. [Tidy]4 t% c; Z8 v- M+ B6 B
  1716. ; The path to a default tidy configuration file to use when using tidy
    + @. O9 U4 B2 `: D5 O. O
  1717. ; http://php.net/tidy.default-config
    2 k) E, K0 b: f: z
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 `. M( j; c5 Z' [
  1719. $ z" J( D' p* U& c9 [; }1 m& j
  1720. ; Should tidy clean and repair output automatically?
    " }& D$ a! Q) x* D5 m0 d  _
  1721. ; WARNING: Do not use this option if you are generating non-html content
    + D7 p8 d4 q: Y+ V, b
  1722. ; such as dynamic images
    6 {- g: t# j# J4 F- W& d" _
  1723. ; http://php.net/tidy.clean-output
    9 D- [2 G# `2 o8 M, i
  1724. tidy.clean_output = Off; |! [/ M+ @; A  }8 s; k8 T( [1 ]

  1725. 1 h4 h5 y% Y5 E0 L% B! ^# o5 G& W
  1726. [soap]
    6 a' L5 h/ K) D+ I0 a; f
  1727. ; Enables or disables WSDL caching feature.
    ! Z" U* z# Y8 X8 `& o& g" j
  1728. ; http://php.net/soap.wsdl-cache-enabled
    " U, b8 j8 Y4 B* e( l! P2 s$ f7 z% u
  1729. soap.wsdl_cache_enabled=1
    / L. l' z9 H5 @* q
  1730. 0 O' j* V% i) D. v7 \
  1731. ; Sets the directory name where SOAP extension will put cache files.% K: b! G$ t1 V
  1732. ; http://php.net/soap.wsdl-cache-dir
    * l7 p: {( S* Q
  1733. soap.wsdl_cache_dir="/tmp"
    2 |; |/ M5 ^1 y& T* N
  1734. # o4 G7 `$ G4 y
  1735. ; (time to live) Sets the number of second while cached file will be used# [% H8 r1 [* J! U3 n
  1736. ; instead of original one.
    9 Q( U4 N: v# |8 m
  1737. ; http://php.net/soap.wsdl-cache-ttl4 r3 _, g, h7 T- K4 L% v
  1738. soap.wsdl_cache_ttl=86400
    * B6 @4 E) }( M- x0 a2 E; B) I- s

  1739. 2 e# Q$ ]" a9 D+ y1 y6 X
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    9 T$ `; m; y7 S6 I
  1741. soap.wsdl_cache_limit = 5
    . u3 u/ E/ H4 M2 N8 q) y

  1742. 7 U) _" {: B' m: H1 ~
  1743. [sysvshm]5 Y1 K& L/ x6 C8 D$ ?- }
  1744. ; A default size of the shared memory segment
    ( _9 q+ i/ D) V' a4 P& e
  1745. ;sysvshm.init_mem = 10000: \8 h7 i' Y0 Y; D, r

  1746. 3 }4 d) O- X& H* s5 V, S
  1747. [ldap]; M7 d4 `( Y! q" ~- n6 u
  1748. ; Sets the maximum number of open links or -1 for unlimited.$ I7 G* \1 L* I
  1749. ldap.max_links = -1* u- c% f' Y% [1 i+ s+ U$ {. B/ J

  1750. - S7 O$ G: O' b1 _2 T3 j. K- i
  1751. [mcrypt]' {7 B% o; [! q$ Z" J/ D
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! k' a$ l. E3 r; U6 _6 ?

  1753. 7 C  f2 G% k. J
  1754. ; Directory where to load mcrypt algorithms
    5 G5 P1 Q( ]3 t4 |0 d
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" D$ O/ C( L" q3 \
  1756. ;mcrypt.algorithms_dir=- a8 g, m8 |) k

  1757. / F# P7 ?5 L! W2 {! z3 t
  1758. ; Directory where to load mcrypt modes
    : O& I7 S6 ]/ a8 f2 S" d, K7 q' _6 |0 t
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % [# M! [* }: c. W! R# X! B
  1760. ;mcrypt.modes_dir=
    # i; }, e& u; X0 F, l
  1761. # D8 L4 F2 ]8 v( S3 p0 A8 c1 Q
  1762. [dba]
    . n7 v2 b! n2 e7 T/ k
  1763. ;dba.default_handler=' m6 r& ~1 O* V. f6 L

  1764. $ k7 }, \& p; B! W
  1765. [opcache]1 _# a5 s! r& z
  1766. ; Determines if Zend OPCache is enabled
    8 E- h+ C/ E1 W! l. B: h* z8 `
  1767. ;opcache.enable=0: i* L9 u4 z6 ^) n

  1768. ( }5 a6 M* \* Q. r; P; u
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    6 r! x. y1 s# b7 j
  1770. ;opcache.enable_cli=0
    : O& m- u+ u  _8 j

  1771. * H4 ?8 H- b& H! a9 r
  1772. ; The OPcache shared memory storage size.- S5 L4 ?7 P6 M2 }" ]
  1773. ;opcache.memory_consumption=64
    / w' c0 q- G* v% q7 I2 k

  1774. ; L# T2 n6 h, z* ^. Y' _6 h
  1775. ; The amount of memory for interned strings in Mbytes.( [) u8 m6 V+ K' ]. I( X
  1776. ;opcache.interned_strings_buffer=4" z" i. i9 a$ ~" I% d2 m

  1777. - U  P. _/ L* A+ t& S
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.) L6 z; @3 G% l  z$ t9 d
  1779. ; Only numbers between 200 and 1000000 are allowed.
    4 J% E& S- M" H# Y
  1780. ;opcache.max_accelerated_files=2000
    ! W( S8 |9 R3 x$ P+ ^) A
  1781. ) l/ J6 H# D% @5 @& ^! Y* r  t" m! r
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    * X; c+ K; S; n& v+ ~6 [6 {& \9 E
  1783. ;opcache.max_wasted_percentage=5
    " h5 ]' {; y* q' i  D: z/ j: O
  1784. % {# }# h; M3 k( h) [
  1785. ; When this directive is enabled, the OPcache appends the current working
    , Z+ }4 }' F. X- F7 S
  1786. ; directory to the script key, thus eliminating possible collisions between
    / l9 p; N/ m8 L  `* s
  1787. ; files with the same name (basename). Disabling the directive improves& n8 i+ q2 w* m
  1788. ; performance, but may break existing applications., g! Y7 Y4 k6 a1 C3 v
  1789. ;opcache.use_cwd=1
    : n  G% ~% p" O. P( w* F
  1790.   ^; [; v1 M/ L* T+ D' O
  1791. ; When disabled, you must reset the OPcache manually or restart the
    : k5 Y2 L) j2 J! g, H0 F
  1792. ; webserver for changes to the filesystem to take effect.
    # h5 s4 L; w4 j5 N* R5 n0 ]+ w3 `
  1793. ;opcache.validate_timestamps=1
    & T& N' o' {# A. U

  1794. . P' [1 [5 Z+ N3 m# i
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ! F, [4 l, u: t6 m0 y
  1796. ; memory storage allocation. ("1" means validate once per second, but only8 q! s8 g" D5 U/ }& C- u
  1797. ; once per request. "0" means always validate)
    ( T& b. H0 y2 `) R. a
  1798. ;opcache.revalidate_freq=2
    5 C' f9 |) H0 H; W$ \. [

  1799. $ N$ y  z; h0 u# Q  K
  1800. ; Enables or disables file search in include_path optimization$ X2 P4 G/ O; \5 N9 S) ?7 P# O
  1801. ;opcache.revalidate_path=0
    " x5 M- ^0 O' X8 L
  1802. ! h6 p2 {  d! O9 w, d
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 i( P3 G. _* |# N
  1804. ; size of the optimized code.
    9 _: O/ m7 f7 d* v8 G  K
  1805. ;opcache.save_comments=1  C' A" A5 g8 V5 I" Z( P2 O

  1806. , S. L0 d- }+ p7 @' |; Q. K: D
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 Q6 V! ?0 a7 D) A# y9 y1 @( D+ g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.3 b5 t- _0 B' \8 t" n. {8 P
  1809. ;opcache.fast_shutdown=08 k3 c2 ~& r4 g& R$ O7 {. A$ I* Q

  1810. 0 ^! f* ^) j" y& ]/ ?9 o
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 A8 o5 @! W' e" i  O
  1812. ;opcache.enable_file_override=0
    * ^# r% `! G" u! l! @

  1813. + ^& ?1 P6 A' J1 r3 L7 J1 Q
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ W. ^- ~5 b2 u! k, t9 M
  1815. ; passes4 X# @, T! t. Y" e: K4 j; V
  1816. ;opcache.optimization_level=0xffffffff
    ; G5 N0 Y( L& I; a) x
  1817. , S9 v! n& w0 k. {# @9 h+ u3 Q9 S# m
  1818. ;opcache.inherited_hack=15 u! j) Q1 O& x4 r+ s
  1819. ;opcache.dups_fix=01 X. X) ]0 T; |" H; v2 \6 H7 o
  1820. 2 q  w5 c9 g% B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    9 p- n7 {0 m) N" P' X2 ?) x( \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files& }6 P, |6 R. p' u! T+ @% V1 t
  1823. ; that should not be accelerated. The file format is to add each filename
    % V' _  e( q( j2 o, ~( Q- i
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " V) p2 \6 w: @# `: r+ l, d' f, Q# R
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! g1 U9 B6 U7 @0 c! K5 f- O
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 }6 p. ^) |* w1 f
  1827. ;opcache.blacklist_filename=+ P# L/ ?( h; ]" d
  1828. 7 E/ E/ Y7 l# v5 w8 j
  1829. ; Allows exclusion of large files from being cached. By default all files
    5 s7 P) w7 A9 `1 k/ @3 m
  1830. ; are cached.! `. G: }2 ~- A( ?9 n( j
  1831. ;opcache.max_file_size=0  I3 O( U, v# h6 V9 C! l

  1832. , i% w0 a* g) X
  1833. ; Check the cache checksum each N requests.
    ' g. d2 t0 V/ h; g% W# y
  1834. ; The default value of "0" means that the checks are disabled.
    # o2 v) D4 Y, l$ w
  1835. ;opcache.consistency_checks=06 L% z$ K3 C9 m$ d) _& B6 ]

  1836. $ K( @- t1 I. {. w# q
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache; ~3 U: X3 j/ P! G1 @
  1838. ; is not being accessed.4 s  Q6 @( U5 V- o  F, G
  1839. ;opcache.force_restart_timeout=180
    4 O" i4 V" {. ], K5 B" I
  1840. $ L- x2 d1 W( {, t5 f8 y6 O- S5 C
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    8 q( z% T' b% ~' y) i
  1842. ;opcache.error_log=; C; D: @1 U: M7 z0 P/ x

  1843. 9 [; r1 {' ^/ {: O
  1844. ; All OPcache errors go to the Web server log.6 \7 f* [( H8 F# Q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 \9 w8 I, ~$ W: r2 C2 f7 A# u
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ' e0 z% u* ?, o% q/ d
  1847. ; debug messages (level 4).
    " N. `/ }& q0 q& A) @
  1848. ;opcache.log_verbosity_level=1
    6 q; W# k: c+ \. a

  1849. 7 M# U4 t% h& M! P
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    . y7 V- g  ?, D0 _5 Z4 n
  1851. ;opcache.preferred_memory_model=
    + X! |4 x! y) t' y8 g, X/ H8 E, }
  1852. " {( T- d2 \: P  u* Z
  1853. ; Protect the shared memory from unexpected writing during script execution.
    3 i5 U/ b4 N4 `3 p$ s0 x
  1854. ; Useful for internal debugging only.) I  ~' J* g0 y' H) i0 f
  1855. ;opcache.protect_memory=01 K, q+ X! Z7 c/ \- k! d

  1856. - L& a( K; u% K& B
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is; x7 }- w& Q8 Y; K. F% P
  1858. ; started from specified string. The default "" means no restriction
    0 N) y$ y# w1 S$ x6 Y, [, K
  1859. ;opcache.restrict_api=% n, U7 C! c9 \" M& g0 B
  1860. 2 [) y" }5 o4 F3 i" l0 }5 X8 e
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP3 j) |% T& L$ l
  1862. ; processes have to map shared memory into the same address space. This
    - G# g8 L9 L$ @5 d/ ~
  1863. ; directive allows to manually fix the "Unable to reattach to base address"$ d/ z6 U2 U, m" w5 ]7 @6 `
  1864. ; errors.' _: r4 {$ q+ @$ k
  1865. ;opcache.mmap_base=
    / S6 i& l- m' L' O  s5 f

  1866. ; ^3 X' P: T) ?) |
  1867. ; Enables and sets the second level cache directory.+ I( Y0 ?% F$ K
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ( n: i" e- I8 M+ R6 y" R  f
  1869. ; SHM reset. The default "" disables file based caching.
      C% ~' R% O, `9 v; ]! I# l
  1870. ;opcache.file_cache=( y6 j" Z8 A& F+ `9 K1 n6 N
  1871. * @$ q1 W, S$ H2 ?' D
  1872. ; Enables or disables opcode caching in shared memory.# K4 \5 C. r, {
  1873. ;opcache.file_cache_only=00 I* B8 \8 x- c2 L; J
  1874. 3 A0 e$ {$ W( c; q( }  t
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ d+ x3 e0 ?+ F2 v* ]: {
  1876. ;opcache.file_cache_consistency_checks=1
    & ?" ?5 _0 I& t
  1877. 8 A: _$ N9 e7 Y) J2 Z. g
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    7 Z0 Z+ j- s. ]8 t  P0 I# v6 T8 m" K: b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file; l3 ]( O. Y% [! ~9 ^
  1880. ; cache is required.
    ( v7 O' V: o; H+ F
  1881. ;opcache.file_cache_fallback=1% P* v4 Y1 @4 K, a) g2 P
  1882. / a. ]( R5 u; V$ M
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ; K6 _5 o# R* B) V# L
  1884. ; This should improve performance, but requires appropriate OS configuration.
    # O' D: j( @1 g; Z, a4 p
  1885. ;opcache.huge_code_pages=1+ R! U' K' L1 A) S# ?
  1886. 9 F& e/ c) Z2 z8 W" K
  1887. ; Validate cached file permissions.
    9 a% v* \" n! c1 E2 _
  1888. ; opcache.validate_permission=0
    ; U+ H" C0 h5 i- ~: x# T8 }
  1889. ! \) b) G9 ^+ X5 _; I- O$ K7 v* r
  1890. ; Prevent name collisions in chroot'ed environment.
    6 G/ v) X8 u$ s. X" H% |$ g
  1891. ; opcache.validate_root=0' E) f1 N4 k9 M
  1892. 2 g4 x" I2 R4 g6 i
  1893. [curl]
    + F' E* c& d8 H1 z/ P! `; y* @
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 S% s4 _8 q8 \4 m
  1895. ; absolute path.
    3 W' r; s# y# _* L0 K
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! C" y. D$ s. ]8 R
  1897. % B+ P6 P! |6 @- l
  1898. [openssl]2 D& u8 k% X) D* V
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( T4 j; T7 s4 g8 H; C9 U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should  Z' \8 O; W+ U. y5 f4 E
  1901. ; not specify a value for this directive as PHP will attempt to use the" g' Z' @- m, A+ d2 k/ [3 n
  1902. ; OS-managed cert stores in its absence. If specified, this value may still! d& r5 B8 `/ a
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 q5 o5 d3 S' U  c
  1904. ; option." q! O! `6 t  i/ l# o% C* Z  ^
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% q% D" r: W; [6 u$ {! ], `* J

  1906. 9 X* H6 O9 m" d  A: }
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    , G- [0 F+ q7 u9 s
  1908. ; directory pointed to by openssl.capath is searched for a suitable/ v1 J3 Z! i+ }8 R5 |: Y0 q
  1909. ; certificate. This value must be a correctly hashed certificate directory.+ d" i: [! o& P% `! r% ]5 d3 @4 B
  1910. ; Most users should not specify a value for this directive as PHP will
    # P) v# e) ^1 S$ F& x$ ^
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! q: T1 V5 j7 C; I6 F( ^9 I
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ' Z$ _. l. W& N  B! }
  1913. ; SSL stream context option.8 C7 ^4 X, m+ O# O7 u3 ]$ K
  1914. ;openssl.capath=
    ; s1 n5 I4 q' X; a" t& e) [
  1915. 2 h9 ?8 p( A2 E* z: g/ X
  1916. ; Local Variables:( \+ S+ X# F! G) A9 j5 @
  1917. ; tab-width: 4- p8 _% F+ c5 J
  1918. ; End:
    9 L' n* A, o- ]- m
  1919. 1 G, _6 b, }: F  Q( M  Y) }
  1920. ;eaccelerator& f# W4 P2 \- }; g  \( l
  1921. ; w( F1 Q) b% B
  1922. ;ionCube
    9 O! w2 i2 h2 g: z7 P) b

  1923. % W' W: K3 G6 s9 K% D0 q
  1924. ;opcache
    7 f% \( V4 |7 d; `$ j" `3 L

  1925.   Q3 a: o, ?) G5 B) k5 w
  1926. [Zend ZendGuard Loader]: J" X; l5 V) K2 b( K4 J
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.) T: ~3 r, {' D- _  n
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so; \$ f. C  Q) S
  1929. ;zend_loader.enable=1
    4 a1 A: [' t' T' S/ h! R
  1930. ;zend_loader.disable_licensing=0
    3 G( i5 I% J! |7 a" d- \, [3 D* _
  1931. ;zend_loader.obfuscation_level_support=3
    5 ^( H0 F1 r0 V3 V4 ~" I5 _
  1932. ;zend_loader.license_path=1 \! f& z# B0 \" ~# X, L: B  x
  1933. , _3 ~5 l! Y- A* V' O
  1934. ;xcache
    3 W1 s6 i2 C6 p: |& S& [! t

  1935. 0 P, @6 _. R$ s- L. S
复制代码
# X4 s- i5 A* g% m0 b4 g

' J) G5 H1 X# _( J6 a; x2 A% @( m) M$ O( A$ p

- v2 @3 \/ j& _0 y6 {4 o7 w
) y( y; i! v$ M) B$ t
% m0 \6 D; C& Z( B% \' Y3 @
3 u4 \' L+ N5 k* C! o( }1 PPHP5.6版本原始设置8 w5 p  E/ y0 _0 Z
, Y' ~, E7 H5 `7 r* f  w/ ^
  1. [PHP]1 W& V8 M$ z) W: \4 k

  2. , {! i" p1 n0 ~; G" ?4 {2 N# s
  3. ;;;;;;;;;;;;;;;;;;;8 V- i% i* G8 j2 l
  4. ; About php.ini   ;
    . p. Y0 n* V( t- l
  5. ;;;;;;;;;;;;;;;;;;;, {9 g# y% M. K8 c" S4 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      q+ s# d1 j, h" c
  7. ; configuring many of the aspects of PHP's behavior.
    6 o. g/ r3 A7 I) n* Q3 S  ~

  8. : @8 z( p) k/ d* M, p* a' X* A
  9. ; PHP attempts to find and load this configuration from a number of locations.5 ?2 S/ e6 c) P' Q* {4 f/ [* ^0 g
  10. ; The following is a summary of its search order:+ M9 }" c2 i) h5 ~% a
  11. ; 1. SAPI module specific location.
    8 D7 c1 k" r) A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)  a4 w" }: D; K. z# Z" \
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 G5 {  ~9 R* u' R* ^. }$ N1 x
  14. ; 4. Current working directory (except CLI)
    9 X. x, o  `" M' s+ }: j
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    " {; N8 E- E! ^
  16. ; (otherwise in Windows)) q$ b  J7 c& }
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 u* U/ W. G1 }- z, I
  18. ; Windows directory (C:\windows or C:\winnt)& Z9 i( b, p) `# l
  19. ; See the PHP docs for more specific information.
    3 V) _: Y' m, q0 S( ?
  20. ; http://php.net/configuration.file$ v1 ~! W: Z( ?) w; J5 g" a& F$ e5 I0 z
  21. + w$ Q1 s/ _. ]  T8 n  F
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; D, D# w7 W$ I$ d& k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)." L/ C" s$ |- o  l9 T; H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 [$ o% R& b8 a- ?9 U, J
  25. ; they might mean something in the future.
    ( I0 w% N9 o/ g6 l$ _. n" \

  26. , S% @( T: K* x
  27. ; Directives following the section heading [PATH=/www/mysite] only& G- i3 N- B! X- G( Q& L
  28. ; apply to PHP files in the /www/mysite directory.  Directives: D3 I9 @0 f. b8 Z8 e$ M7 |" i
  29. ; following the section heading [HOST=www.example.com] only apply to. R; q6 @% H+ e2 g/ m4 |" ?/ V* I
  30. ; PHP files served from www.example.com.  Directives set in these# |" ~0 `0 {3 i
  31. ; special sections cannot be overridden by user-defined INI files or
    5 W  ]0 l2 J, l9 x: G. u2 G5 t
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    * ?/ c0 X9 ]* y6 s# r: C
  33. ; CGI/FastCGI.. X, ^/ {5 A6 ?. [4 q! M0 S
  34. ; http://php.net/ini.sections
    " A1 L2 L3 Q; R& p. ^/ R# H( @

  35. ) `8 `2 _5 N. Y
  36. ; Directives are specified using the following syntax:8 z! ^$ [7 e& s& g# o* X
  37. ; directive = value. t+ v) C, |9 r/ j$ {) k( o
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + t7 G% q: f; e. r& F  C
  39. ; Directives are variables used to configure PHP or PHP extensions.$ G8 e: h8 K% t( {- c- v3 M' H8 E
  40. ; There is no name validation.  If PHP can't find an expected
    ( ]8 X+ W+ N2 i1 I
  41. ; directive because it is not set or is mistyped, a default value will be used.* e2 i! D7 Q: w4 l3 M

  42. / W$ e; f9 d7 s' Q8 x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + ^5 L1 ]6 R1 d( f: q, l# g1 y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    7 }6 J4 ^3 j* Z  n; `8 m8 H
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    9 `9 ~; Y4 v4 M- p, ^8 I3 Q9 ]
  46. ; previously set variable or directive (e.g. ${foo})$ `4 c, F0 g8 {5 h* ^" e6 E' I# c+ i

  47. 1 J$ _5 d8 Y7 v  b" {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
      n1 d9 z' E6 x+ N9 x' s! {
  49. ; |  bitwise OR
    ) y0 a$ H  |$ I8 m
  50. ; ^  bitwise XOR" ^# `9 H8 t4 v" K
  51. ; &  bitwise AND
    3 f8 j& x2 A; A
  52. ; ~  bitwise NOT2 W. \- u& @0 s0 Y
  53. ; !  boolean NOT
    $ h% @) ~7 r; r. }& Q1 ]
  54. ' [  D0 v6 `# z/ h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ' p. B  X, P# j0 ^6 L
  56. ; They can be turned off using the values 0, Off, False or No.( G' w" c0 N. {2 h0 n( b  k

  57. 7 H+ E' Q7 R1 {1 o
  58. ; An empty string can be denoted by simply not writing anything after the equal
    % X. n# b" l6 A+ m6 T( d
  59. ; sign, or by using the None keyword:; A/ Z) C5 k! j# a% N
  60. ; z3 R& h' }- E$ c% s
  61. ;  foo =         ; sets foo to an empty string$ d9 D1 G7 t* }" e' b5 C4 C
  62. ;  foo = None    ; sets foo to an empty string
    9 m+ b; ]6 \2 U
  63. ;  foo = "None"  ; sets foo to the string 'None'3 u, ^- \& K% x- a+ ]
  64. * ~! S; S+ h% Z6 ~6 ]
  65. ; If you use constants in your value, and these constants belong to a/ I1 W- j4 R5 ^' ^" U$ u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& y  p: T4 }0 N: e- f& n
  67. ; you may only use these constants *after* the line that loads the extension.
    ; i4 D& I9 q. J/ T4 E; p
  68. 4 c& L/ [$ U! m9 q
  69. ;;;;;;;;;;;;;;;;;;;7 ?9 k! @; S) z% Q' D
  70. ; About this file ;& E4 x' f- |( s: p
  71. ;;;;;;;;;;;;;;;;;;;! S' U4 P; n! W
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( V0 `& D# E0 @6 Q9 U, Y8 _
  73. ; in production environments and one that is recommended to be used in( S* B( h, `0 M; `2 P2 p
  74. ; development environments.
    8 Z9 v  p3 ~% J! T' B
  75. 4 c# [8 C) L1 K2 Z- A
  76. ; php.ini-production contains settings which hold security, performance and) r. f4 y. _' Q+ v' V8 \
  77. ; best practices at its core. But please be aware, these settings may break# t) J3 W* Q  a% G, {
  78. ; compatibility with older or less security conscience applications. We
    4 C6 D0 E) l/ Z; N7 Y" Y4 G+ @
  79. ; recommending using the production ini in production and testing environments.& b- F3 X4 e. O) h/ z

  80. ( [5 k% I* O+ m  \% ?
  81. ; php.ini-development is very similar to its production variant, except it is
    : I4 _! d, s7 U5 E
  82. ; much more verbose when it comes to errors. We recommend using the
    6 t, o6 ^' F% o( e% c+ {
  83. ; development version only in development environments, as errors shown to2 [' F) C( }3 u
  84. ; application users can inadvertently leak otherwise secure information.$ E+ h; ?& f4 n# b6 Q2 Y
  85. 9 f) N! E' p% i8 P$ g. g( J
  86. ; This is php.ini-production INI file.5 N) Z0 ~+ i- D- M" c

  87. ( H9 k: c0 i  I) J" h, P
  88. ;;;;;;;;;;;;;;;;;;;; k6 R1 @# a7 ]( z2 N
  89. ; Quick Reference ;2 v2 x9 N# g7 G3 q6 z; Z
  90. ;;;;;;;;;;;;;;;;;;;
    1 W  c' j2 |; K3 ^
  91. ; The following are all the settings which are different in either the production
    ) w* [& w! Q6 \0 f' I* _
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    1 T2 u, i$ Q+ ^) d' o
  93. ; Please see the actual settings later in the document for more details as to why( l( H% x: j1 ?5 T  p  o
  94. ; we recommend these changes in PHP's behavior.
    3 {2 U6 Q' J% j) ]! V3 N- l# l# G# M
  95. ! \9 \  q0 U; R. k( p# t# B
  96. ; display_errors
    & Q5 C! p1 m) a9 z
  97. ;   Default Value: On- Z) B8 i3 f% \: H# T: K
  98. ;   Development Value: On
    - U1 F+ y% T3 U- \
  99. ;   Production Value: Off) C9 ~" @$ b8 o: S
  100. $ Q  ~& S) u& q3 s2 c/ I; F! `4 ^
  101. ; display_startup_errors
    * i! K+ ]6 a. }4 K. a; |
  102. ;   Default Value: Off2 B7 B* b1 i' ~: S6 a/ j1 F
  103. ;   Development Value: On
    ( h+ a# G5 Z$ u* V, X$ o0 c
  104. ;   Production Value: Off
      L8 _: o: W" ~9 k: s7 l6 [
  105. : J: s, U; a! u5 I$ K
  106. ; error_reporting) l0 d; v( T% v9 n$ r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( h) M/ J2 J9 _8 Q8 j/ O
  108. ;   Development Value: E_ALL! r  a) a; p6 U  D4 [) O
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 V. s7 j" o8 s8 W" X, w( e

  110. / `" l( r- e" P. p2 O1 z! Y8 E
  111. ; html_errors2 ]& T6 y4 r* h! a, N
  112. ;   Default Value: On- |! H& M/ A+ L+ b
  113. ;   Development Value: On
    2 s+ ?$ f$ p* D) {) V% Q: X$ c
  114. ;   Production value: On
    : Z( [& c/ Z9 Y+ e" ?3 {- P
  115. & `) k: g- ~3 `2 h# I0 K
  116. ; log_errors' M# j8 \, v0 O- M$ F& X
  117. ;   Default Value: Off! W- P3 A# s  h; n8 L- v
  118. ;   Development Value: On
    0 M- S; g# f" _6 T5 b/ w+ R
  119. ;   Production Value: On
    . q4 {, @" ~$ v* J$ }

  120. . k# e. r* b2 f- N" \% A: ]
  121. ; max_input_time
    5 \7 D) v; m, T
  122. ;   Default Value: -1 (Unlimited), L- S" |' q% d0 F6 T
  123. ;   Development Value: 60 (60 seconds)# ?- S" W6 z8 S$ U" g( ^( s: Y
  124. ;   Production Value: 60 (60 seconds)
    * k# F4 n4 u& ]/ o* |
  125. 9 n7 S6 A8 F  b, e+ {/ S/ }& b6 _6 |
  126. ; output_buffering
    + X& y1 N: p, t7 K) i9 d# z" ~
  127. ;   Default Value: Off
    2 }' H% c# t, S
  128. ;   Development Value: 4096: l; I6 |9 u' U3 y
  129. ;   Production Value: 4096
    + |/ x1 h& p+ M. @  i" ~0 Z
  130. 5 C: Q8 |/ w( [- B+ ~# H! K
  131. ; register_argc_argv
    ( A  {) I4 Q1 J" k" Y# f# `$ A
  132. ;   Default Value: On1 s! ?+ E; ]8 Z6 w
  133. ;   Development Value: Off7 }) e4 D* n* F/ A
  134. ;   Production Value: Off5 L; b. k5 O$ a
  135. 3 ?3 d; I7 P9 ]5 w/ u
  136. ; request_order8 X  Q0 [% K4 p" ~
  137. ;   Default Value: None3 |7 ~2 J# P3 L7 v* z$ J6 e7 K$ q
  138. ;   Development Value: "GP"
    , O1 v  r* b; A9 |" e) b4 L/ ?
  139. ;   Production Value: "GP"1 v9 I3 c: B) Q4 M* @8 r0 }

  140. 9 e& y/ g! P4 w( o4 J  T: D
  141. ; session.gc_divisor
    " |1 Q, X! V0 ]/ G2 m" w0 i
  142. ;   Default Value: 100+ Y1 b( X, U, g" O
  143. ;   Development Value: 1000
    , U) r! g% `' o% n: ~/ V
  144. ;   Production Value: 1000
    ) @# L4 ?9 E$ q4 u# b4 E

  145. 1 l6 d/ z$ U! |( q: v$ k+ W$ i) k% ]0 S# W
  146. ; session.hash_bits_per_character
    1 j  |/ u* L& Q9 w8 q' E$ t
  147. ;   Default Value: 4
    0 ^+ y: m+ q) {& P8 n; W2 _0 }
  148. ;   Development Value: 5
    % H8 E3 L3 S8 p' W4 f
  149. ;   Production Value: 5
    , g; s" Z4 w7 ~* ~) v$ C

  150. ) Z. n/ H3 v6 s* w, e9 P
  151. ; short_open_tag( \- `1 R8 \( M! E. ?$ i+ t
  152. ;   Default Value: On( V3 x& U& }# P6 o" u- z
  153. ;   Development Value: Off
    4 \3 l) N! z" y. t, l3 `, N
  154. ;   Production Value: Off
    4 [- A/ t2 L  q$ o6 E8 k; U- s

  155. 3 [7 J; T9 c9 B7 q& x
  156. ; track_errors
    & Q/ w: h6 q6 e  `5 D6 P9 ^- l
  157. ;   Default Value: Off
    ) T/ O0 v/ l  k
  158. ;   Development Value: On6 l# t1 ~: q- Z* W
  159. ;   Production Value: Off
    . V$ L& z& ]& m3 g. S) o3 ^
  160. 2 L# ?. O+ v8 A* r. P5 E
  161. ; url_rewriter.tags
    " q! G2 R* {9 R- ]9 g. l# _
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 q; c, u" _4 v5 Z  E
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) I# s2 g* f/ ?) a$ o- c6 ]
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 C  L9 e# u* u) `

  165. $ Q& r8 l' @& m0 d  n* K. `
  166. ; variables_order
    5 \6 X6 {0 b: R' {' S
  167. ;   Default Value: "EGPCS"
    ' Y0 Y' Y& z4 c2 V3 A3 q+ C
  168. ;   Development Value: "GPCS"
    4 m% C( g. ~# K4 ?) e
  169. ;   Production Value: "GPCS"5 q2 J3 W' B$ Q$ x6 y

  170. ' O& `0 E! j; e! L
  171. ;;;;;;;;;;;;;;;;;;;;
    ) f0 b: E% z5 @5 Y
  172. ; php.ini Options  ;
    3 T; o8 J7 |  L6 h1 y' Y" z
  173. ;;;;;;;;;;;;;;;;;;;;) i) c1 J& o; W' b) K  [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    2 A; O3 A6 M- q2 s1 i0 S  l
  175. ;user_ini.filename = ".user.ini"/ d, U6 w6 S. k# l
  176. / I, i" x" g3 ]6 [
  177. ; To disable this feature set this option to empty value
    3 m* Y) V$ L. g3 u$ I" ~
  178. ;user_ini.filename =  J5 j7 w3 _, |* ?
  179. ) @) O* p% l% `9 X  [
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 @# I; |+ Z" @
  181. ;user_ini.cache_ttl = 300
    ! @3 v$ J* i! K& q5 T4 f
  182. 0 Y7 L4 Z1 k% N
  183. ;;;;;;;;;;;;;;;;;;;;0 _' K# H5 h5 g2 Q7 ]
  184. ; Language Options ;
    ' _# F, C3 i3 C+ f; s0 S
  185. ;;;;;;;;;;;;;;;;;;;;! l' ^0 w% w* I3 {' t2 V
  186. , H+ r$ F2 Q$ V4 O) Z4 f; q1 Y
  187. ; Enable the PHP scripting language engine under Apache., m9 s/ u; s$ R( G2 J' c' ~
  188. ; http://php.net/engine1 g1 `1 V+ |# ]
  189. engine = On
    0 C# ~& {* {0 ?: S& M- e1 J/ r

  190. 3 c2 \1 y) O* Y! ?3 `$ f
  191. ; This directive determines whether or not PHP will recognize code between
    5 @, {" R: S/ S  R, p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; i! |3 I9 }5 C2 {" }6 T5 Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ! ~# B5 B' P3 ^1 X
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ! Z# R. q6 |, I% V; D5 J+ W; x
  195. ; documents, however this remains supported for backward compatibility reasons.
    + f9 C" Y1 i) s) }
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ ?3 u* B$ H& v, \- N6 U. v
  197. ; used regardless of this directive.
    6 |7 Z; I9 x( d- A7 E  p/ Z
  198. ; Default Value: On6 S/ q* G# d+ o% b# d4 q
  199. ; Development Value: Off4 ^2 G. X& d1 g. [9 N" k/ V0 _
  200. ; Production Value: Off
    4 l  v; G9 a5 m9 {* d+ a* Y' m
  201. ; http://php.net/short-open-tag: a9 T" G2 Y. t6 ?+ z
  202. short_open_tag = On
    : V, ~# c7 E0 T6 v

  203. $ l" F) ~/ K2 }0 Y/ I; H+ p2 T
  204. ; Allow ASP-style <% %> tags.
    0 F3 P& X; i4 O& j# F6 j9 q4 [
  205. ; http://php.net/asp-tags  ?: P( @: C/ q  Z4 G
  206. asp_tags = Off2 A8 I3 @% w( v7 t3 X; D5 A

  207. $ c) ~# Z( g; Z' O1 N, P
  208. ; The number of significant digits displayed in floating point numbers.5 @1 ^$ o7 i9 I
  209. ; http://php.net/precision
    5 A. t, \5 V2 l) B
  210. precision = 14" f1 F8 R, H( X

  211. - ]/ W+ [5 ?" B" f  J, y
  212. ; Output buffering is a mechanism for controlling how much output data
    $ t% m' k6 e4 `* ?; |! J# {  {
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that0 Z' Y7 M% u3 F& l9 k/ d) a$ ]
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ! Q+ L7 l: B2 v
  215. ; will send that data in chunks of roughly the size you specify.& o6 D2 P9 T6 \) s) p
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    6 {5 {# T9 [; x2 t0 Q
  217. ; interesting side-effects depending on your application and web server.
    3 [# J$ x  u( m/ {8 ~+ f# J3 |0 ^; z3 }
  218. ; You may be able to send headers and cookies after you've already sent output7 W) Z& p- h- e: r$ v: T
  219. ; through print or echo. You also may see performance benefits if your server is
    / `3 X4 y8 u3 J7 h" S
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 i! H! R5 C2 ?$ P
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 K$ y" v0 I$ _4 M& T, Q/ e) S
  222. ; reasons.9 u* M/ D+ k' ]+ T
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 P9 B4 r/ s' K: U1 v) |+ q
  224. ;   functions.
    $ A9 w) r1 k1 t
  225. ; Possible Values:
    ' l& c9 g5 a! h: k7 U
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)1 a# S, @0 o6 i: W
  227. ;   Off = Disabled( }3 m+ @+ D" D1 |5 \
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.) v" ^$ ], ^9 o
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI5 _5 O8 v( i3 M3 Z+ a1 \- @- k
  230. ; Default Value: Off7 L- C; s  x6 O/ J
  231. ; Development Value: 4096
    : o# H. I- ^/ }
  232. ; Production Value: 40968 F0 j, \0 F, ]# E% z1 A+ B
  233. ; http://php.net/output-buffering+ o! ~: S' w! ^+ w; e6 b
  234. output_buffering = 4096' H9 i) g6 [3 [2 _
  235. 1 y% N+ v- {2 J, [6 W2 _
  236. ; You can redirect all of the output of your scripts to a function.  For+ U# c* H  r" n0 R) a' g7 L
  237. ; example, if you set output_handler to "mb_output_handler", character
    . g, b7 G5 X% F4 h
  238. ; encoding will be transparently converted to the specified encoding.! P9 O; M7 y- [, I! b
  239. ; Setting any output handler automatically turns on output buffering.
    3 x+ o0 M# ^% Q. H( @9 u; ~- P
  240. ; Note: People who wrote portable scripts should not depend on this ini
    " J7 o. f) ]! _" S. l6 X
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; ?' N9 T6 L: E  ]' t# u+ K
  242. ;   Using this ini directive may cause problems unless you know what script
    6 i! |/ s) t+ ]8 u. W. t6 S
  243. ;   is doing." |6 E7 Q' f, J: c" K3 ]" e
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 Z4 B" C. P8 U3 v+ R2 N+ h: ^( [1 a
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    . b: z8 I% N& I8 G. `9 S3 f) [, [
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 n* A% ^$ i% P* v) a( W
  247. ;   Instead you must use zlib.output_handler.
    / _$ |% O4 a$ j
  248. ; http://php.net/output-handler
    3 V) F9 z( B& P2 Z# E( ^/ O) X
  249. ;output_handler =
    7 g* c: l( o* B/ k6 b

  250. & i6 D7 Y) q6 e2 h5 L; e
  251. ; Transparent output compression using the zlib library3 Q' v2 a( G3 o0 e) v" P7 S, G% ?( s
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ Q' I' M6 d3 O; x
  253. ; to be used for compression (default is 4KB)
    # n; l6 J9 d6 Y: x- _2 [
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP! k1 N) y# ^( I3 H8 Q
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    - e, i& Q0 q& V4 ?# K9 x- H) S
  256. ;   compression. If you prefer a larger chunk size for better
    * A1 ], K! O( [4 `) J" `' R
  257. ;   performance, enable output_buffering in addition.1 V9 e$ h' T+ V
  258. ; Note: You need to use zlib.output_handler instead of the standard
    $ R! d# \: }' b3 o9 U+ T& m# p
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 `# P" a2 F* z6 ~9 A" z
  260. ; http://php.net/zlib.output-compression
    5 Q& W* L0 l3 n
  261. zlib.output_compression = Off
    7 K2 q/ p; j$ N/ i0 q

  262. ) }8 W+ E* w/ M0 q9 x5 T
  263. ; http://php.net/zlib.output-compression-level
    5 z: ]: s  }1 W6 X* T; S0 p8 b
  264. ;zlib.output_compression_level = -1
    % u% v7 O4 N4 E: o8 r& ?
  265. ' a0 R1 K# w/ Y- m3 E
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ) R) ~! s: h: C4 T) N$ Q( A( r& p* v$ S
  267. ; is activated here. This setting does the same as output_handler but in
    . O5 \, B- S; I5 p' ?2 ]
  268. ; a different order.
    4 e' C2 I& X/ `4 I, v9 ?+ W
  269. ; http://php.net/zlib.output-handler
    4 L- t' X! U$ _/ r. w
  270. ;zlib.output_handler =  y" ^. ?( v+ a2 w/ N: `/ `8 f
  271. ; o4 e/ o" Z$ X  v3 G1 t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself4 g' Y- |# p# A/ M4 ~
  273. ; automatically after every output block.  This is equivalent to calling the7 G, N  y5 s% H& ~+ j! ]
  274. ; PHP function flush() after each and every call to print() or echo() and each
    7 a& v0 _$ F1 O
  275. ; and every HTML block.  Turning this option on has serious performance
    9 ^4 {# M' q4 y0 r( E( v# U! _
  276. ; implications and is generally recommended for debugging purposes only.+ ?7 C- y  j+ m6 z  K* ^
  277. ; http://php.net/implicit-flush
    , c# y7 O  Q  v. l
  278. ; Note: This directive is hardcoded to On for the CLI SAPI* ]) k: n* v" I4 y3 s$ v
  279. implicit_flush = Off+ l- G  J  S0 s  Q8 M( g9 L
  280. 6 ?7 c- |/ g0 e, C
  281. ; The unserialize callback function will be called (with the undefined class'9 A. R  k, c# `) `0 N2 ?) @1 W# D' e
  282. ; name as parameter), if the unserializer finds an undefined class/ k2 T3 j1 H5 p6 U2 e/ |
  283. ; which should be instantiated. A warning appears if the specified function is
    , G# I; t  v9 F, b- q: E" N$ l' X
  284. ; not defined, or if the function doesn't include/implement the missing class.7 h/ `9 L4 x8 n5 P; M# S: `; u# i
  285. ; So only set this entry, if you really want to implement such a
    7 s$ a: S; _& }1 Y: P
  286. ; callback-function.
    7 P4 u: x7 Q, {6 @; c& T
  287. unserialize_callback_func =
    9 Z4 P) w3 F( ^9 J8 H0 g  O

  288. * w  L# c* [; ]: t4 X" j* A4 D
  289. ; When floats & doubles are serialized store serialize_precision significant
    % ~% F! q; ?- m0 }% n, s7 c. z
  290. ; digits after the floating point. The default value ensures that when floats- B# U# j# a% V3 p/ T" t9 U# u- ^
  291. ; are decoded with unserialize, the data will remain the same.
    * ~' ?; _% L& v: n. ?% n* b9 V* n
  292. serialize_precision = 17
    8 t) P  z$ \) [6 n! {3 Q- S/ I

  293. 6 x7 c' L9 M& ~
  294. ; open_basedir, if set, limits all file operations to the defined directory
    , r0 x) K" J% s% U! E- ^* S
  295. ; and below.  This directive makes most sense if used in a per-directory
    % ?+ \. l* G. q; V) D5 z
  296. ; or per-virtualhost web server configuration file.
    1 \) _( S/ L! q8 {/ w. d
  297. ; http://php.net/open-basedir
    3 \' b6 O- G, b3 m8 D$ A
  298. ;open_basedir =
    * F' B; |, B1 _$ o

  299. ) c6 a; |, e  ~& _9 @* f; K
  300. ; This directive allows you to disable certain functions for security reasons.' {/ A+ f7 F& o0 O
  301. ; It receives a comma-delimited list of function names.
    7 A- L" x% X& K) Y) _: M
  302. ; http://php.net/disable-functions
    ( ]' C  s/ W1 @
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru0 Y6 j6 A' a; ~1 [1 O: R  \3 u
  304. , X1 S) W! H+ C0 B3 I9 f' W+ _
  305. ; This directive allows you to disable certain classes for security reasons./ b$ W7 D1 I6 x1 F
  306. ; It receives a comma-delimited list of class names.
    # e& F6 k& R8 j$ G9 \
  307. ; http://php.net/disable-classes6 r7 D9 c: @5 [! E& Q
  308. disable_classes =8 a; l, o: u. Y7 J

  309. 3 u' n, g$ \9 {. N/ e! I0 l8 {
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! v1 m3 C% x' ^* `' X5 R: A7 e
  311. ; <span style="color: ???????"> would work.
    : a; w" H  R( A1 Z
  312. ; http://php.net/syntax-highlighting# a  @- g0 k* ]* V& P6 t5 J
  313. ;highlight.string  = #DD0000
    ' e$ Z2 v6 w' \0 A7 e
  314. ;highlight.comment = #FF9900# c( ~$ J6 s' w3 k, {
  315. ;highlight.keyword = #007700
    & h9 j) y$ J0 z
  316. ;highlight.default = #0000BB
    , D% m- s/ c9 N- d( y) n5 `
  317. ;highlight.html    = #0000003 V; n9 ]  a9 A7 @6 _

  318. ! x: }3 L# H, `6 W
  319. ; If enabled, the request will be allowed to complete even if the user aborts' z. u" p. z7 r4 L
  320. ; the request. Consider enabling it if executing long requests, which may end up
    6 x* Q4 w2 J) ]" J2 `0 @$ `
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    4 V! A' E8 m/ A/ z  H4 c$ w
  322. ; is to disable this feature.1 q) X- c( [* e/ K! X1 }$ G
  323. ; http://php.net/ignore-user-abort$ v9 s' p2 d! p/ G9 \7 T
  324. ;ignore_user_abort = On, n! z, K0 S  a( U/ u
  325. 8 s; U8 K! U4 c
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    8 [! T" [& m+ U0 V- d' B. A% g7 g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of. D. O8 h+ f; i' F: x) t
  328. ; the file operations performed.* R1 Z4 c* H' r: g' F
  329. ; http://php.net/realpath-cache-size
      t$ c6 o* b, `, D# M
  330. ;realpath_cache_size = 16k  y* |0 h  n9 Z
  331. ; _0 \  G6 u* `2 r, P0 x! g$ s
  332. ; Duration of time, in seconds for which to cache realpath information for a given/ t! O' m1 |+ y" ?, v; l+ @
  333. ; file or directory. For systems with rarely changing files, consider increasing this- S+ X4 O" Q. S- R  p% h6 J
  334. ; value./ O$ w4 S4 g1 S7 ]
  335. ; http://php.net/realpath-cache-ttl# N/ b- A! O+ h2 i8 _
  336. ;realpath_cache_ttl = 120* c8 W/ @: E) f* W( d# `
  337. 9 o2 z# y; Z* I3 a' E, A5 n( D) @
  338. ; Enables or disables the circular reference collector.* C; J2 c* k& l9 G% L) J+ W
  339. ; http://php.net/zend.enable-gc
    % Q, C2 w' t9 V+ c) ~8 z( G
  340. zend.enable_gc = On6 Z6 C$ s! R4 o! c

  341. ; Q, z+ q+ |! {$ t1 t4 ]
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    1 @: T# f* ^1 F. Z( u8 r. J- |7 u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# y7 ?8 w7 l( D1 l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    " }- K) p. d) _4 v
  345. ; Default: Off  T2 W1 y* j' T; F: I
  346. ;zend.multibyte = Off8 O0 A: W% c( R# o8 O8 }2 p! d

  347. ' p+ m% y* y1 l+ Y* R
  348. ; Allows to set the default encoding for the scripts.  This value will be used# s, a$ Y1 w% S
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 m1 C0 [) I4 l6 S9 z3 U# f' U
  350. ; Only affects if zend.multibyte is set.  d1 z! {. q, Z# R. J0 e
  351. ; Default: ""
    ! e' q* E0 Z: O0 m
  352. ;zend.script_encoding =
    ' E! U9 Q" w  ]; T% {2 a# s

  353. 0 D7 J4 R' k% a' A! P. L" _; L  p
  354. ;;;;;;;;;;;;;;;;;
    / S- z  u8 f9 d$ y4 W
  355. ; Miscellaneous ;
    ! B# ~' X) n) j
  356. ;;;;;;;;;;;;;;;;;
    2 W9 i3 T( m, G6 X! O
  357. % ?+ F# P: x$ G% R* e
  358. ; Decides whether PHP may expose the fact that it is installed on the server; r& h! X- z4 y7 R
  359. ; (e.g. by adding its signature to the Web server header).  It is no security! O% b% r2 a# _7 f0 x$ b2 v6 ], Y( B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP# r3 \6 F  Q4 `  K9 S
  361. ; on your server or not.
    0 a; a3 M6 L. s/ E0 Q8 w- A/ H
  362. ; http://php.net/expose-php
    & Q) h+ I/ D) C
  363. expose_php = On
    / o( \( ?9 y$ j% E1 V* X

  364. 5 n/ O8 N( H/ L
  365. ;;;;;;;;;;;;;;;;;;;
    " D" q# ]% Z! a& X- I+ {; f2 y- ^) G
  366. ; Resource Limits ;
    3 w5 \1 `. w- W% ~! B
  367. ;;;;;;;;;;;;;;;;;;;. Z; o+ f3 x( X

  368. + b. s+ u( N; x8 x( g
  369. ; Maximum execution time of each script, in seconds" c! s$ E; v1 B, z& Q6 B
  370. ; http://php.net/max-execution-time! t8 h! h& K( y* ^2 @5 |
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI2 O" {# Z" B, @
  372. max_execution_time = 300  z2 I: m7 h+ g0 d  w) S
  373. ( D0 ^) v; Z8 }+ d" t# F+ _+ d* a
  374. ; Maximum amount of time each script may spend parsing request data. It's a good0 N; m: l& k" c2 ?9 C
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ g; D# [3 E: a( w9 o; c7 {' E
  376. ; long running scripts.+ w- W) A  [& \0 w. B5 t$ W
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 U5 K/ E5 M+ D: l+ T
  378. ; Default Value: -1 (Unlimited)7 o! |6 W) M4 ~& t7 c+ K, l3 C5 B
  379. ; Development Value: 60 (60 seconds). ?6 y" ]" ]2 V$ \  ~* P1 y
  380. ; Production Value: 60 (60 seconds)
    & K& ]9 v* \  S
  381. ; http://php.net/max-input-time$ Z3 {/ X, ~6 \9 L6 K( I$ G1 t# v9 o
  382. max_input_time = 60* R: ~5 B9 k8 Y2 E2 Y
  383. ! G* T. z2 }' f5 `( `; F7 f
  384. ; Maximum input variable nesting level4 ^8 Z0 }* ~6 E+ k; y+ G
  385. ; http://php.net/max-input-nesting-level9 X$ f. l& \2 f  Y" Z$ r1 l
  386. ;max_input_nesting_level = 64. U+ \# l) U( ^/ v. z4 B9 L

  387. , B% W9 ?5 V1 {3 T, x% l
  388. ; How many GET/POST/COOKIE input variables may be accepted
    # Y3 l  k, T5 k0 t5 ?. l
  389. ; max_input_vars = 1000
    7 N( B& x; P2 Q4 Q% a. @2 d

  390. , j$ y3 ~/ e% `/ J2 d
  391. ; Maximum amount of memory a script may consume (128MB)
    5 V/ Y8 h& ?& E
  392. ; http://php.net/memory-limit
    * e$ O2 H1 e# O) E( [& N' Q1 V
  393. memory_limit = 128M7 j9 R! l, l/ Q3 j3 ~
  394. ( r' c- D1 x. {
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! B- N  T% t- N) g- |
  396. ; Error handling and logging ;8 Z, y8 Y' T) j
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# j0 `& \) U% z+ D8 H' J, V7 `
  398. 6 F* C5 s0 ?' m# W8 J
  399. ; This directive informs PHP of which errors, warnings and notices you would like1 K! ~3 }" G: p: K9 I8 K
  400. ; it to take action for. The recommended way of setting values for this" f/ ~& H! j# L: u
  401. ; directive is through the use of the error level constants and bitwise
    7 _0 e/ u8 ?1 G7 [% i: ?/ h' `
  402. ; operators. The error level constants are below here for convenience as well as
    4 L( \  J$ s8 N) H  b9 x! r
  403. ; some common settings and their meanings.. j8 V7 Q( |8 \
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 @# R% t+ t" c5 Y9 G( Z1 h* d; S
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ u' n- d4 K* [0 @. y
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    + m; [# c5 z6 d* \: B
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 u! k) E5 P. |8 o9 e8 [- M: X
  408. ; resources complaining about best practices and coding standards. That's what
    7 F1 z  I8 W- |1 W4 ?" A9 _
  409. ; development servers and development settings are for.
    : p! l0 ?0 @; |6 w, X
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( m8 g  S/ A2 R- M  B
  411. ; means it pretty much reports everything which is exactly what you want during
    ) X: J$ o. U; j2 V- J
  412. ; development and early testing.
    . @2 L: P' o5 F% V8 p) j: {7 c
  413. ;
    9 U+ o8 F) X6 |9 G
  414. ; Error Level Constants:
    8 P9 {, K0 [8 U" q& W
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)! Q$ ^2 d) d& w; ]# V  l
  416. ; E_ERROR           - fatal run-time errors
    & r" E4 C1 Q* B$ J8 I" [. q# p
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ H; v3 [8 p# J; P
  418. ; E_WARNING         - run-time warnings (non-fatal errors)4 M0 P( W9 W9 p% E' A
  419. ; E_PARSE           - compile-time parse errors2 c+ r- Z, I% ]3 Q/ H  d
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & g9 o/ Y! g8 H  E( h  T6 D" _
  421. ;                     from a bug in your code, but it's possible that it was6 P5 `; {; f. ~  Y$ x
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' A  C* ]1 O5 U' T
  423. ;                     relying on the fact it is automatically initialized to an3 F3 R6 g& m' s$ i8 l& T/ c
  424. ;                     empty string)0 k7 @1 `  \6 E5 J. x2 U( u2 z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( b5 W0 m6 _' Q' p
  426. ;                     to your code which will ensure the best interoperability
      c: k$ x9 a. n, [8 R# t) X; [
  427. ;                     and forward compatibility of your code" n3 |' `: U8 G2 P+ j4 U
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    + O+ E+ y3 B/ M" G* o
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      P: X7 ^3 k) e8 u3 T
  430. ;                     initial startup% U) h! ?% C9 N$ Q* D8 x
  431. ; E_COMPILE_ERROR   - fatal compile-time errors3 j/ j% V; i+ W2 o" f3 b2 W# I
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 y8 C8 C  Y$ M- O3 D5 `- x
  433. ; E_USER_ERROR      - user-generated error message# |% w% A  T/ X& T, J" L7 P, F' U
  434. ; E_USER_WARNING    - user-generated warning message
    ' T( v9 [+ ?- t) S
  435. ; E_USER_NOTICE     - user-generated notice message7 S: T8 y# h$ i* u2 x2 c
  436. ; E_DEPRECATED      - warn about code that will not work in future versions9 c3 |4 _+ n. S7 q: ~: n: K
  437. ;                     of PHP
    6 U6 x% Q5 Z/ \! o" C' \' m" j: [
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
      G! ]/ U! _3 W! Z  O3 B. M1 v
  439. ;/ B6 M5 y' _* e) g; ~- Q# n
  440. ; Common Values:( o' N) l# f* W- @" W
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    4 q0 D: }2 B/ W1 ^2 W8 x
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)+ T# y+ q) ?- X" ^3 o
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)% X4 ~1 \: |# y" ~" w$ y
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)( H: S5 K9 }& ?- Z/ }
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) Q* `; @/ j# O! D6 a1 r2 R! H; N
  446. ; Development Value: E_ALL
    0 _: J  a) a7 C& c, i6 k
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 G' }$ i1 Z7 n5 G  W
  448. ; http://php.net/error-reporting
    5 F* V) E+ B0 D- E
  449. error_reporting = E_ALL & ~E_NOTICE# Z3 H5 A9 g/ E! Q; N  y  X$ v/ w

  450. 0 T2 d: I6 Q; O# H
  451. ; This directive controls whether or not and where PHP will output errors,& N7 M" o, [1 |, [, M
  452. ; notices and warnings too. Error output is very useful during development, but3 W7 e" F2 c6 f7 |3 ~# |& p
  453. ; it could be very dangerous in production environments. Depending on the code3 m5 h# T; \6 Y  ~! h8 `$ P
  454. ; which is triggering the error, sensitive information could potentially leak  f/ @: [) L% S6 {5 T! }7 z
  455. ; out of your application such as database usernames and passwords or worse.5 t  r' X& d- r8 ^1 \1 b& f/ v
  456. ; For production environments, we recommend logging errors rather than$ s& r$ m* z0 _! p9 d) B
  457. ; sending them to STDOUT.6 U- w5 |  i8 `6 Y- A
  458. ; Possible Values:* d/ q0 @# ~* i
  459. ;   Off = Do not display any errors9 j% Z6 _; ?( p
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ; q; [: Y: s; o
  461. ;   On or stdout = Display errors to STDOUT1 o+ {; J% r. ~; S& x3 n4 T
  462. ; Default Value: On5 W- I" t" {$ p. J" \1 d: m
  463. ; Development Value: On
    5 {! }' }& f5 C' ~' |
  464. ; Production Value: Off
    7 R$ Z! L* F: V1 ?* P0 p
  465. ; http://php.net/display-errors( j1 [& I. B5 I
  466. display_errors = On
    + T! S- F" n4 V4 Y7 M4 ]% l

  467. + i$ h& d: ?: d& W0 M4 b) A
  468. ; The display of errors which occur during PHP's startup sequence are handled3 y6 S$ [; t4 h2 H/ J/ g
  469. ; separately from display_errors. PHP's default behavior is to suppress those; g+ _$ M: S2 n
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    & w( p* w  Q. v
  471. ; debugging configuration problems. We strongly recommend you
    $ x" H' c1 B7 q& g4 N( k
  472. ; set this to 'off' for production servers.3 t# l3 Z: p; E7 }: A
  473. ; Default Value: Off2 ^. N5 J( F+ z2 b4 T0 h0 m- Q
  474. ; Development Value: On1 M( Z* d3 M8 O& Z5 {1 @2 ?
  475. ; Production Value: Off
    : s7 K, W  ?! A& x6 e
  476. ; http://php.net/display-startup-errors
    1 R! q! ?; {( [" {& {
  477. display_startup_errors = Off/ S- z# c$ A: b/ I2 u9 p6 K
  478. & ~7 h, @* c8 b) Z5 Z) V8 ?; H
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    , _9 \6 D7 B9 s! g" `
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ) V/ V, E) ^8 ?& n8 Y' l
  481. ; directive found below. While errors should not be displayed on productions6 u' X: m0 |* j: B
  482. ; servers they should still be monitored and logging is a great way to do that.
    . N+ E# Q* W* i' u& V6 L
  483. ; Default Value: Off
    % Y4 d+ i% T6 E+ i& l
  484. ; Development Value: On
    & j* n* {+ Q% C9 s: }- ]* B2 P
  485. ; Production Value: On' i# j& p# R: t* Q9 Q$ ]1 I
  486. ; http://php.net/log-errors
    / {; e# V& o/ q$ D& i& k0 i/ I* X
  487. log_errors = On3 R( J$ T3 _. D, V

  488. + j- B# X6 z; J: n0 s
  489. ; Set maximum length of log_errors. In error_log information about the source is. m+ V# q, V( I- F* G/ r$ r( H
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    1 k1 }& y* {$ r; A
  491. ; http://php.net/log-errors-max-len( t) g2 k; N' @1 S9 ]* [5 z* n% t
  492. log_errors_max_len = 1024
    , R& o" w1 R" n

  493. . M( y- }+ F3 \" ^2 t2 @
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same0 k2 b4 O, O8 M& R0 N
  495. ; line unless ignore_repeated_source is set true.
    2 Y( x! a* s) q9 y
  496. ; http://php.net/ignore-repeated-errors
    $ l& X) v9 x6 d' D2 O9 }
  497. ignore_repeated_errors = Off7 K% s! |, _% ]; R' `# }( l' ]

  498. % l1 _' {: E* N0 |* `
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    % h, A! v, s! f
  500. ; is On you will not log errors with repeated messages from different files or
    6 ~& y' |% U* F1 }  G: u
  501. ; source lines.
    8 k8 N! t% O4 u$ X, v7 F* \; I
  502. ; http://php.net/ignore-repeated-source  ]. _: s5 ^2 Q- _' Y
  503. ignore_repeated_source = Off
    ' C3 o! E/ C0 T2 ^$ [* x8 {

  504. 0 a$ \% D) g2 ]/ K
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
      z# d/ j4 c+ B/ z
  506. ; stdout or in the log). This has only effect in a debug compile, and if% ~* H6 V3 s. y
  507. ; error reporting includes E_WARNING in the allowed list
    $ t0 T0 }3 M4 D: @' B* M6 v
  508. ; http://php.net/report-memleaks
    $ w( D& ^2 ]6 Q# u2 e. s$ u6 x
  509. report_memleaks = On' B( E: Y$ @% o. t" Y! V
  510. $ g0 _2 Y; Q1 `) z+ u
  511. ; This setting is on by default.- n5 l! H, N3 N! Z3 T
  512. ;report_zend_debug = 0- d% M& Z- H0 Z" N. s, |5 Q- Y

  513. 7 W/ C0 ~  k8 A! W
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    & X. x$ e9 K2 D) ~/ F4 M6 b) C' U9 ^
  515. ; to On can assist in debugging and is appropriate for development servers. It should9 \4 [- T4 u4 l) ]
  516. ; however be disabled on production servers.
    , `7 Y; Y5 H9 `& [6 r4 M) u# K8 |
  517. ; Default Value: Off
    7 i  ^# `7 I* M0 K3 A, M
  518. ; Development Value: On
    / o8 O( b3 n- Y2 R2 f  W3 S
  519. ; Production Value: Off
    + {8 |7 z  T$ }" p/ k
  520. ; http://php.net/track-errors
    & ?" g/ C6 s/ `9 m5 _3 j
  521. track_errors = Off1 w" `- p; I* J, H
  522. * u+ j* |9 ^6 D/ D- ]5 ?% R5 H0 S
  523. ; Turn off normal error reporting and emit XML-RPC error XML& b7 A' A5 U" |
  524. ; http://php.net/xmlrpc-errors
    : [+ U; u- J3 U& S" c2 m: q
  525. ;xmlrpc_errors = 09 D4 Y* \; J: z1 H' P

  526. # p* R( n$ I# x
  527. ; An XML-RPC faultCode7 W* z( R& W  D$ S: S! c: M
  528. ;xmlrpc_error_number = 0. W& d1 ?* O. ~2 I
  529. 0 q$ A. S+ R. ]( ], }- l' `& y# d
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    3 e* ^: q0 i! z# Y( R% u
  531. ; error message as HTML for easier reading. This directive controls whether  U4 b' [) }9 |8 a5 X0 O, u3 f
  532. ; the error message is formatted as HTML or not.
    8 }9 u/ W% Y9 U6 r; h
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) ]. \; T: l0 B/ Z
  534. ; Default Value: On8 w' e- q9 R  |! k6 U0 o; u, M
  535. ; Development Value: On+ J1 t! y7 t- W2 t: T% e" h% z" G
  536. ; Production value: On3 I* h' |" \: z' A' E; @* d2 @
  537. ; http://php.net/html-errors
    4 t/ y6 ]7 n3 T3 F( g5 R
  538. html_errors = On* o4 X% j9 D$ b) p  m
  539. 6 t! I. P7 F9 o/ e5 B  Y* g( E
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ( |2 o7 F- G4 ?: N0 F
  541. ; produces clickable error messages that direct to a page describing the error
    1 R2 o4 S/ m& B% ^, W4 G
  542. ; or function causing the error in detail.4 M8 W- |4 y( L3 h# F
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ! i5 l9 W$ a& p9 l# W: V) _7 n* T
  544. ; and change docref_root to the base URL of your local copy including the4 h6 k& ^, M2 D* c
  545. ; leading '/'. You must also specify the file extension being used including$ I* |5 w: N+ k# j9 S' z0 z& U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    8 Y0 S1 T. Y& A3 ^4 m7 X4 e
  547. ; case no links to documentation are generated.
    - b. F9 B' e+ |3 I1 J
  548. ; Note: Never use this feature for production boxes.
    7 P/ f, G+ I( Y& y1 p
  549. ; http://php.net/docref-root
    4 O- [4 r8 ?: f
  550. ; Examples
    0 f* i2 K( U0 h. `
  551. ;docref_root = "/phpmanual/"
    , G/ ]% C; }& b3 C
  552. ( }, j+ k% P2 ~
  553. ; http://php.net/docref-ext$ l* C* z$ Q$ J5 ~
  554. ;docref_ext = .html
    # S" M7 L  p; E9 |- d
  555. 9 Y8 r( B: I7 g4 U- u; C2 h8 @2 G* ]1 A
  556. ; String to output before an error message. PHP's default behavior is to leave
    3 t( J0 w/ g( V/ L( D
  557. ; this setting blank.4 W7 v1 K$ q7 o* j4 G6 v
  558. ; http://php.net/error-prepend-string, y3 S; b& s; u
  559. ; Example:" V, p% o7 g/ M, I& F
  560. ;error_prepend_string = "<span style='color: #ff0000'>"; p0 n. ]; G, W) E8 Z

  561. 5 u' x+ c8 K' h7 T0 M$ E
  562. ; String to output after an error message. PHP's default behavior is to leave8 F7 M* z. R# }2 \2 _" |+ n0 Q
  563. ; this setting blank.
    ; c% {) p) g7 o4 D- T
  564. ; http://php.net/error-append-string
    2 O: w2 f8 O8 ]( N# i
  565. ; Example:) K& p/ L1 s7 R- G
  566. ;error_append_string = "</span>"2 v' S- I: j1 N
  567. ) {+ J8 u9 W: B/ H
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ) [: K% o( d; m4 M: m( g
  569. ; empty.
    * I# @; u# r0 x; i; ]% C5 V: v
  570. ; http://php.net/error-log! T+ i% X+ d! {2 _5 N9 T+ n" P
  571. ; Example:
    / V! f  v# D* ^8 \
  572. ;error_log = php_errors.log6 T1 d: w3 }+ m/ z$ d
  573. ; Log errors to syslog (Event Log on Windows).
    ) \& u2 v  b: y% T( K+ v# t
  574. ;error_log = syslog
    ( J( y# s$ x; X! G1 C
  575. 6 o! B+ i2 @( z1 l, U
  576. ;windows.show_crt_warning
    % G" d& o! s7 n" y
  577. ; Default value: 0
    . k9 N: q2 [; @. s
  578. ; Development value: 0$ B3 V* ]# y0 j2 K) T/ v. [
  579. ; Production value: 0% I6 n1 g: E& d7 j+ n  }& |4 J; O
  580. # k6 e# M+ `! @
  581. ;;;;;;;;;;;;;;;;;
    ! y: _9 T- w6 `6 H  I
  582. ; Data Handling ;) w( U  K# m. G4 ]# o
  583. ;;;;;;;;;;;;;;;;;" A* r. x; ?0 l, ?
  584.   u, v1 d) E# P; L0 e' s
  585. ; The separator used in PHP generated URLs to separate arguments.( f! F6 d2 M/ V: P* c1 h* `4 P
  586. ; PHP's default setting is "&".
    6 d9 Q2 C* d! {' O3 ]
  587. ; http://php.net/arg-separator.output
    ; x# Y# A! r1 ?, ]4 Y4 C! `
  588. ; Example:3 [: F5 s. X' e
  589. ;arg_separator.output = "&amp;"
    2 R" Y2 n% t" K' d
  590. 2 {3 y4 x/ m9 X0 |: I. a8 G: v( s
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    : F& E% R# i) Q
  592. ; PHP's default setting is "&".- n0 M. ~6 Y& J3 a3 A, |, l
  593. ; NOTE: Every character in this directive is considered as separator!- q. n# F! S1 M* d" n3 e2 h
  594. ; http://php.net/arg-separator.input) ~/ p. Y: r1 s: z
  595. ; Example:, w! u+ ]+ B7 s. g( N
  596. ;arg_separator.input = ";&"6 y; J& H$ ^2 q3 A9 G) n4 |6 i. }

  597. $ P/ I( V  |  L8 l, j/ n5 A+ Y
  598. ; This directive determines which super global arrays are registered when PHP
    4 W6 P6 A8 t9 i3 G' D  e: r: U
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( P' A! E& g1 B8 |
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    3 T# x& ?5 f4 s3 z& n7 e4 o3 ^% K, R
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    7 p/ P+ t, Q' d
  602. ; used as the others, ENV is not recommended on productions servers. You* U. s- L/ L+ ?8 U0 {' V/ X1 L
  603. ; can still get access to the environment variables through getenv() should you3 I. J  O0 E$ g- j- M
  604. ; need to.! w& S6 I' ]! u! l( `6 n
  605. ; Default Value: "EGPCS") X# ]+ u: W: J! w) v  \+ {9 m
  606. ; Development Value: "GPCS"3 V, |, o. `! `4 _' b, B) ?6 Z/ N
  607. ; Production Value: "GPCS";
    4 p! C0 t  U' j
  608. ; http://php.net/variables-order
    ) ^6 J4 j2 v6 x5 d; L
  609. variables_order = "GPCS"
    ; _% p  B* F$ E/ e
  610. . @/ k$ g- F# S$ u, k2 G/ o; Y9 g
  611. ; This directive determines which super global data (G,P & C) should be
    # V- _0 k) ~* y4 d/ H5 r
  612. ; registered into the super global array REQUEST. If so, it also determines- z, B/ x3 a4 n' K
  613. ; the order in which that data is registered. The values for this directive
    / t: N# g: w; Y& ?" f8 B# \$ T
  614. ; are specified in the same manner as the variables_order directive,
      j7 D/ e9 B, p. e+ d  E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : p8 f3 z  j- O  }! o9 L7 D
  616. ; in the variables_order directive. It does not mean it will leave the super/ W; ]6 Y  r1 t' {$ S0 k
  617. ; globals array REQUEST empty.7 o1 g, e) k- X- P2 {
  618. ; Default Value: None
    3 Y0 |, D; |# u* C$ b  s* s
  619. ; Development Value: "GP"
    8 G; s* v7 f' T1 z0 ^; n
  620. ; Production Value: "GP"
    7 r, A4 b; X$ F: S/ j
  621. ; http://php.net/request-order! H* G  _/ f7 o% I: o0 v3 Z6 K+ D
  622. request_order = "GP") G; n1 _; A% P) o3 a! p
  623. 6 Z7 J. a# c6 W) I, ?
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    5 ]* C0 k! Z  A1 N+ [  _) ?# X
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script  Z6 I1 ?2 S% ?% N5 h3 F. \' Y
  626. ; is invoked. $argc contains an integer representing the number of arguments
    - l* X6 X3 T; w: O8 d; ?
  627. ; that were passed when the script was invoked. These arrays are extremely: n9 O* ]& v. F- u
  628. ; useful when running scripts from the command line. When this directive is4 O/ L9 Q& }* J, d2 t9 I7 r
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    # G& W  K8 K0 |: F; |2 m! Z
  630. ; a script is executed. For performance reasons, this feature should be disabled, ?* C. R6 D) [
  631. ; on production servers.
    1 A8 @, z/ M( v4 L" z! K" G
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - ?7 Q# B: r+ _4 E; o/ L0 W
  633. ; Default Value: On% h, m/ I1 `# }$ n& i: h) c: X0 D
  634. ; Development Value: Off7 E' {3 J  W, g* Z$ Z8 q. Y
  635. ; Production Value: Off9 x! T( a8 x3 j% {% R% b6 x; p
  636. ; http://php.net/register-argc-argv
    6 b* `: M$ k% o4 O
  637. register_argc_argv = Off2 X. @3 m* q, ?- P6 q

  638. # H( ~3 q; X( a- d# Q5 g- U2 h
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" h5 J4 p! }. r# I6 e) c1 Y
  640. ; first used (Just In Time) instead of when the script starts. If these8 c3 e  G3 |( i
  641. ; variables are not used within a script, having this directive on will result
    9 Q+ E6 \* f# ?- A$ e* X  ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 w/ b/ I) ]) O5 m% K  F: h+ Q, D
  643. ; for this directive to have any affect.) i, K5 {. C0 J5 i# l9 v; h( p) V
  644. ; http://php.net/auto-globals-jit
    - D: L) N* R: l' F) X: l# K
  645. auto_globals_jit = On
    ' H8 v- }* ]& I! p+ M& Q, W
  646. 0 m3 @/ h7 _  z' y3 h, J, I
  647. ; Whether PHP will read the POST data.
    . I) {; R, K$ J# B$ {
  648. ; This option is enabled by default.0 k' ?' W; z5 k+ r/ d1 T
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 @, s, Z7 x* Y% ]' ~5 e4 z
  650. ; and $_FILES to always be empty; the only way you will be able to read the% O+ P& e% M) f& \; K
  651. ; POST data will be through the php://input stream wrapper. This can be useful' s! @2 R" {8 v. e7 |* ^* H  E
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    7 d1 d, B: M7 a
  653. ; http://php.net/enable-post-data-reading3 i- M0 B& D" q6 X' t  A& j
  654. ;enable_post_data_reading = Off
    ; }5 s- x  D. B2 F* K

  655. 0 }7 t) r( ~, @3 L3 @9 Z: [
  656. ; Maximum size of POST data that PHP will accept.
    6 U" Z% N: }$ {7 W$ {9 ?8 }
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& @& q  {3 ]% y8 r
  658. ; is disabled through enable_post_data_reading.! K- D" d- B* `, j& W6 u9 h6 j
  659. ; http://php.net/post-max-size
    3 V- r" Z6 W# L; w, n+ _
  660. post_max_size = 50M
    ' ?) t* A3 t+ r8 n& K

  661. - u% ]& z; O% z  l; |6 R4 O
  662. ; Automatically add files before PHP document.
    + {3 ^8 e4 h( v% J
  663. ; http://php.net/auto-prepend-file8 f% f1 i9 n9 Y
  664. auto_prepend_file =
    0 I* G* U- ]) p* N# A
  665. : _4 c, X6 G6 t& V
  666. ; Automatically add files after PHP document.0 d: l, p% a+ J5 e
  667. ; http://php.net/auto-append-file$ s' c) ]" M8 Q2 j; \' v! g% S
  668. auto_append_file =4 s( c* ~% [* B9 M9 d9 e

  669. $ x, \# \9 w1 f$ t, r; S9 y* Y% p
  670. ; By default, PHP will output a media type using the Content-Type header. To
    8 t9 f: g* _5 l1 C2 X
  671. ; disable this, simply set it to be empty.- V; v" r8 \' F0 y+ S2 {9 Z
  672. ;
    ( o1 V. Y- m- o2 z, g- d
  673. ; PHP's built-in default media type is set to text/html.
    " c/ b. a# A8 O! }
  674. ; http://php.net/default-mimetype, m9 }& r1 g# B, z( C
  675. default_mimetype = "text/html"
    4 C0 _# m( \0 {  f/ Y
  676. 0 y3 M1 \4 `" X( A- Q, u, A( l
  677. ; PHP's default character set is set to UTF-8.
    . H" N3 g; }5 j6 @
  678. ; http://php.net/default-charset
    0 x% [3 q$ K" q: y: L
  679. default_charset = "UTF-8"
    2 N$ m0 h- I4 E/ I7 r- K) Q
  680. 3 @2 I4 q; c" X" z/ a
  681. ; PHP internal character encoding is set to empty.
    9 e5 R' f; c4 M! X5 J( X, m' W6 o# N: b
  682. ; If empty, default_charset is used.
    ! O, H3 v- i& t2 W
  683. ; http://php.net/internal-encoding. K0 B! F: t: b! y% X
  684. ;internal_encoding =
    * @7 M/ |% ?* X9 J! }7 r6 l; e
  685. 2 y  H; U! T' J$ g& g
  686. ; PHP input character encoding is set to empty.
    " O, Z- S5 G! y2 U, S" n; C
  687. ; If empty, default_charset is used.
    ! h$ V% z, U, n9 n
  688. ; http://php.net/input-encoding8 k7 }9 g8 Y, U2 z
  689. ;input_encoding =
    ' V4 M0 O, [9 a; s
  690. ) o& e! ]1 e( d- p
  691. ; PHP output character encoding is set to empty.
    1 ]* j$ |+ b& s) R( Z
  692. ; If empty, default_charset is used.
    ! a( ^+ k9 V, A. X, L, t
  693. ; See also output_buffer.
    4 d7 m' A% z9 \' E
  694. ; http://php.net/output-encoding+ ]8 w  o0 f! n* w2 B0 z
  695. ;output_encoding =. S7 J9 F; m, W* z4 K8 m  @

  696. * M; [# h" R% K& E
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    / `. M  W: ~+ z! k( D! i
  698. ; to disable this feature and it will be removed in a future version.
    2 d# v: s; C. y7 q0 j2 O3 e
  699. ; If post reading is disabled through enable_post_data_reading,/ Y3 C3 W7 f' n
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ! S9 p8 a3 K* f( S
  701. ; http://php.net/always-populate-raw-post-data
    ) i3 \- @$ L/ e6 ^* U7 e
  702. ;always_populate_raw_post_data = -1
    " z. `- U( c  S  b% Q/ J. H: ?
  703. % c4 [) w9 w6 I7 p- W
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + {  _/ t- t2 `: q
  705. ; Paths and Directories ;; G5 }+ }: X5 R, J% x. G
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # E  ~8 m5 c; O4 p
  707. ) L2 s: O0 R/ T/ W
  708. ; UNIX: "/path1:/path2": N/ s8 s' W8 O  T2 W# k
  709. ;include_path = ".:/php/includes"
    8 u# o5 U* m4 p$ @! H. I2 M
  710. ;, O  G6 H3 |, f
  711. ; Windows: "\path1;\path2"% P$ z" @& W! F% l
  712. ;include_path = ".;c:\php\includes"4 I, P+ z- ^6 b( d$ R
  713. ;
    - n  q& a; |4 |  S
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ n: a: }) x8 e) N/ D
  715. ; http://php.net/include-path
    : A+ f# U" q- v# u+ I
  716. & Q2 J% h2 T: s, H
  717. ; The root of the PHP pages, used only if nonempty.
    + Y" x6 i* c7 l5 s1 n
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root! G  \1 [2 u/ ]8 B
  719. ; if you are running php as a CGI under any web server (other than IIS): ~2 ^& R) C9 c+ N4 C
  720. ; see documentation for security issues.  The alternate is to use the' m9 U. _# ?6 [) a6 ]4 r) x8 a* U
  721. ; cgi.force_redirect configuration below2 H4 q- H3 ^+ }
  722. ; http://php.net/doc-root
    8 F$ U+ o/ g, U4 e7 {- [1 @% G
  723. doc_root =
    0 b. p4 o+ Q3 o+ }' f% e  _; C

  724. ; U! {! ]/ F: \; E# ^% h% e# ^
  725. ; The directory under which PHP opens the script using /~username used only$ J5 b$ k4 B$ \) v  E0 u
  726. ; if nonempty.
    & E) I7 z" ?" K$ R; P4 T+ b! ]: a
  727. ; http://php.net/user-dir
    $ x6 z) K# }8 g+ R. Q! r! p
  728. user_dir =+ u8 H  E" P+ m4 F0 L  b
  729. , v3 T- C* d: ^
  730. ; Directory in which the loadable extensions (modules) reside.
    6 g! A. [8 a& Z# ~) Y+ t
  731. ; http://php.net/extension-dir
    . `' y0 a5 c  t2 F0 F. L( ^9 a- e
  732. ; extension_dir = "./"* ?* N8 n* v* s8 L% E& d
  733. ; On windows:+ l5 F& ?+ X, e/ c6 F3 }; p
  734. ; extension_dir = "ext"
    % W7 V, X& J# i% u* @$ `. a  T7 k

  735. 4 q* ~$ ~; V, m7 k  f& A
  736. ; Directory where the temporary files should be placed.
    ! f$ N1 a$ L& @/ }3 ~. {
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ; t0 k; u% n9 }! T; O
  738. ; sys_temp_dir = "/tmp"# N# b8 s) j- O6 P$ e3 s

  739. % E# }8 V5 c( j9 h/ z/ u# ^
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work# a' M" g" i3 r8 k- u  {
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ |4 L( b7 {* @  b# y
  742. ; disabled on them.
    + f" I$ P6 E8 f4 t+ \- @, Y
  743. ; http://php.net/enable-dl9 K2 ?4 ]( E5 k' K# W: q5 R) X
  744. enable_dl = Off
    ! @: {: s  ?5 C# H/ Q* ]
  745. $ W" y5 B# h+ N
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 g: Y: Y: `+ t3 H3 G0 c
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can# ]1 w  k' h! V* p) Y2 ?7 t3 N) |
  748. ; turn it off here AT YOUR OWN RISK, J+ o) b% j8 _& T( H: J
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**6 r# j8 [% s5 [3 u" E6 R3 w
  750. ; http://php.net/cgi.force-redirect# }0 w, k0 c4 N" b/ S9 d7 x
  751. ;cgi.force_redirect = 1# \. m& l6 L# ?- P4 x) M
  752. 6 S3 i6 W& f* C/ H  l" F
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    2 R5 _- T- f) ], ~
  754. ; every request. PHP's default behavior is to disable this feature.
    . l9 f% \- f* l8 _9 M( g: _" R# u/ d
  755. ;cgi.nph = 1: J* G; N% ?+ b: B

  756. ( ~+ T9 X) U8 w+ t9 l1 w4 v
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape$ h! C- ?" Q& y/ N# f7 H6 T$ u
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " ^" H- g+ v) c8 d' d
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * I& U! c; W9 D
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& r1 e8 U' _1 E- A" a. h
  761. ; http://php.net/cgi.redirect-status-env
    . u$ ^6 |+ L7 k% V# n2 U
  762. ;cgi.redirect_status_env =. g1 i/ \: ^5 y! R$ u: h; f8 Y1 w
  763. ; [3 [5 r+ z5 i9 T& c  P
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 j; O0 u) ~# _/ u
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 F0 O0 J8 w; z' R2 [
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 z- O. }# w% D
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting  P) B; A+ ?0 a* ^, b6 b
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % h% U! i; K# c% \1 j; T
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 e4 o/ {3 _8 Z$ ]. T6 Y
  770. ; http://php.net/cgi.fix-pathinfo0 `. S0 S7 Q! Z
  771. cgi.fix_pathinfo=1; @5 V3 ^; W$ n: B6 x0 H' ^6 {

  772. - p0 d: f, d+ \5 u! ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    " L  `$ X( g/ Q2 m+ C3 T4 i) F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    - w; M% _& ~- T- e  D- \
  775. ; http://php.net/cgi.dicard-path
    4 s, c; g* c/ i
  776. ;cgi.discard_path=1
    : F& a2 q2 |8 z% J+ W4 p# S

  777. 9 S$ o. _, d% _7 Q9 F% t& u
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate  k" w# z" d* ?3 ?
  779. ; security tokens of the calling client.  This allows IIS to define the
    * M% n/ i5 }$ {$ Q4 x$ {- [
  780. ; security context that the request runs under.  mod_fastcgi under Apache* w0 Z; a( m4 z. J
  781. ; does not currently support this feature (03/17/2002)5 f. p8 o8 y. }4 O6 x; x, L
  782. ; Set to 1 if running under IIS.  Default is zero.0 P. u  C$ D" C
  783. ; http://php.net/fastcgi.impersonate
    ( @1 z; z& ~5 ?
  784. ;fastcgi.impersonate = 1
    0 f; f& i8 k: c+ I# n: f

  785. / i6 ]. g5 T8 p6 ?( y9 e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ P+ j( _8 l( m+ s( l$ a
  787. ; this feature.9 ]: {9 ?2 s, c& S6 @. O" s
  788. ;fastcgi.logging = 0% @  d( G0 O, u1 b* v% J+ l4 w7 P
  789. $ b( B0 b, }2 G  @; n; T2 L
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) Y$ i! {  y2 s3 S' K) I
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 h7 l8 j& ~0 ]1 V9 P( R
  792. ; is supported by Apache. When this option is set to 1, PHP will send- o' p1 A4 q" }1 V# D! F6 t1 P) Z
  793. ; RFC2616 compliant header.
    / u6 y+ N. G) ]
  794. ; Default is zero.) S4 D/ K5 O8 o& z
  795. ; http://php.net/cgi.rfc2616-headers
    # k+ t6 g8 M% y
  796. ;cgi.rfc2616_headers = 0
    . w9 ^' l; T* M

  797. 3 ~3 ?: u4 S4 A9 P' {7 _/ _
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: [4 M; u& B5 W% d
  799. ; (shebang) at the top of the running script. This line might be needed if the# M2 ~8 R- k4 n& V
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% a* O0 n9 J$ E; [
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ) Z0 v: O" Z! l; g
  802. ; http://php.net/cgi.check-shebang-line0 |( q* J3 p2 c! Z! q0 r
  803. ;cgi.check_shebang_line=1" D+ f0 i, `" X

  804.   N  }8 [+ M3 n
  805. ;;;;;;;;;;;;;;;;
    ; X( E+ V2 f' E& G. U9 k* L1 e2 |. z
  806. ; File Uploads ;0 I9 E+ V, Y- k7 S4 ~; W) |" i; F  {
  807. ;;;;;;;;;;;;;;;;5 ~% M7 H- l, g% b' _+ ?
  808. ' Q, V! L( a2 ?" S4 g, r
  809. ; Whether to allow HTTP file uploads.' A  S7 Y2 H6 m* L. Z* g+ P
  810. ; http://php.net/file-uploads6 f& {& I6 i/ E( C6 a; M
  811. file_uploads = On0 P7 d' v( \! g

  812. / K+ U7 \  J! s- _
  813. ; Temporary directory for HTTP uploaded files (will use system default if not  f% a4 ^& ]. Q1 I
  814. ; specified).& \. V( z# A  x
  815. ; http://php.net/upload-tmp-dir
    7 q. C3 n: T) i9 [
  816. ;upload_tmp_dir =% q' \, f$ {' ~9 Q/ g% q, D2 h

  817. : \  H/ q, W9 G2 V3 K( C# L
  818. ; Maximum allowed size for uploaded files.9 G2 ~0 t/ o* [
  819. ; http://php.net/upload-max-filesize) _/ z4 D3 n/ Z, J% W
  820. upload_max_filesize = 50M0 g8 N, Q$ ~0 d/ D  Q, d! G% O

  821. 9 m& P6 |/ s6 ~; L7 K0 n
  822. ; Maximum number of files that can be uploaded via a single request
    6 R  n2 |! w  L. g7 t9 Z, W6 Q
  823. max_file_uploads = 200 U# ?  ^3 U: h( _! e# q
  824. " I# N0 C" l/ t) g
  825. ;;;;;;;;;;;;;;;;;;
    6 n4 j1 H: e: a2 g
  826. ; Fopen wrappers ;
    3 V) c; q8 T5 e0 c0 ?4 I
  827. ;;;;;;;;;;;;;;;;;;
    + T* Z% D( W0 |: V- X! ?

  828. 3 [/ {6 q+ T; d( c! h- n6 V  ?  Y
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.4 _: ^& j1 ]& g: N4 ^
  830. ; http://php.net/allow-url-fopen+ a! m* K& v2 T
  831. allow_url_fopen = On* m# P+ @, Z- y+ V- k6 V( e4 k

  832. 1 o% p: ^! O% U& j2 K4 ]* v
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ! ~4 D7 @: j- |6 n
  834. ; http://php.net/allow-url-include
    1 ~8 H5 g6 ?6 Z4 q5 z" m
  835. allow_url_include = Off
    ( l  ~4 t( q7 K8 s  v# R

  836. , g, r5 L+ o1 `
  837. ; Define the anonymous ftp password (your email address). PHP's default setting, n. @0 `" e' m0 w7 W& p
  838. ; for this is empty.
    1 H! a4 M$ Q7 q* y
  839. ; http://php.net/from
    + w$ V& K; ]" d  R3 }) S2 |; v1 |
  840. ;from="john@doe.com"
    ! U& O: \/ G2 n. w

  841. - t$ k: f2 U( g, y8 `) j
  842. ; Define the User-Agent string. PHP's default setting for this is empty.# V5 @9 H4 I2 s, j+ w4 c& m0 j  x  I  Z
  843. ; http://php.net/user-agent
    6 V* E0 X' G) C5 O$ t' Y
  844. ;user_agent="PHP"
    5 W% |- C; v+ @$ M6 o$ N
  845. ( u9 T; D7 s5 e1 }# w' f9 t
  846. ; Default timeout for socket based streams (seconds)
      l9 z! b- @9 o$ W5 ]
  847. ; http://php.net/default-socket-timeout+ g$ h& g* C  G' i
  848. default_socket_timeout = 60
    ! i+ Q7 \2 Y9 \  c8 Q2 y% I$ }/ ^
  849. 7 V4 B: d: P- c5 h: T
  850. ; If your scripts have to deal with files from Macintosh systems,
    7 P# e3 c9 x! F1 l
  851. ; or you are running on a Mac and need to deal with files from8 W7 K  W7 Q8 [/ \  x5 u7 F3 D
  852. ; unix or win32 systems, setting this flag will cause PHP to# [% j  j! o* ]4 w& d+ P
  853. ; automatically detect the EOL character in those files so that4 n0 H  r7 I9 Y) ~! ~
  854. ; fgets() and file() will work regardless of the source of the file.
    & W9 n" {4 H' q: ^( |& k
  855. ; http://php.net/auto-detect-line-endings! F: o& d5 A& v
  856. ;auto_detect_line_endings = Off/ B7 W! ]! Y- N% L% s+ I; J
  857. $ m% v  R) b1 Q8 d% o3 r7 E  Y
  858. ;;;;;;;;;;;;;;;;;;;;;;5 n9 B) @5 H; u7 {( E2 ~( u5 T
  859. ; Dynamic Extensions ;7 @$ T: d( z3 {; \8 q4 q6 q8 D# V
  860. ;;;;;;;;;;;;;;;;;;;;;;
    + ?7 b6 s, z& _4 U; ^
  861. 3 h; s. X  s, F4 `
  862. ; If you wish to have an extension loaded automatically, use the following
    7 D+ \6 o6 \3 P9 c' H
  863. ; syntax:
    5 O2 r# d* |# J. x8 _
  864. ;5 }' o' C4 k4 ^$ j/ N1 n1 l( F. \3 W
  865. ;   extension=modulename.extension" q/ L. p: k3 R$ u- R1 {
  866. ;& G- ]! H- D: s1 Z' h9 l% w4 R
  867. ; For example, on Windows:
    , Z) \8 m+ C: f2 w2 v6 k
  868. ;6 k' Y3 |. L& |- [, S0 s+ d; f
  869. ;   extension=msql.dll9 q3 m9 r6 E, M9 X0 H) |: u3 r
  870. ;+ }5 w7 D5 E: }6 _3 y
  871. ; ... or under UNIX:! Y' n% q$ g5 k: T
  872. ;+ }" ?0 z" F9 u
  873. ;   extension=msql.so2 X6 }9 B, Q* c+ I$ A
  874. ;
    * i/ i# b! L: T8 l- C7 W% t
  875. ; ... or with a path:
    3 M1 R1 V" m4 u4 I* }. ?
  876. ;
    2 L6 M, C" \3 R! O
  877. ;   extension=/path/to/extension/msql.so6 j. j# g9 @( o/ O  j- u9 k( C2 M/ q
  878. ;
    . l6 y7 [' q6 _' [9 M
  879. ; If you only provide the name of the extension, PHP will look for it in its9 `0 p! p0 O; \- M) X
  880. ; default extension directory., v. I9 B* {& Y
  881. ;( e1 S  ]% C* w' X0 H' q( A
  882. ; Windows Extensions
    # i7 @$ i1 t/ T. \, G
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    % t& a) E' B; }, V$ a" Q
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)+ H4 \" ]9 c8 B. |4 r3 Y! c) E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).  n9 Z9 a8 |! P9 P
  886. ; Be sure to appropriately set the extension_dir directive.; G9 t/ N$ W  _( F' f# H& O
  887. ;
    7 R1 L- ]- v2 K1 U
  888. ;extension=php_bz2.dll
    8 H. @2 n' X" n
  889. ;extension=php_curl.dll
    & E0 `" }9 h% d2 n8 @3 h; X5 C
  890. ;extension=php_fileinfo.dll
    / V0 w) Q7 Y7 n" j, S
  891. ;extension=php_gd2.dll
    6 J: l; t. E" L% ]2 a! P# z
  892. ;extension=php_gettext.dll8 E* O& C+ V( D4 s4 F  C
  893. ;extension=php_gmp.dll
    ! q9 {8 c8 A- J
  894. ;extension=php_intl.dll0 Z: o  u& Y) {  b
  895. ;extension=php_imap.dll
    # @5 ^* p7 x6 F
  896. ;extension=php_interbase.dll
    / {) e. T& ^( ]5 y8 b5 w% K
  897. ;extension=php_ldap.dll% N" N9 v) W3 T( Q, L8 F
  898. ;extension=php_mbstring.dll6 j. Y5 k3 a2 i" Y  g
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    0 D: e  t7 O: k3 h  ?; H' |
  900. ;extension=php_mysql.dll% ^4 e$ z1 ]+ Q8 p
  901. ;extension=php_mysqli.dll( H0 m  d' G/ J4 z7 D( i$ U$ h: r
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 M+ g8 L2 g7 {  d* `* R
  903. ;extension=php_openssl.dll
    8 i1 ~5 F  s7 o7 ]2 }) w" @, F
  904. ;extension=php_pdo_firebird.dll
    1 F8 @6 V) w9 f( M( ~: K0 u  |
  905. ;extension=php_pdo_mysql.dll
    5 O7 R8 k3 x3 Y- S7 D2 ^8 Z  u
  906. ;extension=php_pdo_oci.dll8 C( j" S* x5 Z: L' k8 E" v
  907. ;extension=php_pdo_odbc.dll
    4 V1 p) x$ D; I8 ?# {7 j  L
  908. ;extension=php_pdo_pgsql.dll9 C: i# ^0 Z0 ?: I8 l
  909. ;extension=php_pdo_sqlite.dll+ T  \7 h) u; |
  910. ;extension=php_pgsql.dll
    % l) _" h% i4 o/ ~: ^
  911. ;extension=php_shmop.dll
    * h* {# T1 z& M0 z( ~
  912. ' m. Y2 c  q) [3 c
  913. ; The MIBS data available in the PHP distribution must be installed. 8 K7 E6 d" p0 J! U
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    / x2 X, k% C, @3 N9 H, R( S3 U* ]
  915. ;extension=php_snmp.dll3 H0 S4 S5 [$ t8 P

  916. % h$ I4 U- F' I- G
  917. ;extension=php_soap.dll
    7 t4 K& k5 |; b/ E* z( V6 ]% r# D
  918. ;extension=php_sockets.dll% [6 r& R  V+ m
  919. ;extension=php_sqlite3.dll/ ]8 K0 q. Q6 i. P/ y2 z
  920. ;extension=php_sybase_ct.dll0 C! `+ x% {  m& x2 g
  921. ;extension=php_tidy.dll$ n- x5 C* ]9 j
  922. ;extension=php_xmlrpc.dll+ P: i' J: V$ y0 K+ A! }. d; I/ c
  923. ;extension=php_xsl.dll1 E( ~: ~. Z% F- B+ X" w

  924. ) V. d) v- j6 A0 O# J2 i8 E
  925. ;;;;;;;;;;;;;;;;;;;3 P; n+ I, z8 `* b
  926. ; Module Settings ;. |7 f- f7 X1 h1 S
  927. ;;;;;;;;;;;;;;;;;;;& `: g+ m* i, d9 Z2 z2 M

  928. : B, R8 M; A) E
  929. [CLI Server]: l: \/ C5 x3 E
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ! }3 g: c9 g2 u1 w) F
  931. cli_server.color = On) p2 P6 g7 m4 L% X; R2 W) ]4 a8 V  s5 x

  932. 2 F" D& t) {4 |  Q0 D0 l/ ]  ~( W, d
  933. [Date]% O  U$ b- [$ S* P  J# ]: b
  934. ; Defines the default timezone used by the date functions+ ~& h0 E) C9 I) a  v( t, [9 i3 R! |
  935. ; http://php.net/date.timezone1 Z8 T% o  ~5 l6 g; ]
  936. date.timezone = PRC* {  T! K, m2 e, B- ~5 V3 I

  937.   ?) o- D, w) h; I% f' E
  938. ; http://php.net/date.default-latitude
    $ q2 C2 Y1 g- v# h) r
  939. ;date.default_latitude = 31.7667
    5 {7 x( P% O! S- ^, V* u

  940. ' a% v9 H. f, F, ]% S
  941. ; http://php.net/date.default-longitude
    9 r$ T3 n3 P9 X2 a
  942. ;date.default_longitude = 35.23339 m/ T9 Y5 j8 \. U: N

  943. 0 [5 b( ~- K" s! h/ K+ r
  944. ; http://php.net/date.sunrise-zenith8 k5 a1 Q# ], b* u
  945. ;date.sunrise_zenith = 90.583333
    . G1 u5 N4 q. }4 C0 P

  946. 1 N7 g" m9 x: P8 v5 {$ q& g! L. z9 w
  947. ; http://php.net/date.sunset-zenith
      B4 r% m) K$ O3 J1 o! q* a- O
  948. ;date.sunset_zenith = 90.583333, Y1 m+ U- ~9 O, e" X1 u' ?
  949. 5 c$ j. j% t4 Y9 J$ q2 N3 T
  950. [filter]* j5 [0 N$ U* d' l2 `/ L/ \
  951. ; http://php.net/filter.default) W9 Q- b* t  b' [  h( ?
  952. ;filter.default = unsafe_raw
    : w5 W5 ^( V9 [7 X
  953. / N! y/ ?3 i9 y6 K; M' v2 e
  954. ; http://php.net/filter.default-flags
    * a0 ^! K; t6 ?1 k
  955. ;filter.default_flags =
      o0 N. W, ?- z. Z+ O9 t
  956. * a8 R9 ]) S# A# \) `+ F
  957. [iconv]5 q6 B1 z( x) w) M& y, ?
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.3 }. }& h6 U& T& ~
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 G. L  ^; g) l* d+ F8 n* C
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 y, [6 v; `2 @; z+ r% D% q
  961. ;iconv.input_encoding =
    ' G  z3 x- j& i; V  c

  962. # e) ^4 Y. f: R  }  D. C" W
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 x* {3 _; B0 \- C. {
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( k( f7 v. K4 U, u% |
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    # R% @% |( \. K! [! z7 _9 `2 t
  966. ;iconv.internal_encoding =- [" H! F% T  `+ L
  967. . E2 P& G3 o( W
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.  u8 Y9 Y: f; Q, L
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.; s8 F' [, u1 Z4 H  R1 q; N
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # @0 }. g, S: u! f) S
  971. ; To use an output encoding conversion, iconv's output handler must be set3 }- c6 `% G) ~. d9 i
  972. ; otherwise output encoding conversion cannot be performed.
    * A# S3 R6 t8 V1 [
  973. ;iconv.output_encoding =
    5 R. r7 h2 H& l1 j& S9 U6 N- u
  974. ! ~; I5 X7 w, Y& M' k
  975. [intl]7 A$ D" v8 k5 O2 M# `
  976. ;intl.default_locale =
    ' m: D# g! |, k9 ]2 B; @
  977. ; This directive allows you to produce PHP errors when some error
    $ J/ R/ ~# x) |  V8 P
  978. ; happens within intl functions. The value is the level of the error produced.5 q1 a& Z0 ~; w( ]. v; v
  979. ; Default is 0, which does not produce any errors.
      N7 J4 J& V3 p) L: l
  980. ;intl.error_level = E_WARNING6 Z! N  }2 f2 E1 k
  981. ;intl.use_exceptions = 0
    0 T6 f2 z; F8 A' i( {
  982. & H4 \/ v; Q  ~2 p
  983. [sqlite3]& t" _; L' B4 x. I+ D) e: w
  984. ;sqlite3.extension_dir =
    ( ?% H  r& z  J; p- R' s
  985. 6 U- H* l/ {4 u; m0 ]3 g9 ]
  986. [Pcre]
    % r  ?# [  D& m! {  i; F
  987. ;PCRE library backtracking limit.
    5 s. k# U6 f. }5 f$ ^" U
  988. ; http://php.net/pcre.backtrack-limit
    5 I& F/ l* u2 l. U9 h
  989. ;pcre.backtrack_limit=100000" f' N! s' n8 z0 z/ y! n5 _
  990. 9 M$ n7 P& {+ I/ t& e2 Z
  991. ;PCRE library recursion limit.
    2 l" V. l8 f0 r( E) w3 ^7 w4 o
  992. ;Please note that if you set this value to a high number you may consume all
    0 D" ?6 R2 n2 u7 u2 i. O
  993. ;the available process stack and eventually crash PHP (due to reaching the
    6 V+ D. J9 h+ j% U) U, T- W! M
  994. ;stack size limit imposed by the Operating System).. l/ B. ^8 H1 |" g* ~  r' ?7 \
  995. ; http://php.net/pcre.recursion-limit
    3 Y8 s* \! R. r$ d' S! w
  996. ;pcre.recursion_limit=100000. T0 j4 G5 n+ G" d* H/ B7 J* w
  997. ) r9 ]5 ^* W: h) S8 w& C$ X1 r* j
  998. [Pdo]
    6 X9 R: W& Q8 _  C
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"/ E4 |1 b- E1 Y- K( T# `% Q% G
  1000. ; http://php.net/pdo-odbc.connection-pooling
    5 Z6 Q+ @# S$ ]: X, S8 ]  a8 J
  1001. ;pdo_odbc.connection_pooling=strict
    8 S- m8 ~3 F% |8 i+ g; v, T

  1002. , @# F- w, Y  |6 [" J0 Z" J
  1003. ;pdo_odbc.db2_instance_name
    ; [8 W" w" G2 s. z3 }

  1004. * X) H. m" ~& G5 e0 P
  1005. [Pdo_mysql]$ ?. j2 J) R$ Q: q! G
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) J  A$ w; i8 h  ^
  1007. ; http://php.net/pdo_mysql.cache_size- D: }% E- o/ d' }; ?" ~: a
  1008. pdo_mysql.cache_size = 2000: U9 s5 x  O' Y' l* n0 g5 K6 X2 T
  1009. ' r: r7 [! T7 O3 P. Z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in& ]+ k2 h& ~( ^  N& U( c3 ~, D
  1011. ; MySQL defaults.  J9 z; j9 ^) w' h9 L
  1012. ; http://php.net/pdo_mysql.default-socket
    $ K  r$ _' w9 C# F
  1013. pdo_mysql.default_socket=. s" R9 L+ L: ^7 b
  1014. 8 j) I( E4 |( r* r
  1015. [Phar]- x. n  n2 m" g& j
  1016. ; http://php.net/phar.readonly
    + _; s1 T4 V, d) }
  1017. ;phar.readonly = On- O/ o* i3 ?. t* y: v" G

  1018. / [; `% U/ y/ O6 Q3 d+ R
  1019. ; http://php.net/phar.require-hash* H# l2 P( W# @# J/ f
  1020. ;phar.require_hash = On
    " q7 Z  h4 w5 z6 Q/ T# W
  1021. & `2 l( c: w: G: b3 J' P+ G9 p
  1022. ;phar.cache_list =$ f2 n# d0 n0 @% F6 i) }
  1023. . j1 z/ {) S7 o" I; y
  1024. [mail function]
    % T9 v$ r$ v+ ~
  1025. ; For Win32 only.. v* {1 i/ S" ?  a$ h4 I+ p" D
  1026. ; http://php.net/smtp
    6 T; p  y! \7 V! c5 `
  1027. SMTP = localhost
    . w2 j2 D6 S' i+ W3 |5 {% t
  1028. ; http://php.net/smtp-port
    . j& f: {+ V7 ~- {+ i
  1029. smtp_port = 25- D& v# m$ e, s* v, \0 w( C

  1030. 4 [. D5 e$ {1 v3 p" S/ ^" C
  1031. ; For Win32 only.7 [, V6 O1 d: K( ?
  1032. ; http://php.net/sendmail-from& I9 P5 e6 x4 }$ o7 q3 z6 v
  1033. ;sendmail_from = me@example.com5 |9 C4 z/ x* m( I3 _7 L

  1034. 3 R+ M  G9 f, h, q
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 q* i6 V8 F, K" C. \# l
  1036. ; http://php.net/sendmail-path( Z- `9 Z9 b; M, Y+ W
  1037. sendmail_path = /usr/sbin/sendmail -t -i. ^" q# Y9 @1 ~' ]  f$ C

  1038. / @9 Z; {/ r7 v( |1 z% u
  1039. ; Force the addition of the specified parameters to be passed as extra parameters# @2 g  Y/ X) F7 l6 G. T) k
  1040. ; to the sendmail binary. These parameters will always replace the value of
    7 |2 O; h5 B5 s- y! {' d
  1041. ; the 5th parameter to mail().& n) e! C9 P- K% i( ~! M
  1042. ;mail.force_extra_parameters =0 Y0 W% R* W8 `6 L( V& {

  1043. ' \' U7 F7 |7 y8 _9 ~# P
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ; Q2 z, u" S, h2 x
  1045. mail.add_x_header = On
    3 I8 \1 ?& F* l; g% }- _
  1046. 5 `: T) p" k% K4 b! H
  1047. ; The path to a log file that will log all mail() calls. Log entries include, T, O8 t2 M0 J
  1048. ; the full path of the script, line number, To address and headers.
    . j+ t) a6 T/ L+ H+ j/ P4 w( ~+ W7 O# {
  1049. ;mail.log =
    * {4 D  x3 b) q5 p: a  _: z# i2 Q" V/ R
  1050. ; Log mail to syslog (Event Log on Windows).0 U! h' r2 T3 S9 L, o, W
  1051. ;mail.log = syslog' R, G, X! m8 M, I$ y( k; z

  1052. 3 |6 f, V5 B1 g5 w! E
  1053. [SQL]8 v" y8 Y! I  R0 L2 Z0 v
  1054. ; http://php.net/sql.safe-mode
    $ g1 }& @6 @  d& }( Y# \
  1055. sql.safe_mode = Off
      v) S; [  u* X' M3 [' @
  1056. ) j( Z; l+ y2 m5 e* C
  1057. [ODBC]
    4 J( C# ~( K. o. W; E+ {
  1058. ; http://php.net/odbc.default-db0 c: c* K0 s! G
  1059. ;odbc.default_db    =  Not yet implemented
    / {1 L+ `# I5 v
  1060. + t( o) ~! e6 F2 s! K( t
  1061. ; http://php.net/odbc.default-user8 q) t* z9 }* K$ e9 X& x" a
  1062. ;odbc.default_user  =  Not yet implemented! x1 z: B. W! E2 [

  1063. 7 F: a8 b6 z- Y
  1064. ; http://php.net/odbc.default-pw
    # P+ |8 s+ m$ T+ S- A- v9 w' d! i
  1065. ;odbc.default_pw    =  Not yet implemented* Q$ O4 W4 b0 p: f0 O* Z

  1066. " T- y( @) P0 l) l2 r, G' z
  1067. ; Controls the ODBC cursor model." d, `$ z' p& b7 V" E& T" u& k" ]
  1068. ; Default: SQL_CURSOR_STATIC (default).
    6 U! Z6 p! F2 M' K$ A. ^
  1069. ;odbc.default_cursortype4 I; P7 ?3 U; \/ w% _4 L
  1070. / h( w) S. m# A/ X* g
  1071. ; Allow or prevent persistent links.+ S7 Y* u  b; x, X
  1072. ; http://php.net/odbc.allow-persistent" m: c, M) r' J: c# L& C
  1073. odbc.allow_persistent = On
      m/ b. u) I- X5 a+ a% y
  1074. , c% ^' u/ c$ I1 h% D* Y. p
  1075. ; Check that a connection is still valid before reuse.) B1 T' I% }0 q; M2 E3 M
  1076. ; http://php.net/odbc.check-persistent$ P0 ~" F. t4 E+ q  Z, w
  1077. odbc.check_persistent = On
    8 a( {) m) n2 a+ J" r" z
  1078. 9 {! M: c7 k7 @1 O8 x2 ~
  1079. ; Maximum number of persistent links.  -1 means no limit.; f& n, w3 Y0 O( \7 @# s
  1080. ; http://php.net/odbc.max-persistent
      Y" j  }! ?+ A: q" f
  1081. odbc.max_persistent = -15 p: g$ a" c  a* Y) L  B

  1082. ) O7 q+ G3 @  j$ c% l9 k
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 f- Z* ]) y) D1 p5 v: _) S
  1084. ; http://php.net/odbc.max-links
    6 e4 w+ M% a' u/ y* Q; c% [: z7 {
  1085. odbc.max_links = -1
    ! T3 D6 w; X, N1 V8 }# B

  1086.   L0 q& s% A4 w1 G
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 B5 l) ~% m; D5 d2 ?6 _
  1088. ; passthru.
    " E5 N4 S+ g" f
  1089. ; http://php.net/odbc.defaultlrl' [4 e2 s! O4 P; w5 C+ J" o
  1090. odbc.defaultlrl = 4096/ z9 k2 T. `; x; s6 n
  1091.   }' A; Y5 K) E% u$ Q
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ( y! W$ z5 N9 H5 {
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- i3 L. @, K0 A+ Y; @7 i$ }& A8 L7 [
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode  A- H+ `# Q, U: ?& h
  1095. ; http://php.net/odbc.defaultbinmode
    $ D: P  {% q$ T% A. q: y1 a( W
  1096. odbc.defaultbinmode = 1
    / R% ~5 t+ y3 X

  1097. ) P( j" z" u; m" q( Q2 e
  1098. ;birdstep.max_links = -1$ B! a9 F0 A+ a( G5 H* ]

  1099. 2 C( v0 P! Z9 ~, x- m
  1100. [Interbase]
    # d0 I+ A) u1 s) L
  1101. ; Allow or prevent persistent links.
    $ ]  G" L; k, y3 Z
  1102. ibase.allow_persistent = 1
    $ {. o/ |0 r2 f5 A9 l

  1103. 4 h) g% t' {) @! f$ x6 J; d
  1104. ; Maximum number of persistent links.  -1 means no limit.
    6 B& V  M( {9 r- \
  1105. ibase.max_persistent = -1! b9 d: \6 k% b% r
  1106. $ V* G9 @' _" d- R" {
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& `, K9 s* c- p3 Y& |
  1108. ibase.max_links = -1# n/ K: l, h4 m# |  n3 G
  1109. 5 f; o5 }$ m2 d3 J
  1110. ; Default database name for ibase_connect().
    . K1 a; F. D( l0 a' ~# E
  1111. ;ibase.default_db =0 L2 y# E7 n& Y* t

  1112. $ Z0 z' P- Y2 ?( \+ T
  1113. ; Default username for ibase_connect().3 P& o+ s% c' J. x
  1114. ;ibase.default_user =9 e: W' K4 m) s2 ?, I
  1115. : M$ ?. V1 V3 y: r% b1 p
  1116. ; Default password for ibase_connect().# x4 _. D. H  d/ v. L4 L8 X
  1117. ;ibase.default_password =: k  M. f, M+ ], x2 x
  1118. * ]1 l1 U. h4 l0 ^0 g
  1119. ; Default charset for ibase_connect().- m* O0 w6 |# }" o
  1120. ;ibase.default_charset =
    4 t- ~( t3 k! y7 k: _+ i
  1121. 9 v8 s, T5 }& R# j
  1122. ; Default timestamp format.% _1 l5 W% }* a; [0 K: \, w
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S". `* r5 \4 t  V1 K4 t
  1124. ) a* E' t4 D( l
  1125. ; Default date format.# F* |9 C/ d! w
  1126. ibase.dateformat = "%Y-%m-%d"* N' v# F6 E; C# N. ?

  1127. # g! Q; k& f, r7 d% t* I
  1128. ; Default time format.
    7 O; O/ C9 |/ g9 z  O! ]: J
  1129. ibase.timeformat = "%H:%M:%S"
    0 l. ^) a$ h  x$ N- U
  1130. ( e1 C9 G5 H" j3 }! w
  1131. [MySQL]5 A5 r+ \% D6 y. _/ i: K
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# j; m1 G2 U2 T! h
  1133. ; http://php.net/mysql.allow_local_infile0 b" y0 ^$ s3 A, Q6 w
  1134. mysql.allow_local_infile = On# j" R  T* P8 u; |- Z8 f

  1135. 4 K& \7 }! s) s& J/ e5 O
  1136. ; Allow or prevent persistent links.
    - V8 l6 r+ j' o7 L
  1137. ; http://php.net/mysql.allow-persistent2 K! c3 ~1 _% x1 o. f2 F
  1138. mysql.allow_persistent = On
    / I) U5 y* {& k& A% E
  1139. ) @( H; y, W0 u/ b; B, r% M0 }3 J' @
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : ^0 `+ X% }( |- k
  1141. ; http://php.net/mysql.cache_size; s6 K' K& O# m6 W' ?
  1142. mysql.cache_size = 2000* |& j( z7 e# J9 {$ r( X' W

  1143. 0 @- l) D# j1 Z
  1144. ; Maximum number of persistent links.  -1 means no limit.
    1 Y0 x, L' a- [
  1145. ; http://php.net/mysql.max-persistent4 G1 w( N1 S) k, }( @1 P% n3 t1 M
  1146. mysql.max_persistent = -17 p! s2 P) ~  s( E, t+ q
  1147. 4 ?5 A; n. D: `  }- I- p+ K
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ r% [  Z, z4 T& J9 e2 j
  1149. ; http://php.net/mysql.max-links! W- g: j- Z5 |
  1150. mysql.max_links = -1
    7 r( A, i2 K" H9 J

  1151. $ L8 Q- K' y# \* ?- k+ ~- t) A
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 b5 {/ T5 Y6 l4 I. k. }. Q. p7 M
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 c# o  B0 d% O  W6 C& X2 B' {
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ v& h% }  v' [% f
  1155. ; at MYSQL_PORT.
    # i# d; d2 M, C  U2 a! ~5 S9 b
  1156. ; http://php.net/mysql.default-port
    " J4 \( q3 h: k5 \( [; f7 `  J4 M# i
  1157. mysql.default_port =8 k+ i% @3 ^+ i4 U5 I. p3 e
  1158. # J7 a0 x9 q! v; e7 Q; Q
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % ]; e( P" I6 i8 _
  1160. ; MySQL defaults.# S: k1 U2 n( y0 R  k4 k( k9 r% U  B
  1161. ; http://php.net/mysql.default-socket& r0 W2 @- g, G2 t) Q
  1162. mysql.default_socket =
    # S9 r* r0 N- z' H, n, h
  1163. 2 T! ^3 i6 S% ?7 B$ |% }' X, J
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & Z7 M" [% n; c# L" g
  1165. ; http://php.net/mysql.default-host
    " d* r% E4 |7 M% I
  1166. mysql.default_host =% I) e4 ?. B7 }, ^4 E4 s4 ]

  1167. ; v. Q4 x3 `+ x) s/ x, m
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).& K9 c9 L0 S/ z# r
  1169. ; http://php.net/mysql.default-user
    5 h3 P9 k, T9 w0 t# x
  1170. mysql.default_user =0 M. `6 b4 F# F. u+ v$ q  z

  1171. - i. j9 W" C! W6 R9 V
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    # Y# M6 X! i. c2 J) @) A2 f8 D% C
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.- n$ G6 G; f6 k
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ; p7 ?$ L6 [& _1 [
  1175. ; and reveal this password!  And of course, any users with read access to this' `, e; E0 H, e9 K3 K
  1176. ; file will be able to reveal the password as well.9 h4 \1 _$ K% |
  1177. ; http://php.net/mysql.default-password
    ( l+ ?7 v+ G9 h( x
  1178. mysql.default_password =
    5 t" d$ c& q6 N$ N( o9 Y( k  |

  1179.   K2 U, n, t5 Q$ Z* c
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    6 F: d3 s$ D$ k: c8 g
  1181. ; http://php.net/mysql.connect-timeout
    ) p2 A) F4 m! `) U3 d5 u5 |5 T+ b4 \
  1182. mysql.connect_timeout = 60- s4 Y! {# @6 u

  1183. 2 x! u8 S" ]+ ?. W& S( V. D. X
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ; B* ?, a  ^3 q9 f; r, w6 @
  1185. ; SQL-Errors will be displayed.7 _, b' ~0 Z8 A
  1186. ; http://php.net/mysql.trace-mode( p7 ~! j; L7 ^) K3 T& t
  1187. mysql.trace_mode = Off
    # [, x7 ^: E8 Q% W6 g; Q

  1188. 2 d# k1 f; b4 o3 b
  1189. [MySQLi]% M0 s! i2 y8 x( P+ i
  1190. . }( I; I8 O$ P( s3 e1 {, L& W4 r: `
  1191. ; Maximum number of persistent links.  -1 means no limit.
      |' r- E' d2 S7 k6 w5 O
  1192. ; http://php.net/mysqli.max-persistent
    9 \4 M, w8 z: a- `+ I# ~0 G
  1193. mysqli.max_persistent = -1
    7 s0 V. ~* m5 n
  1194. 8 R& h, a$ d! S! i, Z/ ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# v' z$ v, z, Y
  1196. ; http://php.net/mysqli.allow_local_infile; d' N5 b8 n6 Z
  1197. ;mysqli.allow_local_infile = On
    % E9 ]5 A0 I; H* Y; W
  1198. 2 H. ?6 i5 J6 S9 o
  1199. ; Allow or prevent persistent links.
    # i) H: \$ d; x9 O, j
  1200. ; http://php.net/mysqli.allow-persistent5 t/ l# G$ L* I4 T3 r
  1201. mysqli.allow_persistent = On
    ; L9 Z# Y- x  u) s8 C5 p" Q

  1202. $ l& h- ~7 n' @
  1203. ; Maximum number of links.  -1 means no limit.
    ; c! s( k! Z% N5 |1 B5 U: J
  1204. ; http://php.net/mysqli.max-links* V! ^7 J3 k( t4 H
  1205. mysqli.max_links = -1
    * f9 U* M7 D& W

  1206. # ~" N8 Q3 L* b0 U  g% e" _- L
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & y  C& s* d5 g( \$ H# U
  1208. ; http://php.net/mysqli.cache_size
    5 t" G$ j3 @2 a; j6 r) {4 h/ J& W
  1209. mysqli.cache_size = 2000- p$ j: g; x/ Z* o; A9 j/ M2 J: V
  1210. 6 f, y4 J" `4 h1 T' o
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use& N0 E4 ?$ u9 J5 F2 {2 ^1 I
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 k! `9 e. o" j- y6 t" _/ k
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 h6 i6 v. m" I  h* e
  1214. ; at MYSQL_PORT.
    / B( s! ^  P7 D  G. S1 r
  1215. ; http://php.net/mysqli.default-port
    6 @% Y: M1 p+ ^, M4 z+ f5 M. e
  1216. mysqli.default_port = 3306
    7 Q; O; T9 M- B" ^: t  j, X
  1217. 3 c" U) X$ Z; t$ d+ k
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in; f7 k$ m& I% U4 g' _. f9 B
  1219. ; MySQL defaults.
    & j- [$ v- [4 ?* l0 z3 a2 N
  1220. ; http://php.net/mysqli.default-socket9 P5 \% I1 J9 B& _
  1221. mysqli.default_socket =
    . X, s! P9 E) i1 w0 G0 x
  1222. & H- ~* E' N, ?: h0 r/ c% g
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).: j: p  \3 o5 |' a5 \
  1224. ; http://php.net/mysqli.default-host
    5 X# M( J' g; b9 m  c
  1225. mysqli.default_host =5 E# }8 j% B' O0 W: p
  1226. ( @- N% F, a9 ]/ L
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).5 [: {  V; V' h% _, ^1 l8 E
  1228. ; http://php.net/mysqli.default-user
    0 K: f' p2 [( Y& R  T( E
  1229. mysqli.default_user =( {' x5 L; w, F  E( m5 C4 U

  1230. & Z$ t* `) E( V2 ^2 z( d6 n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ! m; ^: T) J) f
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.* z2 p. ?; }9 I! n
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" A1 u' s+ b2 x& k7 c
  1234. ; and reveal this password!  And of course, any users with read access to this: ^( _: m3 Z* _- S& Y5 i
  1235. ; file will be able to reveal the password as well.
    8 J/ g& ~. `2 i, |% K' C
  1236. ; http://php.net/mysqli.default-pw
    / ?) x, m5 z3 N7 J
  1237. mysqli.default_pw =
    $ C2 [# l( L$ x, j

  1238. 6 o" I/ Q9 ^9 s( ~
  1239. ; Allow or prevent reconnect
    8 [8 b5 Z9 R5 h+ z! X) b, R
  1240. mysqli.reconnect = Off5 |' M( g! Q/ N; j3 H' B; X

  1241. 7 ]1 Z# P* w, B8 x& y! k+ m
  1242. [mysqlnd]
    5 t+ n9 x. C$ \& x8 ?( \) P4 C
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be% `* h# [/ h8 E$ |! U* y, T) D
  1244. ; used to tune and monitor MySQL operations.! d; r: ~+ ]. n( s7 Y" [
  1245. ; http://php.net/mysqlnd.collect_statistics
    ( ]4 x& R3 c. g$ ?. Q
  1246. mysqlnd.collect_statistics = On
    9 `( x7 F3 O7 |

  1247. % i  y6 D. V4 i* s
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& j/ T* r, N! d# v* y4 N
  1249. ; used to tune and monitor MySQL operations.
    " e3 L/ ~! G# H
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; P5 I5 ?% m9 A! J0 @. J4 ?; Z
  1251. mysqlnd.collect_memory_statistics = Off' S5 b! g- ~3 z. y: O: K! u; S

  1252. & y; E3 C; ?$ ]6 x- L& {: L
  1253. ; Records communication from all extensions using mysqlnd to the specified log/ {! p; Y& I% \+ D' a
  1254. ; file.8 k7 x& M3 ?2 J1 \
  1255. ; http://php.net/mysqlnd.debug
    * `5 w5 T8 |1 A1 a# E. j
  1256. ;mysqlnd.debug =: D  e* P$ S7 a
  1257. 2 s) P7 f7 `; _
  1258. ; Defines which queries will be logged.( w, x8 I7 @5 E9 p2 }: w
  1259. ; http://php.net/mysqlnd.log_mask
    ! u  r0 L1 X) Z3 i" ~+ s5 f3 b
  1260. ;mysqlnd.log_mask = 0* q% S. U5 j1 m: b% I

  1261. % p$ U( C5 p) L2 K! M
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.+ B1 e: u5 O2 V/ \0 |2 c
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ' ^: ]) n5 k$ q# z& c$ k
  1264. ;mysqlnd.mempool_default_size = 16000
    * m3 R+ W: }$ S. e* K

  1265.   C, c& T5 u% y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    & W2 V! b* q% ^- w: |0 A7 s5 k
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ' Q9 B# c8 M0 Z3 z6 ~3 y
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    6 ?1 |1 B$ \" }- d

  1269. * c. y1 o  t, C
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in* k6 H' x; l9 H9 w4 Q5 V7 g
  1271. ; bytes.* _* @, p: L# m, M
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    6 q1 K( [: D4 f3 L
  1273. ;mysqlnd.net_read_buffer_size = 327684 N* Y- i7 s9 _7 T, n2 b9 J
  1274. ( o  v- C7 j$ w6 F5 D
  1275. ; Timeout for network requests in seconds.7 ~: ^) h" [! |
  1276. ; http://php.net/mysqlnd.net_read_timeout, d; d0 e1 A6 @0 V
  1277. ;mysqlnd.net_read_timeout = 315360002 J2 B& h4 n! Z. k1 b6 Q

  1278. 7 i# }% E; [2 g5 y0 K: n. f
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    $ M( C+ U! N) X% l6 j2 P5 R
  1280. ; key.
      h2 J; l# Y) ]  Q. u
  1281. ; http://php.net/mysqlnd.sha256_server_public_key- |4 T; }# D) h" o# X3 f1 P
  1282. ;mysqlnd.sha256_server_public_key =
    & |3 o& x$ }  a  X
  1283. 5 \9 o% C0 {7 k; w+ t, G9 h: T
  1284. [OCI8]
    + R, q) Q- Y$ M+ e' M. S5 H* P- e

  1285. : z6 H6 U2 B7 }3 ~  I+ y" _7 B) }! l
  1286. ; Connection: Enables privileged connections using external
    & J8 a* \6 w! ]& l5 _% X6 M2 `
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA): `. Q, o3 `, m5 R# v, b
  1288. ; http://php.net/oci8.privileged-connect
    6 l  ~# u$ f! ?* E! q. u4 a
  1289. ;oci8.privileged_connect = Off
    . A8 e7 p, F9 b. |( h2 _* @
  1290. , [# b$ a! I6 C2 Y; R- B
  1291. ; Connection: The maximum number of persistent OCI8 connections per. p; l" o3 o. D  U9 B. x9 i
  1292. ; process. Using -1 means no limit.
    ( f3 U" @0 N3 Y6 j" C
  1293. ; http://php.net/oci8.max-persistent7 K/ j* N0 W0 K/ U! t
  1294. ;oci8.max_persistent = -1
    , L. }) N1 A2 N+ j3 X9 \5 `

  1295. 9 r' _4 f2 C- w' a  H  `$ u% a! p
  1296. ; Connection: The maximum number of seconds a process is allowed to
    2 `6 g5 j% t/ s/ u
  1297. ; maintain an idle persistent connection. Using -1 means idle/ k6 K) H; p" ]: E, F. i: C4 T4 x
  1298. ; persistent connections will be maintained forever., ?* P6 n" d% w' E/ c1 {- F" ~1 {
  1299. ; http://php.net/oci8.persistent-timeout
    # T* D+ ?8 U- l( M, V, `
  1300. ;oci8.persistent_timeout = -1. `6 h' @8 {' Z3 g' j4 t
  1301. 9 B) D* [$ Q9 C1 D! z
  1302. ; Connection: The number of seconds that must pass before issuing a
    ( Y7 y& n5 Z: S( C% }
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ' E1 O7 k0 I* F9 v$ j$ c- R
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ r" J) J+ `" b
  1305. ; pings completely.7 y9 ^4 o! p, w# d7 w* Q
  1306. ; http://php.net/oci8.ping-interval$ t7 g/ }& |/ {0 e& ^1 Q
  1307. ;oci8.ping_interval = 607 F' D8 k$ s1 }' W/ Y  m# P

  1308. + {, \5 T( F5 U# T( ~; ~/ h- `9 ?
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' ?1 }. `9 L9 ^( t% I' y& h
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    3 H& N/ a; u- m3 g* r5 ^! T0 [
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 C7 n/ Y. M" b5 B
  1312. ; the same string for all web servers running the same application,5 G% x- z2 `( _8 v
  1313. ; the database pool must be configured, and the connection string must" ~( q7 C; u; ?/ C. @
  1314. ; specify to use a pooled server.
    0 Q/ x$ I- S( F" X$ |) y) H
  1315. ;oci8.connection_class =
    - V9 S6 h; e' Y2 I: j

  1316. & O( j" u( R4 l: J/ Y1 A' i/ [
  1317. ; High Availability: Using On lets PHP receive Fast Application- ?' P, Z! |+ m; u/ {4 `
  1318. ; Notification (FAN) events generated when a database node fails. The" n0 G8 V% x' P3 Y- E1 A" f, x4 f
  1319. ; database must also be configured to post FAN events." X" F1 D. S+ S% _- `/ J( j( o
  1320. ;oci8.events = Off# r" d# P5 l/ U' O7 j7 i3 O4 p

  1321. , G( |; n% i) i/ `) N
  1322. ; Tuning: This option enables statement caching, and specifies how/ y& ^7 n- X" U; @" ]
  1323. ; many statements to cache. Using 0 disables statement caching.% D8 S- X+ E3 D8 i& |
  1324. ; http://php.net/oci8.statement-cache-size
    & ]$ @2 b4 H* G. o2 @+ N% S  b) H
  1325. ;oci8.statement_cache_size = 20
    & t3 i& a# `( r7 T/ G* B9 x% X6 S

  1326. $ {5 P' w" K; W3 p' l
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    1 h% V+ D2 ~0 P, B+ M& i
  1328. ; rows that will be fetched automatically after statement execution." B6 N+ ]  V9 i; P+ U5 m  V
  1329. ; http://php.net/oci8.default-prefetch
    * ]- G! |! G6 j. p* P+ _6 E1 H
  1330. ;oci8.default_prefetch = 100
    $ [+ d/ N" z) V4 k% o

  1331. 5 w2 J' e! O- \! Q
  1332. ; Compatibility. Using On means oci_close() will not close+ g- m# j" z! s$ M2 |& N
  1333. ; oci_connect() and oci_new_connect() connections.+ r) e0 z9 M: Z+ A& @
  1334. ; http://php.net/oci8.old-oci-close-semantics
    " @- X3 d! X4 e' {8 r' i" v8 K
  1335. ;oci8.old_oci_close_semantics = Off9 r5 Y4 R1 [, U

  1336. 9 X; M  c  C3 G9 I- c
  1337. [PostgreSQL]
    . a) g2 F0 V" c2 U  S  e7 W3 e
  1338. ; Allow or prevent persistent links.% q! e; k% A- q9 _3 U( \5 f2 e, K
  1339. ; http://php.net/pgsql.allow-persistent
    . q1 |8 m9 i5 i1 K3 F* K* R
  1340. pgsql.allow_persistent = On
    7 }* h* J- f- I0 O
  1341. " F: p4 M* R9 P4 E7 Z7 s
  1342. ; Detect broken persistent links always with pg_pconnect().
    : L" J' F+ U% @8 \) W4 O- u" Y; x: }
  1343. ; Auto reset feature requires a little overheads.2 w8 p4 a; {  l* R/ R
  1344. ; http://php.net/pgsql.auto-reset-persistent# M2 F5 p2 ^1 Y0 O3 N% W4 h6 x
  1345. pgsql.auto_reset_persistent = Off6 [8 x3 p8 w# J8 |$ p
  1346. % W$ A4 ~7 ~4 R1 K* c) h5 d
  1347. ; Maximum number of persistent links.  -1 means no limit.: _/ |1 A, D1 \7 ?  b. l
  1348. ; http://php.net/pgsql.max-persistent9 j- B# m% J8 o8 d+ ]
  1349. pgsql.max_persistent = -1
    / x8 `; A! K! K$ n/ P

  1350. ! @# h& c# y# F" ?  H" B2 t& G
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' z) {7 I6 _1 I
  1352. ; http://php.net/pgsql.max-links
    ' Y% l/ l: C7 l% I  q. K) n
  1353. pgsql.max_links = -1
    ; I- Z( C( z$ G: O/ ]( _

  1354. ! N. `3 n6 H. v8 d* j9 }9 X
  1355. ; Ignore PostgreSQL backends Notice message or not.9 C. C8 Q; i1 d" O7 V* n3 `
  1356. ; Notice message logging require a little overheads.+ B2 |  h% ^6 q  |; Y- O0 Q
  1357. ; http://php.net/pgsql.ignore-notice
    - R8 o. P: Q5 u
  1358. pgsql.ignore_notice = 0
    + v7 W( _$ n9 o2 ^- q' C
  1359. - }; n' T) Q( Q4 K8 q, M
  1360. ; Log PostgreSQL backends Notice message or not.
    6 V. X, e1 S9 {, s1 k
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 a6 h* K( `% b. u9 z1 {# a. C
  1362. ; http://php.net/pgsql.log-notice2 O/ M& |& I% J% }5 U6 e
  1363. pgsql.log_notice = 0, V7 C' y+ n2 }

  1364. 4 Q  |7 o8 a: n5 f/ B: p
  1365. [Sybase-CT]- Z5 s5 s9 d( [3 X+ O/ t
  1366. ; Allow or prevent persistent links.* F5 k& R$ t! i
  1367. ; http://php.net/sybct.allow-persistent
    . q2 }8 t7 b: \& D* C
  1368. sybct.allow_persistent = On7 \* E- x9 r, o  V" m( d* ~. {5 @
  1369. % M2 H  k, g2 Z2 a, z
  1370. ; Maximum number of persistent links.  -1 means no limit.! d$ O, S2 t* B5 Q, g2 |1 \
  1371. ; http://php.net/sybct.max-persistent6 B" U- g& e) z( z  k# k  S# ], X
  1372. sybct.max_persistent = -1
    6 }. ~$ Q+ G1 D  y& Q) ~! m/ q

  1373. & x7 c5 p2 u1 F' U! E' [% n2 |
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % z2 Q' R7 T6 }. ?: S
  1375. ; http://php.net/sybct.max-links) v& q! }9 z9 d- [2 F1 {0 C* D8 ]
  1376. sybct.max_links = -1
    : A3 V6 N7 }: M. v& w! a* H

  1377. 6 R- u5 m& W, w$ W& p* \
  1378. ; Minimum server message severity to display.
    . W8 Z4 A, Q# n
  1379. ; http://php.net/sybct.min-server-severity
    & C7 u; o( p. J5 X# j, x% d, h$ M
  1380. sybct.min_server_severity = 10
    ) J3 q) o+ _4 K. Z  x: P/ u

  1381. / z! U8 B8 g9 s0 c
  1382. ; Minimum client message severity to display.
    9 q5 O7 R* R+ ]5 Q5 l
  1383. ; http://php.net/sybct.min-client-severity4 R+ V: k9 F( _/ B$ Q( U
  1384. sybct.min_client_severity = 10
    % Z+ h; a- B$ O4 U4 ]
  1385. * G9 n  O" I3 K* R2 ^! b
  1386. ; Set per-context timeout
    # k1 `2 v& [' g
  1387. ; http://php.net/sybct.timeout! [! Z4 l7 o+ S  V
  1388. ;sybct.timeout=3 c- p7 a& V% j, B
  1389. 3 ^  T% m# u7 U( E5 Z
  1390. ;sybct.packet_size
    ) f: R$ C! w/ Z, a' h$ }. K
  1391. 3 A# x2 W% M- [! v" J. n
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % W4 }* A* ~# R
  1393. ; Default: one minute. J3 u2 T, w; @) T; u4 U
  1394. ;sybct.login_timeout=, P. o$ t) W8 }) w- j$ K4 z
  1395. 6 f) O( Q9 d6 s# {  `) B/ ~. i
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.' h4 c! l. o0 T9 _( q
  1397. ; Default: none! \! C  V: t+ W- {
  1398. ;sybct.hostname=" D$ S* O, V3 c

  1399. * B$ |  x) ~  Q( C0 x  B. `5 d
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".! x* u/ O% l' L: v" m$ f
  1401. ; Default: 00 h$ G; K! Q" X
  1402. ;sybct.deadlock_retry_count=5 i/ ]+ n4 V$ G9 M) g1 s6 j
  1403. , h) @+ t9 w1 P/ [: H
  1404. [bcmath]" A9 ^3 ^: w# M# B! J
  1405. ; Number of decimal digits for all bcmath functions.
    . b6 l! U+ |+ ]1 W0 S
  1406. ; http://php.net/bcmath.scale8 V2 n3 n  p# C7 @% \( Q3 K4 q
  1407. bcmath.scale = 00 c' Z6 g) P3 {% E& _! C1 O+ O8 l

  1408. 7 W" v, {# |- b; H  S
  1409. [browscap]0 V& L4 [0 _8 i
  1410. ; http://php.net/browscap! s% {& F6 O2 f% {* `2 K3 h
  1411. ;browscap = extra/browscap.ini
    / e/ c. Q" D& P& `9 g! W; r! p
  1412. + X' u* Y! ?0 i
  1413. [Session]
    1 _0 O8 G- I7 O* W$ k
  1414. ; Handler used to store/retrieve data.+ X2 U: K$ K1 Q5 I! R( c
  1415. ; http://php.net/session.save-handler
    6 g, l+ ~+ K$ ^1 o& G
  1416. session.save_handler = files
    ) ~- {5 ]& {# u

  1417. " {6 b6 \4 a* O2 G( }$ _& ~
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    6 s+ D( Y! v, Z- ^
  1419. ; where data files are stored. Note: Windows users have to change this3 G/ L+ E. [# D+ V6 ?" |9 D1 T
  1420. ; variable in order to use PHP's session functions.- L8 H! ?  y+ Z# d& r. U
  1421. ;6 F3 g, g4 k, Z: z/ k. m& e6 u1 [
  1422. ; The path can be defined as:: K9 b& Q! ~( S
  1423. ;
    % p7 B  b- b+ i9 Q8 Q' H
  1424. ;     session.save_path = "N;/path"
    5 H' h# W7 ~1 G/ c
  1425. ;
    ' B; y9 _7 |: B4 j9 v) U+ |
  1426. ; where N is an integer.  Instead of storing all the session files in) K) _; [7 t% n3 _
  1427. ; /path, what this will do is use subdirectories N-levels deep, and  Q6 f1 [; [3 l
  1428. ; store the session data in those directories.  This is useful if
    , w* T, }( X% D- U  ~9 Q5 h# w
  1429. ; your OS has problems with many files in one directory, and is
    4 Q" n; ]0 L$ c- ^) \
  1430. ; a more efficient layout for servers that handle many sessions.# V- i5 ?$ R4 l- g0 Y
  1431. ;
    ! P% k' R, ^- S, K: K
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
      G5 Q( v, @2 G: u) b* k# q
  1433. ;         You can use the script in the ext/session dir for that purpose.
    5 x- N6 o' o: ?: A5 e+ @
  1434. ; NOTE 2: See the section on garbage collection below if you choose to5 X. Q' L- d. a7 y9 |  B
  1435. ;         use subdirectories for session storage
    ' x  O  ]( v, j# a% g* e
  1436. ;2 s. R( q# b+ ]6 ]
  1437. ; The file storage module creates files using mode 600 by default.$ a' x. d2 P  h) }& M
  1438. ; You can change that by using, d% P# u8 ]6 D* t. W; `4 e
  1439. ;" i) U! O! A& {' T+ F
  1440. ;     session.save_path = "N;MODE;/path"
    3 L  L! q! V, A; J4 h. D- U
  1441. ;! K  {7 O) _  U
  1442. ; where MODE is the octal representation of the mode. Note that this
    . J+ a+ Y- Y" r- ]5 Y
  1443. ; does not overwrite the process's umask.
    * L+ l4 E" g& c% h' N( u
  1444. ; http://php.net/session.save-path, D5 W9 b$ G- r+ U; x4 `
  1445. ;session.save_path = "/tmp"- V/ V! j3 `, M/ i2 ~, x) P5 x
  1446. * g! f9 w. B+ |+ @% U
  1447. ; Whether to use strict session mode." W- S7 D: x4 T% c% u; G* c
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate6 {; o( P# ~+ J2 f" `" }+ T
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects" _7 O5 K- n( N! z1 r# O" z
  1450. ; applications from session fixation via session adoption vulnerability. It is. ]2 N+ ]5 _. C% g# b3 q8 e
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.1 g0 z! W% R7 \5 {7 E/ ~  Y# f
  1452. ; https://wiki.php.net/rfc/strict_sessions
    - P2 V' t% D8 [9 H" C
  1453. session.use_strict_mode = 0! s! s! a( B& ~" s+ V

  1454. / l/ y2 O! q; j, M8 e
  1455. ; Whether to use cookies.
    $ E* O9 Z& o8 ?1 T" c& q% @; z
  1456. ; http://php.net/session.use-cookies! \" R' E2 T+ r# [
  1457. session.use_cookies = 1
    ( G' T* Y# N4 W+ _) I
  1458. - y: |5 @# H* d  u- U
  1459. ; http://php.net/session.cookie-secure9 d9 a# ~; \7 N! Z6 K4 v) S9 C
  1460. ;session.cookie_secure =" n9 |# `& M2 C% V

  1461. 8 _1 O+ I) A7 I* ]! f7 K
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining# G  y+ f( l$ L6 L
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    ; ^# \( `/ b9 r
  1464. ; session hijacking when not specifying and managing your own session id. It is
    0 T" W1 g2 B+ f1 C( t4 k
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 A6 s* z/ j! I. U' z9 k
  1466. ; http://php.net/session.use-only-cookies
    ( C; y2 |4 h: d9 u  ^5 {
  1467. session.use_only_cookies = 1
    " R* }8 e! {0 P0 b) a, N2 H
  1468. ) J3 m  c0 \- M5 |" O: E6 \
  1469. ; Name of the session (used as cookie name).
    % I% T$ j' {0 R7 v
  1470. ; http://php.net/session.name% }" t/ F0 [& t7 h
  1471. session.name = PHPSESSID% E. ]- A9 h% R) M& b, ]
  1472. + a9 P( {- r5 w% w
  1473. ; Initialize session on request startup.
    5 D  Y/ N  a8 s5 K. _+ {
  1474. ; http://php.net/session.auto-start
    3 z; v% S) S2 P& c. A! x4 `
  1475. session.auto_start = 0
    7 F% N7 R$ p! W' B; h

  1476. 4 P- ^* L  ~( G6 H  I4 x
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.: _" ^5 O. t7 I1 {9 C6 Q
  1478. ; http://php.net/session.cookie-lifetime* f2 N& q: r& |7 F+ l) P
  1479. session.cookie_lifetime = 0
    - b7 `3 H, K8 j" s- M3 a

  1480. " u6 }$ ]4 g4 f/ e$ c! g
  1481. ; The path for which the cookie is valid.& D# @/ S0 M, I5 o3 b" Z# \
  1482. ; http://php.net/session.cookie-path
    + n# V! X" h' _% b( o7 E
  1483. session.cookie_path = /  h6 T6 [$ D/ s5 p

  1484. & f) {, @, q. L. v9 t5 C  [) K
  1485. ; The domain for which the cookie is valid.( X$ \& T4 g: `$ T) G! C
  1486. ; http://php.net/session.cookie-domain
    ! D- Y; X+ N' |0 |; c3 L
  1487. session.cookie_domain =( z1 y! o( ^. [0 w* |1 N
  1488.   j) |" W  ]! L! w# s
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) k5 H/ C, S) u; L$ O7 B* F: h' }' J8 a4 i
  1490. ; http://php.net/session.cookie-httponly3 A; v3 F1 h' F5 u+ b+ ^' j
  1491. session.cookie_httponly =8 S& ?4 S* }8 Y7 W, y1 h

  1492. / a: S: H7 h/ `8 H3 s/ @
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.' J5 _) o8 E  V' `
  1494. ; http://php.net/session.serialize-handler" q% M& a' f/ b; |
  1495. session.serialize_handler = php, s7 V1 f, @2 x+ A8 O
  1496. 3 G: J8 B1 [; k# t$ c+ Z
  1497. ; Defines the probability that the 'garbage collection' process is started
    8 Q  S* h9 {+ v! ~: h9 c
  1498. ; on every session initialization. The probability is calculated by using9 u8 l, y- f# S1 h
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# ^8 n. W: e" \
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, ^6 H- W& g$ E6 R
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& Q% M/ Z: Z, m
  1502. ; the gc will run on any give request.
    ! I" v. t0 S: b$ Q* x
  1503. ; Default Value: 1. a, W. E8 G- W  G0 O
  1504. ; Development Value: 1: \8 d3 Q" W* S0 O
  1505. ; Production Value: 1
    $ q% S1 e0 m9 D- ~. K9 R
  1506. ; http://php.net/session.gc-probability
    % z  }6 u; @. o3 X
  1507. session.gc_probability = 1- K5 ]  x. \. c5 y9 J

  1508. / c2 Z3 G" ]3 a3 t0 P
  1509. ; Defines the probability that the 'garbage collection' process is started on every/ L! }& ?1 ^* I* ~5 H  w
  1510. ; session initialization. The probability is calculated by using the following equation:" M% b, h# m* {) y& O
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
      F' W- ~: x7 b9 v8 |, ?' M. }, m
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1, C$ T* Z$ k) [9 }
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' X/ A" a5 X( J4 R$ b7 m
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    - _' b/ V, i' L3 \* }
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,& X+ a4 G2 X/ ?
  1516. ; this is a more efficient approach.0 ]' A5 m5 [/ X7 Z
  1517. ; Default Value: 100, w, [' Y0 C4 X( K. b: A
  1518. ; Development Value: 1000# l8 Q* P. t, O
  1519. ; Production Value: 1000
    ( w; R# ]' j5 M, i8 k( F3 `
  1520. ; http://php.net/session.gc-divisor; o3 \# q5 I. S
  1521. session.gc_divisor = 10004 I1 S" H( S. O5 z

  1522. 9 S) N# v: Q' V
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and8 |3 y0 L6 c9 {! P0 G
  1524. ; cleaned up by the garbage collection process.9 j" k+ e! p5 A& B
  1525. ; http://php.net/session.gc-maxlifetime
    8 i; ?2 R% `* w% k, x8 d, T
  1526. session.gc_maxlifetime = 1440
    . `/ ~9 H% {5 k3 S/ f

  1527. # u& f0 ?1 h# M5 `0 V
  1528. ; NOTE: If you are using the subdirectory option for storing session files8 z% E+ |0 F& ^: o- x
  1529. ;       (see session.save_path above), then garbage collection does *not*$ O; {1 w. n% h" b2 H
  1530. ;       happen automatically.  You will need to do your own garbage1 C% w# |2 K, b7 m$ K! \& R& R8 N
  1531. ;       collection through a shell script, cron entry, or some other method.
    * m  p( }: H" e" Z% n& G
  1532. ;       For example, the following script would is the equivalent of
    . W, q1 T& E" u* w* {. U( V
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    3 X  n) G  J" y/ |0 K0 {' {& h
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 F& F1 \6 [+ H& |1 D
  1535. . Q. G& `, s% s: D0 Z4 U
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.2 _1 a* @7 B+ j: Q/ |  |4 ?
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . ~6 B3 D- ]0 ]$ I/ i
  1538. ; considered as valid.8 L) {6 |* f$ a& D0 F9 S4 t0 s
  1539. ; http://php.net/session.referer-check: u9 _+ T! P# j0 ]
  1540. session.referer_check =
    ! b' y+ e8 e8 t' a1 Z; N0 C( I
  1541. 6 q7 o* B: x" j3 Y& M
  1542. ; How many bytes to read from the file.  f' Q8 C9 Y6 @! E5 ?) L. K
  1543. ; http://php.net/session.entropy-length2 U) |6 |$ m. U7 Z# f7 T
  1544. ;session.entropy_length = 321 r! j) X" l* \4 g  m

  1545. ' Q1 z! l, W! G  i/ B1 n& [
  1546. ; Specified here to create the session id.
    0 Q4 [6 U2 l7 k$ n6 z2 @8 q
  1547. ; http://php.net/session.entropy-file
    ! i" n- s% M2 ]: o. T% U& S6 C. A
  1548. ; Defaults to /dev/urandom
    , U, x" A1 J8 g* V1 F0 B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 G/ f. ~/ E' e" b2 K4 i
  1550. ; If neither are found at compile time, the default is no entropy file.8 x) B/ s- F! k1 }! K5 U5 ]
  1551. ; On windows, setting the entropy_length setting will activate the
    - G8 Q; Z% ?$ F$ }1 ]" A
  1552. ; Windows random source (using the CryptoAPI)
    * ~- A8 F- l" V+ j& a0 |- F
  1553. ;session.entropy_file = /dev/urandom6 x2 [( k: d6 o6 z# }
  1554. 8 {( ]/ a  W5 Z9 d, x
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' _0 {* N5 c: m1 x$ m9 P  U  |6 r$ V( \
  1556. ; or leave this empty to avoid sending anti-caching headers.
    * v3 [( D; @, ^# e2 c
  1557. ; http://php.net/session.cache-limiter
    " T, m" S7 \) m$ K% }7 D
  1558. session.cache_limiter = nocache
    # j9 R8 t, w" h! J' @6 Q  m; k
  1559. : h7 @" y5 f  x6 }% n+ N
  1560. ; Document expires after n minutes.& k% l1 j2 a( `% G  v9 ]
  1561. ; http://php.net/session.cache-expire; j( F+ r+ {* [  Y, P: v& c1 Z
  1562. session.cache_expire = 180. C* ?3 J- `# l7 f3 ?1 m
  1563. # Y5 H2 x. k& t; R4 Y6 B
  1564. ; trans sid support is disabled by default.; c  D" G9 k+ N) }1 S+ h
  1565. ; Use of trans sid may risk your users' security.- Z( l/ F2 F+ Q+ U/ m! [) z- ?
  1566. ; Use this option with caution.1 ?2 `4 E! A/ Q
  1567. ; - User may send URL contains active session ID4 [& f1 I( H% C
  1568. ;   to other person via. email/irc/etc.
    & V: D& P& ^* |2 n" A
  1569. ; - URL that contains active session ID may be stored3 s( S% U- g5 [0 O3 c, `- v
  1570. ;   in publicly accessible computer.& Y/ r) J) V& V' k+ ^
  1571. ; - User may access your site with the same session ID3 i6 Q( }2 K' K( t5 ]3 F# P8 D/ `
  1572. ;   always using URL stored in browser's history or bookmarks.8 c1 w# _9 v4 |# |7 c. ~5 f* e
  1573. ; http://php.net/session.use-trans-sid
    ; K" g" l, h" l, F1 C1 W1 a+ u
  1574. session.use_trans_sid = 05 E/ w5 U! c0 {+ i
  1575. 8 O) C" N$ b5 x( w7 v6 z+ l
  1576. ; Select a hash function for use in generating session ids.
    ' |4 Q) w; [  m* ], m
  1577. ; Possible Values" L+ R$ L0 H$ I
  1578. ;   0  (MD5 128 bits): I1 B3 L4 j- [. s
  1579. ;   1  (SHA-1 160 bits)
    ' l3 G5 Q6 n& i7 k+ o9 r
  1580. ; This option may also be set to the name of any hash function supported by4 E* T/ }6 G6 I9 S$ m
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - p& ?+ b5 E( @+ R- U! i5 J
  1582. ; function.
    7 A, i" ~- V6 x! ~/ @
  1583. ; http://php.net/session.hash-function
    0 N+ T2 g" Z1 g( y
  1584. session.hash_function = 0" R8 z8 D  s7 Y9 h3 t% N+ `
  1585. # u- Z  S2 m* {" r! p4 T. b
  1586. ; Define how many bits are stored in each character when converting
    9 v, P1 }; j& M9 x: }
  1587. ; the binary hash data to something readable.  @- ^. l3 I4 m1 Q: I$ z1 n
  1588. ; Possible values:
    + D6 d0 ?4 U9 Y$ A+ |0 C% b; @
  1589. ;   4  (4 bits: 0-9, a-f)
    . t; v% Y, h  D
  1590. ;   5  (5 bits: 0-9, a-v)
    5 V( r6 S2 U/ ?: L1 n
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , h" V1 }5 x% \& |  L5 l/ Z& L
  1592. ; Default Value: 42 \9 z4 Y4 ?/ ^1 t
  1593. ; Development Value: 5
    $ {3 ]& Z5 i  h$ T* G' p
  1594. ; Production Value: 5$ I4 T% O" x9 }1 C' }+ S' O2 D
  1595. ; http://php.net/session.hash-bits-per-character
    3 _( A+ m; f/ a; C
  1596. session.hash_bits_per_character = 5: }5 b" p) D, @) c3 c0 Z" h

  1597. 2 L4 n8 y0 H) I$ F' U4 y5 M
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 {0 Q+ W, s" i- t  |
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    8 {. F2 l" {; q& e4 I
  1600. ; add a hidden <input> field with the info which is otherwise appended& Q9 R* d" V+ i  {
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    * {9 s! ^6 l7 g
  1602. ; Note that all valid entries require a "=", even if no value follows.' @9 I  e  b8 u! E0 J- e% x
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 H, T5 w/ }: L" S5 ?
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# p3 Q  C# ?% Y7 }% G: M
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 d, ]1 _3 c$ ]& C. b  h6 |' b, G
  1606. ; http://php.net/url-rewriter.tags
    $ _) ?1 `+ |0 d2 Z0 @  F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 o4 G/ _2 P; X

  1608.   \- M, B: B2 ?; D1 k, f
  1609. ; Enable upload progress tracking in $_SESSION$ R# x( }2 _+ f" z
  1610. ; Default Value: On7 u# h  a  S9 _% }$ A
  1611. ; Development Value: On
    ' a2 M- J7 R4 e5 P; S4 N- ?# B6 @1 z
  1612. ; Production Value: On* }' m: u- l+ l2 H7 \6 C
  1613. ; http://php.net/session.upload-progress.enabled
    ) [- K( t$ P( M5 L* h; i
  1614. ;session.upload_progress.enabled = On
    ' J9 z+ @( R6 h- X
  1615. 6 `, K) K' C, s- |& ?
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ; N! Q) _5 L. A
  1617. ; (i.e. upload completed).4 Z) {$ l  z$ R6 d% o$ ^" A
  1618. ; Default Value: On
    1 D, W; c! p+ y! n& z
  1619. ; Development Value: On
    : N$ F0 s  j* R# V0 T
  1620. ; Production Value: On
    % P5 A+ i- o) z' ~' _8 _; U
  1621. ; http://php.net/session.upload-progress.cleanup
    2 E3 Q/ w% Z6 L) F4 d3 E
  1622. ;session.upload_progress.cleanup = On- M( K1 F4 ^; d$ v
  1623. . Q- G1 P2 ?" A1 e4 X: I' l. ]
  1624. ; A prefix used for the upload progress key in $_SESSION+ c& Q3 f; U+ a  }8 A" {
  1625. ; Default Value: "upload_progress_"
    8 g( j6 R# X; W& n5 ]5 S
  1626. ; Development Value: "upload_progress_"
    / \9 j) ~. N& v* a' J
  1627. ; Production Value: "upload_progress_"
    ! }. k& D7 ?3 x# r; i
  1628. ; http://php.net/session.upload-progress.prefix
    ' }  w9 R; K5 B4 H# b) J
  1629. ;session.upload_progress.prefix = "upload_progress_"0 b8 [3 ]7 h0 J" N8 f

  1630. 6 u' R" w  u2 S& Q( j
  1631. ; The index name (concatenated with the prefix) in $_SESSION! _& i2 j+ M5 j" j
  1632. ; containing the upload progress information  m) U4 M, r9 E' |' J
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 e( @' a; {% A2 Q1 z
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + y6 }- M( Y: T* B  ^" l6 u6 M6 r
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 q& U1 K4 z6 P& O
  1636. ; http://php.net/session.upload-progress.name
    8 v! c+ m& B- @. Q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' e5 ~' {- N: I' [9 z$ P2 O- J
  1638. 5 j/ @( X2 v  ]& T7 ^
  1639. ; How frequently the upload progress should be updated., c6 F2 [. s# S& ?3 {& c+ P
  1640. ; Given either in percentages (per-file), or in bytes
    $ l) J2 K# L: i( {/ B
  1641. ; Default Value: "1%": Z  r/ G: N$ i: ~
  1642. ; Development Value: "1%"
    5 R2 q- l1 ~9 x8 l2 u
  1643. ; Production Value: "1%"# t8 C7 @4 Y+ j  w* l$ b+ C. R: H
  1644. ; http://php.net/session.upload-progress.freq$ U- _- j. k: n  A  f
  1645. ;session.upload_progress.freq =  "1%"
    0 X5 R" n, m( b

  1646. + J# w* Y5 K$ P3 U7 V: ?
  1647. ; The minimum delay between updates, in seconds3 s# _. O5 S8 L
  1648. ; Default Value: 1& E- z5 g: J# x" z8 v; F2 Q
  1649. ; Development Value: 13 ]& r. ]1 b7 u2 [
  1650. ; Production Value: 16 Y  ?5 U6 G! d3 T* @6 ?; V
  1651. ; http://php.net/session.upload-progress.min-freq/ F$ r  s( E5 b! S+ ~0 V
  1652. ;session.upload_progress.min_freq = "1"
    3 B0 @+ {1 y8 m- V+ a( b2 Q: X

  1653. ) B0 n; `) B: m8 @" N
  1654. [MSSQL]+ i) z2 ]6 V! X; S
  1655. ; Allow or prevent persistent links.
    : q2 a2 G* {" d3 S6 J8 E; o! y
  1656. mssql.allow_persistent = On
    & \7 l" o6 V" [+ ?1 v
  1657. # R2 U/ s" h3 `% N: x7 N8 z* t' {
  1658. ; Maximum number of persistent links.  -1 means no limit.
    , j6 X8 R3 d2 P3 {
  1659. mssql.max_persistent = -11 S: \# e- e0 t& ?

  1660. 6 w+ G, i, I& @
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 `" D6 J( z4 b6 t; T8 y/ r
  1662. mssql.max_links = -1
    5 L' W  J: W$ h' ]

  1663. ' ^. U4 [, l" A4 F. `# m/ U
  1664. ; Minimum error severity to display.* G6 D1 V7 c5 m* C
  1665. mssql.min_error_severity = 10" [8 \* R& |, A8 _( A
  1666. 8 O. i# O6 X" ]" c/ I
  1667. ; Minimum message severity to display.% V, H% t8 T0 H0 J" u, u8 \
  1668. mssql.min_message_severity = 10# w; U' S: R* R! X* }, C

  1669. 5 u- J% N- S( S: ~
  1670. ; Compatibility mode with old versions of PHP 3.0.
    . V* F/ p( _4 w" L5 ^3 G% N
  1671. mssql.compatibility_mode = Off
    * ]$ o4 R/ ^- o

  1672. / t3 t) N8 `9 I% }0 c" @. {0 `3 z
  1673. ; Connect timeout4 i; _* z( R- e8 \( z. O- |* d4 ?
  1674. ;mssql.connect_timeout = 5" Q+ e  S+ T' O6 W4 J1 T" Z
  1675. 7 y  s% M/ P" h( ^/ q  @
  1676. ; Query timeout& k9 c5 y+ o  s. m* X2 [$ t
  1677. ;mssql.timeout = 60" j; T8 \# J0 V5 S! S" f
  1678. # [! N: W) y' e7 S8 ^8 c
  1679. ; Valid range 0 - 2147483647.  Default = 4096.0 a  E/ W; a3 A. L& D8 G: B
  1680. ;mssql.textlimit = 40968 n; P  H+ J1 p- U" R. z, P/ r
  1681. & r- h( S, M' a7 I9 ]1 G' l( n
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ; Y; p. N5 a$ X: w: W; Z8 ]# Z- X( V
  1683. ;mssql.textsize = 4096. \9 Y, ?3 k9 r( ?4 _

  1684. 6 L6 k7 _8 h; H! ^4 P
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ) f5 [' l6 E$ ~9 s3 `; \$ S/ }9 {
  1686. ;mssql.batchsize = 0
    7 {5 W7 {5 g8 R5 ~: j- S

  1687. $ V6 q4 R4 P+ d
  1688. ; Specify how datetime and datetim4 columns are returned5 I: e" Y* ~& ^  n! @. a6 a7 g" T
  1689. ; On => Returns data converted to SQL server settings
    ! _7 b4 L& u5 i2 ]* Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss' \- |8 `4 `4 K9 c1 @
  1691. ;mssql.datetimeconvert = On
    % r& G* w0 ]0 I, e
  1692. ) U$ p% F) p; t, o  c
  1693. ; Use NT authentication when connecting to the server
    % n$ z: M6 U1 W) I- \
  1694. mssql.secure_connection = Off0 L& X. ^3 V; C) W3 X
  1695. * H! y" b- ~9 c1 d% L8 Y' U: x1 q
  1696. ; Specify max number of processes. -1 = library default
    ' i3 v- z' D4 s
  1697. ; msdlib defaults to 252 E( |0 u6 h% E% X
  1698. ; FreeTDS defaults to 4096
    : U2 X. _2 f7 z+ n, b! `
  1699. ;mssql.max_procs = -1, C  ]0 Y2 o" w# E
  1700. 7 G* r5 a; s) e9 `1 n: K3 y1 X
  1701. ; Specify client character set.$ Y, ?( S2 |# s, y2 \( [
  1702. ; If empty or not set the client charset from freetds.conf is used
    ! ]# e4 ]  B8 ~* A0 j. Y
  1703. ; This is only used when compiled with FreeTDS1 y: d% ^/ y0 S5 s! \; H
  1704. ;mssql.charset = "ISO-8859-1"
    5 p6 ^6 d- \8 V; ?  y4 G1 b7 C
  1705. 1 \7 j6 c# e6 p2 u$ |9 j  H
  1706. [Assertion]! B6 I9 L: l% V. t3 a- ^
  1707. ; Assert(expr); active by default.2 [3 v$ ]7 i; T% Z( d3 D1 t5 m' U9 f
  1708. ; http://php.net/assert.active$ y0 w8 N( K1 N0 p: Q5 Q
  1709. ;assert.active = On3 F% W1 K( y4 Y0 ^0 c6 G0 e
  1710. : ]4 i8 `6 w) r( Q$ r# b5 u( J
  1711. ; Issue a PHP warning for each failed assertion.
    7 O: X8 w2 e5 p0 V) o
  1712. ; http://php.net/assert.warning, p9 P- n3 S- X
  1713. ;assert.warning = On& K( I2 Y, L* W1 ?1 H! j3 C
  1714. % `5 M# d& K/ L2 H3 Q( d! C% R" Z* V
  1715. ; Don't bail out by default.
    ' S- l2 O, X: G
  1716. ; http://php.net/assert.bail3 K# i: D4 R5 S: A/ N' @# d  L' C
  1717. ;assert.bail = Off
    6 f. c% U, T7 p, ?4 o6 e- }
  1718. 0 `. B- I  w2 J( o0 T/ v
  1719. ; User-function to be called if an assertion fails.) T9 M+ g7 D; V% E: ?
  1720. ; http://php.net/assert.callback
    9 A: [% Q5 _/ f( G2 m: _. J
  1721. ;assert.callback = 0& S5 ]5 Y( y7 j/ |4 x: i

  1722. 2 A9 Q2 R+ C0 s
  1723. ; Eval the expression with current error_reporting().  Set to true if you want8 f& O3 M4 ~2 W+ T! e& N
  1724. ; error_reporting(0) around the eval().- r7 D4 ^- f! G+ K' Z) |: k
  1725. ; http://php.net/assert.quiet-eval
    8 F1 I) a( A7 `! A8 [, O0 l* h
  1726. ;assert.quiet_eval = 0
    / W7 p: S4 H8 I' M% j" n
  1727. 4 _' m) J8 {; G* o2 C
  1728. [COM]
    1 S5 H0 ?7 ?5 i* U- r6 o. g$ [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# E4 S' U4 Y5 U& d3 |
  1730. ; http://php.net/com.typelib-file' D) M2 |# T$ Q. a% K0 @+ y
  1731. ;com.typelib_file =; W5 g. {- v" |# f
  1732. + F+ n: t7 c7 A5 {) i1 M
  1733. ; allow Distributed-COM calls2 w7 i! P+ ^0 a. n0 N5 e6 F; l
  1734. ; http://php.net/com.allow-dcom0 Z6 i+ W2 _6 `! U$ r( b
  1735. ;com.allow_dcom = true: Y; x% \* m4 ~: W. S7 c/ Z, u, Z8 b
  1736. . A7 H3 e3 S% x( A( u6 k
  1737. ; autoregister constants of a components typlib on com_load()" B/ Q1 @% L8 X0 _" s+ c0 U$ e
  1738. ; http://php.net/com.autoregister-typelib! |2 s9 G+ t1 P
  1739. ;com.autoregister_typelib = true. Y  i  g, i% J& r$ K' M2 N

  1740. 3 E2 i( n/ Q/ J, j1 o% h
  1741. ; register constants casesensitive
    5 x  L5 c9 f. F, C3 Z/ @; o2 Y
  1742. ; http://php.net/com.autoregister-casesensitive3 F& l$ k- {! t! p5 B
  1743. ;com.autoregister_casesensitive = false
    ( x6 }1 h  p( p# k
  1744. * t) G7 ?% u* M6 I
  1745. ; show warnings on duplicate constant registrations
    8 E5 }( ~# \' M2 ?  T  f% R
  1746. ; http://php.net/com.autoregister-verbose* h  P6 {% B7 O- ^
  1747. ;com.autoregister_verbose = true
    & A9 a  S4 y5 ^* {9 ^; O* w% o
  1748. / U6 X  Z, y9 p+ C8 Z( Y
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ' u/ d/ K8 k) O4 C3 N/ K
  1750. ; Default: system ANSI code page
      S+ p: B3 f8 m4 W7 I: }
  1751. ;com.code_page=
    % F1 }- }% N) g! D( E1 S7 ~5 i* n7 \
  1752. ; o; @' i* x5 k# d* f- v9 w0 J
  1753. [mbstring]
    , |. c* u" s" _5 l7 b
  1754. ; language for internal character representation.- Z8 [8 K; s7 \4 l
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    & w6 `& M- ^* V0 [$ ^
  1756. ; http://php.net/mbstring.language
    ; R( c4 m4 i) u/ e
  1757. ;mbstring.language = Japanese' }+ }0 q6 e8 p# R+ j
  1758. , E4 ?  {" X% u" W" W( |
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.; j! B& s" \/ `* s, C) H
  1760. ; internal/script encoding.
    3 D' \8 m7 }7 w: Z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 X9 W+ J; x" y: X% J( R
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / J5 h  F( |- f0 L1 {3 `
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; u+ I# D1 O( W, O9 ]4 r8 |+ R2 Q
  1764. ;mbstring.internal_encoding =
    + b# {! j& {7 k3 |5 f0 d
  1765. & F6 ~, }  {8 N7 T3 z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.: r% D: w" s. U, o* \
  1767. ; http input encoding.& }: U6 q& f2 ]% V9 Q2 p- X. @
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- x# T& o% A7 ]9 Y& k: e/ N
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! B: E- v- O& Z: h7 v
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    / E$ G8 G! ]+ y. Y  n/ R# K
  1771. ; http://php.net/mbstring.http-input/ b9 r& i. \; j
  1772. ;mbstring.http_input =' V& b  G5 G' C3 q
  1773. 5 _+ `! @+ T- x& K
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 y5 U* V: r& D3 U$ h2 t) ], r
  1775. ; http output encoding.
    8 T4 O" I! |* n% t( h
  1776. ; mb_output_handler must be registered as output buffer to function.
      m1 u- o) f& v) ^9 [3 {
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ \1 d% i8 O9 a  h: _
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 o) x# o3 y  g
  1779. ; To use an output encoding conversion, mbstring's output handler must be set  V, A+ u* R. u
  1780. ; otherwise output encoding conversion cannot be performed.' }6 s# K9 x# e6 p7 D' B
  1781. ; http://php.net/mbstring.http-output
    * n0 i/ w7 ]. p4 `3 f/ A9 ^# e) I
  1782. ;mbstring.http_output =
    + l' x' }6 L0 c6 t; u
  1783. ; O5 G3 y& }5 l: ~! F" [( ^0 A
  1784. ; enable automatic encoding translation according to
    / w. C5 p; V9 i; x5 @: `9 a+ ?
  1785. ; mbstring.internal_encoding setting. Input chars are
      J. j' X- V; x5 s( a
  1786. ; converted to internal encoding by setting this to On.
    $ l2 L  g8 F* ]! `, s" w
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 M4 D# l# l' A" ?$ C
  1788. ;       portable libs/applications.1 s1 E; o4 B$ ^( m
  1789. ; http://php.net/mbstring.encoding-translation
    : E& m# d" f) f6 p% J
  1790. ;mbstring.encoding_translation = Off) H" W( s7 d" |" ?% x: l2 u" C
  1791. ' y0 m8 o3 u$ b3 Y9 d
  1792. ; automatic encoding detection order.- I: ]0 E4 Z1 j- O" L* j
  1793. ; "auto" detect order is changed according to mbstring.language
    ; |1 C1 p" D0 e0 ]: |. V, e
  1794. ; http://php.net/mbstring.detect-order1 }9 j& \8 J5 h1 J$ x+ G
  1795. ;mbstring.detect_order = auto8 c- I! |( ]+ x! O
  1796. & n& R  n% |6 I: F* G' K
  1797. ; substitute_character used when character cannot be converted
    ! O( S  C0 q  r- }
  1798. ; one from another& b8 ?, ~# }( l/ E  |* {
  1799. ; http://php.net/mbstring.substitute-character+ K) T$ L) |9 R! [; T
  1800. ;mbstring.substitute_character = none
    & n1 |  t; T  R0 i1 G7 k- p

  1801. * K4 d3 c. x6 ~# f( |9 M9 h
  1802. ; overload(replace) single byte functions by mbstring functions.
    1 g; l1 U% y3 R) D+ \) X
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),5 [: m9 _( P. h  ]' z. X
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ' @5 ?8 Q7 p8 c
  1805. ; For example, 7 for overload everything.
    ! `" R, P; Z$ J
  1806. ; 0: No overload
    : z  m( U) i+ S! I7 x0 Y& E
  1807. ; 1: Overload mail() function
    ( U1 P! z: j  g% S
  1808. ; 2: Overload str*() functions1 m" f  E7 t0 F8 C9 W
  1809. ; 4: Overload ereg*() functions% i/ T7 A- h5 R7 C% P6 A8 H
  1810. ; http://php.net/mbstring.func-overload
    ! J$ P9 h* J7 Y2 I
  1811. ;mbstring.func_overload = 06 Y* S1 m, a5 C: v1 M+ T, ^

  1812. ( h/ L2 G! b; `$ B; C
  1813. ; enable strict encoding detection.; G. o6 Y/ i7 ]4 e5 k
  1814. ; Default: Off- c, s; k1 _, L
  1815. ;mbstring.strict_detection = On
    , `) l; Y( X2 Q0 C+ I

  1816. ( {0 Q" t5 ?8 K, t. c# }
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 p4 M- x7 ]: I, N
  1818. ; is activated.! F- I% Y9 f2 d9 e
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    % H6 k* J- {2 k- [" r: c% G
  1820. ;mbstring.http_output_conv_mimetype=
    ( w: Y( H3 p3 J9 ?0 J3 k
  1821. $ |7 u+ k1 m% }8 B6 ]# H; o4 U9 D9 V
  1822. [gd]
    9 l6 }2 l# Y4 Z; T
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ( R9 x1 x  I4 T( X- F6 [/ n1 A
  1824. ; a gd image. The warning will then be displayed as notices0 n$ E4 d1 N7 y  J
  1825. ; disabled by default* y0 m' R8 K6 k4 L
  1826. ; http://php.net/gd.jpeg-ignore-warning
    3 M9 b3 Z, t" `0 p7 i1 @2 T$ [
  1827. ;gd.jpeg_ignore_warning = 02 @5 i+ `! G& d" Y; o9 B
  1828. 9 Q$ y+ p: e& u
  1829. [exif]
    ; \& R6 ?, m: k/ {0 R! ?
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.7 k& Y) H2 d6 G5 M# b  [+ w9 H
  1831. ; With mbstring support this will automatically be converted into the encoding
    9 Y% i; ^3 Q/ Z5 A! a# w- m2 l
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( Q3 \  H2 X# y3 s) H5 D' t8 M
  1833. ; is used. For the decode settings you can distinguish between motorola and
    / D* j% Q9 L5 ?- I
  1834. ; intel byte order. A decode setting cannot be empty.& U) {6 x/ f- z3 `. k) I
  1835. ; http://php.net/exif.encode-unicode! N2 F& R% I* t% y, D4 Z
  1836. ;exif.encode_unicode = ISO-8859-152 `3 B: d% G' L' C; V% b) j

  1837. 2 H+ t& \  Z4 n8 n9 }2 W7 H) e
  1838. ; http://php.net/exif.decode-unicode-motorola
    ; D9 q: w( a0 C1 c3 m+ Z
  1839. ;exif.decode_unicode_motorola = UCS-2BE4 Y+ y& b" y2 p  t% I

  1840. ; G5 O4 z- _" k/ w# F
  1841. ; http://php.net/exif.decode-unicode-intel, F7 [+ x. M8 ~" w7 z7 B7 _
  1842. ;exif.decode_unicode_intel    = UCS-2LE7 v+ Q. n2 A, G$ I% z8 r

  1843. $ L$ S) h$ N* B
  1844. ; http://php.net/exif.encode-jis- h" `! `& [4 W
  1845. ;exif.encode_jis =
    ; Y; `6 v. w0 [# `: M7 r

  1846. . N9 Y7 O3 c( p- C! ?' O! N' J: }  w
  1847. ; http://php.net/exif.decode-jis-motorola
    & M; F- y5 ?% H4 F; P; L
  1848. ;exif.decode_jis_motorola = JIS6 N4 R# G1 V8 |, \8 @# L

  1849. 0 o: A5 W0 d) Y) w+ y5 n
  1850. ; http://php.net/exif.decode-jis-intel1 n7 T0 d" @8 D
  1851. ;exif.decode_jis_intel    = JIS$ Y: S  K5 Q, F- D7 r) ^: I0 Q
  1852. " V5 @; V9 a! X7 E) C
  1853. [Tidy]7 G# n# K2 e8 ~0 o9 z# v( K
  1854. ; The path to a default tidy configuration file to use when using tidy" M9 t" n3 E8 G( s. D5 T
  1855. ; http://php.net/tidy.default-config
    ; v5 a( D. f3 k3 Q2 C
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg, V2 W) }" Q0 k% X. I& U" u- R) |7 Z6 |

  1857. % w3 z9 p6 B1 _( {! ~8 M& o  {' Y
  1858. ; Should tidy clean and repair output automatically?0 j! }/ d" k( [7 y) h8 U
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 O: ]2 ~; U6 _0 A+ q0 l3 t* E, G3 S
  1860. ; such as dynamic images
    - C" g+ t; r5 m& C; k6 p- o
  1861. ; http://php.net/tidy.clean-output
    * K. D7 {1 ?; u$ C8 ?
  1862. tidy.clean_output = Off. G, N& V* C! w
  1863. - e1 f4 s* G# P' q8 Q
  1864. [soap]7 Q2 M0 F% ]- L
  1865. ; Enables or disables WSDL caching feature.5 E! m* n; j' E2 l. {$ ~
  1866. ; http://php.net/soap.wsdl-cache-enabled0 Q. G# o9 r1 x7 q- b8 R& s) x
  1867. soap.wsdl_cache_enabled=1, T/ |$ a6 Y0 t

  1868. ; R- a, U9 L" ?5 O& v+ {: {3 o% |
  1869. ; Sets the directory name where SOAP extension will put cache files.# T; N- G$ v  d6 Q* I: p; z4 p( ]/ [
  1870. ; http://php.net/soap.wsdl-cache-dir
    8 [6 J  a  S! C5 h1 q
  1871. soap.wsdl_cache_dir="/tmp"$ c3 a1 B  g1 m8 \: a; T

  1872. , A8 c  U9 h# E' j, _2 w' q
  1873. ; (time to live) Sets the number of second while cached file will be used
    9 \1 K* E9 r) e" T" W, G; w
  1874. ; instead of original one.3 u& i$ K, Q* W! z
  1875. ; http://php.net/soap.wsdl-cache-ttl$ O. E$ }, I; w& W7 ^/ o5 ^
  1876. soap.wsdl_cache_ttl=86400& [3 \1 P0 s) B6 C/ z% C

  1877. , _$ e, Q" O8 E7 e4 Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , A6 w0 G6 r  J* x- T1 G3 T
  1879. soap.wsdl_cache_limit = 5" B- \, b' g2 S

  1880. ' e& I) B4 j  h* t# N& z
  1881. [sysvshm]
    8 ]6 H& @9 J2 i  D# U; O) [
  1882. ; A default size of the shared memory segment% s% F) f5 F# s
  1883. ;sysvshm.init_mem = 10000
    $ n  q8 G* N& F- S6 l1 B! m
  1884. 5 j6 S! w# @/ w: N
  1885. [ldap]
    8 N- C  t5 R7 L4 V
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 [! b6 X8 ]2 w, L  L; |. R+ D; S
  1887. ldap.max_links = -1
    3 Z; K. c. X. c5 r# p( S

  1888. 1 x% \" b" S1 e$ X) C5 Z  I3 {
  1889. [mcrypt]: \. l: }* z0 ~- F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( P/ V! U& x# }5 p
  1891. - R' s( z( T$ v2 L, H6 G1 F
  1892. ; Directory where to load mcrypt algorithms
    * z& _4 D2 `# `% N
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 O2 S) @8 [3 K: k' C
  1894. ;mcrypt.algorithms_dir=3 x/ k9 N6 o* x6 ^, d" C/ W

  1895. ) _& B! w: K+ q, w: t+ B
  1896. ; Directory where to load mcrypt modes
    , Z$ t4 y% S. a7 _4 o/ U( P. h
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 B* l( `1 q  B+ O
  1898. ;mcrypt.modes_dir=
    / u  o6 S- M$ z1 `! Y

  1899. , ~8 T& d- d; e$ ^  T% P+ o
  1900. [dba]
    0 l2 Y7 K; o  l) O' s
  1901. ;dba.default_handler=
    ( x1 L$ _, J+ H) Z, w1 Q3 O

  1902. 4 G3 s6 m7 m$ H+ h4 i
  1903. [opcache]9 R- S! V* s' S. O! a
  1904. ; Determines if Zend OPCache is enabled$ F1 @) `* R5 R' k  [; F5 \
  1905. ;opcache.enable=0
    ' A- G! e! a3 a' H: O2 x5 E
  1906. 0 x1 [- d/ B/ d# r) B
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ! l% m6 P8 N- G5 l5 M: ~, i. [
  1908. ;opcache.enable_cli=0
      S8 e: R; y0 d4 O( r6 j( d# h
  1909. + h, C) l3 d5 X) Y
  1910. ; The OPcache shared memory storage size.
    $ x" o- [; i3 U# D  F/ D2 q
  1911. ;opcache.memory_consumption=64' U: q; j/ |1 W- C0 X
  1912. ( u1 p# U- Q- X) Z( d: d  ~
  1913. ; The amount of memory for interned strings in Mbytes.
    7 N- v$ H. g1 ?; O! F  A- t
  1914. ;opcache.interned_strings_buffer=43 D6 I, a, m) \# ^2 Y+ ?+ L6 t

  1915. ! C8 B/ S& z, D- c5 X
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.5 \' `4 e- q$ D$ {( `
  1917. ; Only numbers between 200 and 100000 are allowed.
    ! p. T$ u" n7 o+ T/ v2 R; G
  1918. ;opcache.max_accelerated_files=2000
    ) _' p2 ]9 M7 Y8 W
  1919. 5 |. D' z4 V/ `9 h; a+ S4 g2 s! h: q
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 Z2 d3 E! c% f% ^! K
  1921. ;opcache.max_wasted_percentage=52 Z& V7 {% Y. {  V

  1922. $ ~* @/ C5 [2 g# w' P7 S
  1923. ; When this directive is enabled, the OPcache appends the current working
    & m! ?& c* |% {* @
  1924. ; directory to the script key, thus eliminating possible collisions between
    0 u$ I; k4 A( o
  1925. ; files with the same name (basename). Disabling the directive improves* W0 p8 Y( `3 b% t  ^
  1926. ; performance, but may break existing applications.
    : b' z: s, k8 N* F; j! ^7 q. r3 y
  1927. ;opcache.use_cwd=1
    7 e9 ?0 Z, s1 D7 e; l

  1928. 9 _% e3 ]4 @0 d; k: C
  1929. ; When disabled, you must reset the OPcache manually or restart the4 c! P# T( q1 {/ K& U
  1930. ; webserver for changes to the filesystem to take effect.
    6 a. H; \1 l5 L
  1931. ;opcache.validate_timestamps=1
    + j1 q) T3 u; `! ^

  1932. . H2 I5 E9 z* \* E2 C: Y
  1933. ; How often (in seconds) to check file timestamps for changes to the shared- f% n/ j& n* ~- R0 y6 S& I3 Q
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    8 T( G: n5 n# h+ d* w# W
  1935. ; once per request. "0" means always validate)- x+ {/ x/ p) I( f7 ?
  1936. ;opcache.revalidate_freq=2
    8 ]( i% P$ m7 p% ~, P* k5 X

  1937. . ]7 C+ g2 Y  m0 ]
  1938. ; Enables or disables file search in include_path optimization: s5 j6 |; N+ ~- o
  1939. ;opcache.revalidate_path=06 h. x) @, I& b: }& T0 H
  1940. 5 C0 @* R6 a8 q9 @
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    1 ~" Q/ K' K2 x
  1942. ; size of the optimized code.
    , o3 _& o% \6 L' a
  1943. ;opcache.save_comments=18 J( s, m8 ^5 @. t5 h

  1944. ; f+ r- |3 D% i7 L$ e2 F" @
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
      B# \3 y  M. R$ f  V
  1946. ; may be always stored (save_comments=1), but not loaded by applications, W" i4 I6 M& a0 \3 ^: z% N
  1947. ; that don't need them anyway.
    : \8 `# a" B, q" j
  1948. ;opcache.load_comments=1# q" G* c2 }' G
  1949. 4 ?$ y; G4 O4 Y3 S" E
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # H' O4 p7 E# Z: M6 H+ p
  1951. ;opcache.fast_shutdown=0
    ( v) M" K" _0 Z' u7 J8 g

  1952. # Q1 ?$ U+ y+ Y+ c6 n& y) y
  1953. ; Allow file existence override (file_exists, etc.) performance feature." e# p4 M; R  M! `  F# f
  1954. ;opcache.enable_file_override=0
    - t. P0 a+ s4 o& M  z/ N7 S

  1955.   A6 n+ B5 r; z  F  s& p
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " C; E% c' J% P3 z1 t3 d
  1957. ; passes- i) Q! U/ I; j* \& d& n4 y$ F8 @
  1958. ;opcache.optimization_level=0xffffffff' |( J2 m8 f5 c; h

  1959. * }1 o; S" R$ ^6 m! _
  1960. ;opcache.inherited_hack=1% C  j' }; \5 y9 s' f9 e. F
  1961. ;opcache.dups_fix=0& k3 s: n& L8 r5 q6 v
  1962. , u; G! L, r- J
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* T: u% ^3 Q7 t2 ^% N
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
      s# N  W+ I/ v% n
  1965. ; that should not be accelerated. The file format is to add each filename% @5 f# W8 T9 H/ M6 J4 d8 Y
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ! c4 x3 H/ \  t2 f0 I* \3 F2 }0 h
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ w- C# W$ A. C1 I3 [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * ?5 l+ s( b( u0 A
  1969. ;opcache.blacklist_filename=
    , E: q0 R: F1 u0 s7 e% R
  1970. . X: B" ]6 R1 @" U. W
  1971. ; Allows exclusion of large files from being cached. By default all files0 d+ M4 N8 N  e4 V: c; i7 R
  1972. ; are cached.
    ' g' R, l. h& w+ G
  1973. ;opcache.max_file_size=0
    # N! w7 Z2 e/ n- R6 a6 f

  1974. 5 F' e9 D+ {7 Z( v
  1975. ; Check the cache checksum each N requests.
    - x6 f$ l- f$ y
  1976. ; The default value of "0" means that the checks are disabled.
    ; w. v/ B! ~  i
  1977. ;opcache.consistency_checks=0
    . O  |" f, ^3 v

  1978. . c- H# B! Q5 H* k
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . G1 t0 [( B( U; m5 ]/ H$ k
  1980. ; is not being accessed.
    4 \  y- U" b& M5 X2 {; ?5 p
  1981. ;opcache.force_restart_timeout=180
    2 ]; Y! Z3 M. h4 X7 F
  1982. / A. o" |( C: N1 C' |4 U  E
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    : z6 ^2 ^7 H& b! j& Y
  1984. ;opcache.error_log=
    2 q; C) f- _' x8 p9 e' j

  1985.   ^( Z6 R: e3 Q5 N. L- C% I: X% M* u
  1986. ; All OPcache errors go to the Web server log.% w$ K* t! @6 W  e( a: L
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      `' L- h6 ~1 g9 ?% }# Z1 _- G
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    1 c9 \9 J& E1 i4 P% u* b
  1989. ; debug messages (level 4).
    2 I" {  g8 F  ]% [' `* s/ v
  1990. ;opcache.log_verbosity_level=1. H/ ^6 Z0 u, `
  1991. , O1 u& y- J7 ]" Q, d
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    9 j  b; y- Z0 z" Y
  1993. ;opcache.preferred_memory_model=
    8 r% _/ N4 S% k" X8 g  J
  1994. / S% b" q5 c. @; |
  1995. ; Protect the shared memory from unexpected writing during script execution.! T6 ~8 ]- H" \
  1996. ; Useful for internal debugging only.
    , @$ u, V8 G1 _- e- i
  1997. ;opcache.protect_memory=0
    9 t' k1 t# E! j9 L4 ?( a0 p( u5 ]+ z( L
  1998. # [' H1 K) J3 ^* s9 G& d
  1999. ; Validate cached file permissions.9 x. [2 o- Q# W. Y! \6 L2 Q, C) {* e
  2000. ; opcache.validate_permission=0+ f/ y2 h, c0 q9 I8 g

  2001. : v$ s. ~  L; M
  2002. ; Prevent name collisions in chroot'ed environment.5 v% ?4 ]& r5 d! J% I4 B
  2003. ; opcache.validate_root=0# C  Y& L0 c. I5 q
  2004. / q- U+ r, U" t7 @4 Y, t4 @
  2005. [curl]
    " |9 z7 u) }2 g6 W6 N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an. _) W6 L- l! [  F) M0 \
  2007. ; absolute path.
    ' V& z* v+ M' Y- E! s
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 D+ J& P: n. h; [

  2009. 7 o% I; v% t5 N. B# E' k0 S! Q
  2010. [openssl]! {  f6 {2 X6 a* A
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' o8 o7 C3 g4 P9 A3 I
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should0 F& ~% m6 {: m8 r$ m& i* H( k
  2013. ; not specify a value for this directive as PHP will attempt to use the
    , L9 e5 y+ b* ?8 t+ s
  2014. ; OS-managed cert stores in its absence. If specified, this value may still, F* s- B; D* J- c
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context6 B, j7 E0 e& h, G( i
  2016. ; option.! `$ }9 D8 d! Q5 d
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      W$ q1 M7 M5 S( f

  2018. 1 E, y! i# n% Y) F0 u0 x0 j' V
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the5 e/ g3 I) X5 _
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    9 ?" _0 `' [% \
  2021. ; certificate. This value must be a correctly hashed certificate directory.4 B1 F4 u9 |- E4 d
  2022. ; Most users should not specify a value for this directive as PHP will' y4 m$ h% q" N$ R$ H3 `! X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
      G) M& A& s" e9 W" i/ h) A
  2024. ; this value may still be overridden on a per-stream basis via the "capath"2 `5 R; B2 H9 q# D% P2 L
  2025. ; SSL stream context option.
    9 I" s' P/ l2 v- j
  2026. ;openssl.capath=, B+ S  O6 _! H) M7 q; ^" H
  2027. + z+ u2 P% M3 w2 N' T8 D
  2028. ; Local Variables:
    6 S4 U' F( _& L5 Y. M' n" A
  2029. ; tab-width: 4) D( o' i, d$ ^) d/ A# ^8 l
  2030. ; End:2 }3 t( i7 p1 \& t
  2031. 3 B1 V; e- J" a5 i. C" K$ q' Z
  2032. ;eaccelerator7 n) a/ m4 p! b

  2033. 8 j) z2 R, C4 q6 K( Y8 @5 p
  2034. ;ionCube2 f3 Y9 m9 C" }

  2035. 7 V8 _4 }: Y; x* k
  2036. ;opcache2 q' W# @% t# A' Q

  2037. ) v! D  S/ q. t) @5 o) `' U. `
  2038. [Zend ZendGuard Loader]
    8 [- Y4 v9 _& t3 e( p- L, V
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % f# r9 Q' A9 K. ]5 H. D
  2040. zend_loader.enable=1
    : H: R1 P. v+ c$ z) W
  2041. zend_loader.disable_licensing=0
    2 L3 a( J7 W0 n7 Q' c$ a; C4 C
  2042. zend_loader.obfuscation_level_support=3# Q) ~6 _, a( b0 V- v3 h
  2043. zend_loader.license_path=
    + q8 U+ @  l* ^" `
  2044. & F0 F6 e% _& t0 F9 i& R* Z" u- A
  2045. ;xcache" b" O- H3 Q. N. x' D

  2046. % V& R) g" g5 l3 S" k. |
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146921 P/ q# ^3 k6 K; N
6 K+ I4 ]/ |' y' X6 @8 U5 r
- h, N' d/ [$ @8 Q9 q4 r* [
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
$ m2 V) q& [& a( n
+ ?! S0 N5 Z/ RDiscuz!程序版本选择:5 b7 P9 u9 [  o' ?
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,6 s, y7 o9 }( F% @5 d" I: I8 _, ~1 \
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
6 j( D1 ?. r; N% `5 [! cDiscuz!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。: j8 b* r% O( R) \) c0 ~
$ o: ]- B0 V/ Y4 S9 V, b9 T* ^
Discuz!插件模板版本选择:2 M( x8 o) T) s% P9 j* g
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
. |& Z. J# O" V$ T9 h0 k针对这个问题做个统一的普及:. D  Q" F0 ]% b& M$ q% P% ?
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。, N6 c+ E9 z6 B$ d- u0 C
  A. U# Y3 Y; q  I1 f
所以
3 v0 i% J& q8 H适合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的二级域名。
. L5 M- l* i" l打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
6 B0 I; j0 K: B5 J7 l- A注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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