分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
# u4 s8 X% W) a2 d& R+ ~" C* t+ P' {! J
  1. [PHP]* v9 |2 R6 q7 m1 h7 W; \$ r8 B: N8 z

  2. 9 B9 S6 \1 ]1 n/ c) w$ W7 {
  3. ;;;;;;;;;;;;;;;;;;;9 B9 n4 L  {( U4 r
  4. ; About php.ini   ;
    5 H" V6 v+ m7 M. ^
  5. ;;;;;;;;;;;;;;;;;;;, Q+ d/ s0 V7 A. }# ]0 [
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    0 r6 O8 J" g6 Z6 o' t, M1 c* ^
  7. ; configuring many of the aspects of PHP's behavior.6 |6 @/ K( l$ Y- u7 l2 t+ E1 Q

  8. $ n/ u8 J. ], Q( k& `9 }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ( C' I, C3 B! `2 d  ~/ ^) E
  10. ; The following is a summary of its search order:
    : h) U% `/ r- S. ^& s0 q
  11. ; 1. SAPI module specific location.$ e# J4 K7 p7 V, l9 _8 s5 n, }8 |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    + g2 R5 M  D; m8 L
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ; K$ ~, N% b, H$ V5 V
  14. ; 4. Current working directory (except CLI)2 l+ b6 |2 }) n/ X9 z" R, u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & q" L  }6 j7 v9 U! R# t
  16. ; (otherwise in Windows)& Y) F7 t- Z/ \) @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the% Y( Q* U( g! [1 V7 f: {
  18. ; Windows directory (C:\windows or C:\winnt)7 ~7 D9 m1 h( ]+ ]
  19. ; See the PHP docs for more specific information.
    1 m8 _4 C3 j* P) q4 C: ~& e; z
  20. ; http://php.net/configuration.file% C# Q( N" e; o& B/ p7 S/ s2 Q2 Q
  21. # g+ l  g2 t8 _& g  l3 @. P
  22. ; The syntax of the file is extremely simple.  Whitespace and lines$ E6 S0 ]2 ~  k1 `* r0 o
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 e) r* g3 ]; j' n1 S, l
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    " `3 |2 Y/ i6 @- K0 u. q7 |5 O
  25. ; they might mean something in the future.
    2 u3 }( {; W1 O
  26. ( q: \# H- ~1 x! e5 m# u: G$ ?
  27. ; Directives following the section heading [PATH=/www/mysite] only) ?* H) O8 s1 ]- ^2 ^, E
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    . G: n' \1 d" K
  29. ; following the section heading [HOST=www.example.com] only apply to
    3 L% f$ Z& n9 A1 j" ]
  30. ; PHP files served from www.example.com.  Directives set in these+ M# F! `8 @: D' F, b
  31. ; special sections cannot be overridden by user-defined INI files or3 h) X. E8 h. v: ^; I, u
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 i5 t5 o! a" h0 x- u/ t
  33. ; CGI/FastCGI., V% G3 A) e6 z& T
  34. ; http://php.net/ini.sections
    & L8 y; f/ l$ N: L" l

  35. . d$ X9 O! x* V4 w
  36. ; Directives are specified using the following syntax:
    8 R8 j( V% \! x6 H! }7 Q
  37. ; directive = value% s3 A6 O; Y! ?6 O& X5 ^7 k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 ?* E' M, y( ^9 V* v& v
  39. ; Directives are variables used to configure PHP or PHP extensions.
    - [+ f- ?0 D7 E6 @4 h1 D
  40. ; There is no name validation.  If PHP can't find an expected
      @4 T1 y  x( K7 L2 s# G4 y
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( {# z/ p: o3 d2 E, [
  42. / ]; v" J( A! O7 B; R) W0 D1 j
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # @3 v7 h$ f# G, i7 o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      k) l0 z6 L" g  X! H( f
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" U4 F0 q, I1 _/ p- Q$ m$ ?- ^+ V
  46. ; previously set variable or directive (e.g. ${foo})
    ; Y. g0 w& o, t  S0 _2 v

  47. , S# [0 ]3 e# x  ^! Y) _, _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 h, q8 I* S& P( n* @4 d+ k0 n
  49. ; |  bitwise OR. l9 l/ s/ W7 t& p6 u( f
  50. ; ^  bitwise XOR
    - c& c2 K2 z5 q$ M4 d" Q" q
  51. ; &  bitwise AND
    ) z$ l4 s! H# I/ l' s& \9 z
  52. ; ~  bitwise NOT$ G' a% l# G2 n$ B4 e! @2 t( a
  53. ; !  boolean NOT
    6 g( {, l1 z2 e& B6 g; _" l8 Q
  54. # D3 O- b5 K* H) i$ K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes." b# y  l$ M( A1 U( r/ `8 ~( `* h
  56. ; They can be turned off using the values 0, Off, False or No.
    ! ?( Q- C  O5 L5 M

  57. % u  w6 V. ?9 ]
  58. ; An empty string can be denoted by simply not writing anything after the equal
    8 f( K! z  u6 e# B
  59. ; sign, or by using the None keyword:; ?; b4 L' o, ^8 R
  60. + j/ f# Y0 w7 b' `8 S
  61. ;  foo =         ; sets foo to an empty string+ d/ M) @: V- y1 T7 T' J! w. M! D  M
  62. ;  foo = None    ; sets foo to an empty string
      O1 q5 c1 |! ]2 x3 |* j. `+ X9 V
  63. ;  foo = "None"  ; sets foo to the string 'None'4 G$ _# L. K7 ^8 Z. l1 C% |* y

  64. : g) w# ]- H4 [1 m% ~# v
  65. ; If you use constants in your value, and these constants belong to a0 T7 r$ S0 }- F' N# f) ]0 o
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; r: q: _3 J) j0 W* m/ ^
  67. ; you may only use these constants *after* the line that loads the extension.* {2 @1 g5 f! ]" A& H

  68. 7 l7 n1 D- k, ?$ J
  69. ;;;;;;;;;;;;;;;;;;;
    6 h& t2 O- @* p% S* M( _7 ~. D
  70. ; About this file ;
    , [0 z2 p9 D0 l: V7 V7 \9 l- Q
  71. ;;;;;;;;;;;;;;;;;;;
    7 Z8 w( I% M" B, n& _" b
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 p- f) N: C2 C* {. u
  73. ; in production environments and one that is recommended to be used in
    - T# o; S. _6 T9 u- t
  74. ; development environments.; x* k  A% b! L4 ], C  R
  75. # H7 ?7 P3 h; c% C9 |9 I
  76. ; php.ini-production contains settings which hold security, performance and
    7 t* A) c0 q7 U, _* N* O8 s
  77. ; best practices at its core. But please be aware, these settings may break% N7 e5 I9 Q2 n2 a% e" t' [
  78. ; compatibility with older or less security conscience applications. We
    ' C% m/ U# ^9 o# d- Q/ M% V
  79. ; recommending using the production ini in production and testing environments.
    ( k$ t* ]( ]: ?% |9 R
  80. : x6 T4 D" L% ^
  81. ; php.ini-development is very similar to its production variant, except it is/ n  N/ |$ E  E, x8 q4 g, S
  82. ; much more verbose when it comes to errors. We recommend using the
    6 j- w3 _2 m. ^9 G( A$ O6 c
  83. ; development version only in development environments, as errors shown to
    5 Z5 C, w+ L& A" m& G. X
  84. ; application users can inadvertently leak otherwise secure information.- T0 \9 I1 T9 q. {5 t% P

  85. & ~  V5 e$ ~3 j
  86. ; This is php.ini-production INI file.
    3 e% f3 o  `3 b$ Q

  87. 3 n; N* R! {$ N
  88. ;;;;;;;;;;;;;;;;;;;" x  v  [* b5 a
  89. ; Quick Reference ;
    : A  L# c; _7 r& R9 V! t
  90. ;;;;;;;;;;;;;;;;;;;9 ^3 n* [  Y' ]- j3 w
  91. ; The following are all the settings which are different in either the production
    ( H  v1 N; X6 s" D6 p
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ) H5 N$ u+ W0 }- M* |+ h
  93. ; Please see the actual settings later in the document for more details as to why
    . d5 L4 D1 H$ G2 z  e1 h# u/ D
  94. ; we recommend these changes in PHP's behavior.6 J+ U$ `  d; r* ^
  95. # X+ V/ {0 u  z
  96. ; display_errors8 f# @! r! b- b  M- ?* \
  97. ;   Default Value: On8 z+ a+ }8 z- [! x' [0 Q+ d9 |
  98. ;   Development Value: On
    3 t& \* `! g: C  j& S! s' i" p' V- M% T
  99. ;   Production Value: Off" F4 F7 v1 T  ^  U

  100. 1 B, W( ?; @# J! o/ w
  101. ; display_startup_errors4 J0 L/ P4 c) {  w. g  x. |5 N
  102. ;   Default Value: Off
    " W, d# i9 x- p4 }6 b- M
  103. ;   Development Value: On
    - |: f% G9 ^. u# J% p- l% t0 e$ J+ U
  104. ;   Production Value: Off9 P* I  q- G# H& I

  105.   p  o1 L( W) x' m
  106. ; error_reporting
    4 i! S: S4 {6 ^
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" h/ r: x3 n( i6 m& {1 X0 ?
  108. ;   Development Value: E_ALL) L5 B1 Y$ O2 B; G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # U* e3 y5 N/ S4 z  ~" X. X" c/ X
  110. 4 p; B9 V: l# j, e1 a2 {
  111. ; html_errors
    8 k' Y! F# v' o+ S+ l
  112. ;   Default Value: On! Z, ?& |9 f  g" l$ a! n
  113. ;   Development Value: On/ l' U# {. J6 Y4 n% E0 Y! V
  114. ;   Production value: On
    2 d7 U+ C9 \6 L1 F/ q+ I; ]

  115. ! Y4 B/ y6 [: F# D
  116. ; log_errors
    3 F0 \) y" }% ^6 v# }5 w
  117. ;   Default Value: Off7 |* d6 i# N! N4 ?
  118. ;   Development Value: On
    : E( |" ?% r7 z' L, c+ g& h
  119. ;   Production Value: On& W; [/ G. G4 O1 q
  120. ! x; S/ x3 Y1 x+ `% x
  121. ; max_input_time1 [/ ]3 V8 V& L: t% c; y0 n
  122. ;   Default Value: -1 (Unlimited)
    * Y4 R8 Z) }3 k
  123. ;   Development Value: 60 (60 seconds)
    $ J- H6 r5 X4 _7 ~4 i; d' e
  124. ;   Production Value: 60 (60 seconds)
      V& m7 C) m8 h" I! Z# ]
  125. % U$ O3 C2 T& k8 w* z0 J' h
  126. ; output_buffering
    4 m8 s' E( \/ R& b  [
  127. ;   Default Value: Off( B5 b5 f& v/ v/ G
  128. ;   Development Value: 4096
    : j! s  K% z  G$ l: Z! G: N. D
  129. ;   Production Value: 4096
    ' F) \% ]/ j  B7 F, M# d/ }

  130. & Z" r$ w& P5 w# u. F
  131. ; register_argc_argv
    1 P, o7 ]# p7 l* Y$ r" E3 W5 K
  132. ;   Default Value: On
    ' J. [+ [7 u' m
  133. ;   Development Value: Off
    / |0 C9 k% i; [5 R
  134. ;   Production Value: Off
    8 z  {9 h  B: @0 [/ d; |
  135. 6 |( @% f' O4 Q
  136. ; request_order
    8 C- y6 ^+ Y: T
  137. ;   Default Value: None
    " R+ c: w5 ]* U
  138. ;   Development Value: "GP"$ u' o& L' w. p- W, q9 w
  139. ;   Production Value: "GP"
    9 d0 n+ V, o/ y0 ~# B

  140.   L3 V3 U* F& C- f# V" H: U2 b
  141. ; session.gc_divisor
    - c6 u: v0 L4 A: |
  142. ;   Default Value: 100
    $ ^& S" U+ B, A& K" a7 E9 O5 a
  143. ;   Development Value: 1000! S6 n$ M- F9 E  X1 k1 k1 ^1 V) W
  144. ;   Production Value: 10008 t( u; e  E  x7 u7 m9 U8 ~# M
  145. $ b5 q) s- o) _* \3 B
  146. ; session.hash_bits_per_character& K- n( j; A8 C
  147. ;   Default Value: 4
    3 v5 U& A$ V  e
  148. ;   Development Value: 5
    4 c! d$ x  C% s/ H2 X
  149. ;   Production Value: 5
    3 t0 u  B* G0 P. k  Z

  150. . g% w& |+ E; b, N$ i
  151. ; short_open_tag7 h# h7 ~. o$ _: y
  152. ;   Default Value: On
    " S& p% @4 e2 k/ t# Z  r
  153. ;   Development Value: Off9 C* U& S5 C/ w2 p) d# Z
  154. ;   Production Value: Off0 x. y1 V, K" Y: W

  155. # u- i. H, O9 x$ ~4 u
  156. ; track_errors
    7 T# h/ u4 u4 N5 C2 j% l
  157. ;   Default Value: Off
    8 b3 _  q# {: \5 X
  158. ;   Development Value: On
    . O2 b% R/ n$ D3 g% Q4 e. s
  159. ;   Production Value: Off
    / T6 ?* V* C+ ?# ~

  160. 4 O( T, Z3 {+ T( E& H1 |
  161. ; url_rewriter.tags2 _, g, N: I/ H, M5 J7 y" U1 O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ \8 W: ?1 c& J+ ]7 Q' t" N
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 J( a/ B9 M) K. g
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ P- ?+ e" B. W& v
  165. ! G- v' Y8 s2 w8 F0 u) N5 h! T
  166. ; variables_order: t) W  M$ K. i
  167. ;   Default Value: "EGPCS"% x4 ?" O- i% s( t2 a1 s  _
  168. ;   Development Value: "GPCS"
    ( j# s& A& B( L5 P/ c, B6 K
  169. ;   Production Value: "GPCS"8 a7 @. t, D% O7 j* Q' v9 \

  170. ! k( D. l& U; c2 {/ h8 |
  171. ;;;;;;;;;;;;;;;;;;;;1 C: g6 J# w# c8 I% v# r0 }
  172. ; php.ini Options  ;
    1 @$ w# \; u: g1 i. p8 d% y
  173. ;;;;;;;;;;;;;;;;;;;;; _. R# g4 u* G+ ]+ g
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"% n5 ?5 _, e. C2 Y( f! e$ h
  175. ;user_ini.filename = ".user.ini"- E9 L1 U4 b1 `% X
  176. . C# F0 m. f4 f; i# Z( l
  177. ; To disable this feature set this option to empty value
    % V: R4 P$ M! f0 ]
  178. ;user_ini.filename =" \1 ]1 S$ P7 ^$ K2 C+ g) G
  179. 3 O, I) r+ N& h( p* Z% J* N4 \
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 @9 d2 M3 ]# [# k( O$ i3 v
  181. ;user_ini.cache_ttl = 300
    " Q! s0 A/ \% M

  182. + G2 B) j  c5 @; e. D. w1 t- j
  183. ;;;;;;;;;;;;;;;;;;;;7 y& ]/ D; x4 M- R5 n. M
  184. ; Language Options ;
    7 x1 j+ ?$ P- H6 E" n! T
  185. ;;;;;;;;;;;;;;;;;;;;  d7 f! v5 ?0 i4 V+ t& f
  186. 9 P; |* k" z1 t0 U  C
  187. ; Enable the PHP scripting language engine under Apache.
      l8 v" x+ H9 m2 l) F2 R
  188. ; http://php.net/engine
    9 t2 M  d6 t" t  k- t! l# b
  189. engine = On
    % K+ Z8 W3 Q. [

  190. / A" A3 T6 y( R6 z3 k9 S; S
  191. ; This directive determines whether or not PHP will recognize code between- W/ X+ X3 d' m( H/ k  v. G
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 E+ _0 i9 d1 E# i5 K# R; i
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & l( L# g1 [: g. M: K! e
  194. ; should be disabled, as enabling it may result in issues when generating XML) V2 a( {& x8 G' B# I/ Q, _8 z
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 L, b6 t  A2 [/ K, s0 s8 {
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 n% \1 L' X9 x; O$ z" h+ Z, p
  197. ; used regardless of this directive.- ~+ O! v9 w+ C  k3 G9 y5 _" U
  198. ; Default Value: On' F# b. u0 W, l* h! S$ r, e
  199. ; Development Value: Off
    ) P$ u& ~/ G2 l8 W9 b
  200. ; Production Value: Off" h  v  Q. k+ M- r7 G' D
  201. ; http://php.net/short-open-tag! z* q" i# {: U" }) A6 }+ L* |
  202. short_open_tag = On
    ( A) I! p9 ~* k$ J" \

  203. 8 \5 l4 N. I$ U( f5 k
  204. ; The number of significant digits displayed in floating point numbers.7 x, C8 m& v" T; d. i- O, y
  205. ; http://php.net/precision
    " L" m% x5 x% L  ~
  206. precision = 141 B8 C, q. O3 x3 q' O
  207. ; b; ]- d4 L6 M5 G
  208. ; Output buffering is a mechanism for controlling how much output data( ~6 p; \4 B( f8 _8 ?3 a1 Z8 I
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , t( I2 S6 j" g3 L
  210. ; data to the client. If your application's output exceeds this setting, PHP8 e* d# y# v% z# j
  211. ; will send that data in chunks of roughly the size you specify.
    + ]: M( x" ]( e% q. t2 q
  212. ; Turning on this setting and managing its maximum buffer size can yield some& V1 m/ `. X2 ]/ L2 ^
  213. ; interesting side-effects depending on your application and web server.. l1 s- d, G# n. Y
  214. ; You may be able to send headers and cookies after you've already sent output* N% C, ], x& g, y# @) h
  215. ; through print or echo. You also may see performance benefits if your server is  x2 H7 C. S& j0 _8 t# M
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    - y0 T3 J3 j) D7 d
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ K/ i" v6 x  @/ v' @
  218. ; reasons.# R( }/ C/ b+ V
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 i0 x) U, G5 k7 C. K9 D) x  a8 P& v5 r
  220. ;   functions.
    4 f4 _% j9 w0 a  x5 F. O; D) c
  221. ; Possible Values:
    . T; \$ |' @$ b% `- }
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)1 S6 l) M2 J: W% C* x6 b2 a
  223. ;   Off = Disabled
    . x$ a5 @& j1 j1 f3 W% J
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 t0 v6 J% A" [  v" M9 I, N
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    : @3 {- O1 h2 K
  226. ; Default Value: Off" Z5 v% l; w3 J
  227. ; Development Value: 4096
    4 x! A3 j, f* p' c% e1 {
  228. ; Production Value: 40965 U% `0 L2 Q: D+ }4 A
  229. ; http://php.net/output-buffering
    9 D& L6 Q# d' F' @: v! \
  230. output_buffering = 4096
    # L* S1 L1 K# \# A' p% D2 @! R) X

  231. 3 O: E# |6 r# y* p
  232. ; You can redirect all of the output of your scripts to a function.  For
    8 g/ j  `. K/ k# |6 ]' m
  233. ; example, if you set output_handler to "mb_output_handler", character( f7 T1 ]) m: i( B9 S; J1 u/ `/ S1 O
  234. ; encoding will be transparently converted to the specified encoding.
    ; |2 c" o5 B6 l
  235. ; Setting any output handler automatically turns on output buffering." W  \8 Y) l- f  C. J& U1 \* t! ~
  236. ; Note: People who wrote portable scripts should not depend on this ini, W* A$ M, f  Q9 L: B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().' P/ p2 V; L. N, ^
  238. ;   Using this ini directive may cause problems unless you know what script
    5 R  I: C+ o: ^) m5 ?6 y0 ~( A
  239. ;   is doing.9 l  p# H% K$ V5 G- p
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & s5 G/ Q7 j" w- ^
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      K8 d* E& S7 k8 S% b
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 e$ Z. m" s9 Z- Z, J
  243. ;   Instead you must use zlib.output_handler.2 Q- |/ p: i, v: z: b5 Y
  244. ; http://php.net/output-handler
    - f! u+ _! l. ], j) L* v! w9 X
  245. ;output_handler =
    2 E) `; K6 @5 j( u1 I- |

  246. 0 r7 }+ M) C9 d" |; R
  247. ; Transparent output compression using the zlib library
    $ O% H% g$ _5 F2 D/ ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    / j# P3 R; f6 H; W/ w# n8 ]
  249. ; to be used for compression (default is 4KB): F0 y7 h4 R, o0 c/ P5 j1 X
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP, E# k0 D* T+ \8 u: H8 i
  251. ;   outputs chunks that are few hundreds bytes each as a result of  |# {9 X5 Y4 H' L+ h
  252. ;   compression. If you prefer a larger chunk size for better& N& G4 \6 G7 r5 h
  253. ;   performance, enable output_buffering in addition.
    % H* X; W7 N: q6 n7 n
  254. ; Note: You need to use zlib.output_handler instead of the standard
    . V/ U6 z) L' A; o+ z
  255. ;   output_handler, or otherwise the output will be corrupted.
      w) ]0 e2 d7 s& @" h) Q( h5 I
  256. ; http://php.net/zlib.output-compression
    7 X; x7 e. E8 @/ p
  257. zlib.output_compression = Off) g7 J$ E* G% z+ z
  258. & s7 @2 ?* Z, @
  259. ; http://php.net/zlib.output-compression-level
    2 R7 o5 |, i: z
  260. ;zlib.output_compression_level = -1
    4 V) I6 i0 |$ ~( K
  261. ' E% }& Y! ]  V) Q, ~
  262. ; You cannot specify additional output handlers if zlib.output_compression
    3 U) r" H1 Z& S4 o8 P! a
  263. ; is activated here. This setting does the same as output_handler but in
    6 x$ k0 Z$ }$ F
  264. ; a different order.) h1 J# e0 Z$ o
  265. ; http://php.net/zlib.output-handler
    2 l2 Q* M5 M3 r
  266. ;zlib.output_handler =  T1 w  P5 l# `$ L
  267. ; s; N- Y9 A% S) X1 ]8 ]' X9 H  w5 q
  268. ; Implicit flush tells PHP to tell the output layer to flush itself9 V; Q% e* |: T; M5 H
  269. ; automatically after every output block.  This is equivalent to calling the  t( a* S5 X1 M. v
  270. ; PHP function flush() after each and every call to print() or echo() and each3 j; ]' n1 E" W8 }0 i
  271. ; and every HTML block.  Turning this option on has serious performance" L3 b5 c/ y' m. J. g
  272. ; implications and is generally recommended for debugging purposes only.
    3 I) x& x- G7 v$ l- @2 ~
  273. ; http://php.net/implicit-flush
    7 U+ g" ^- y! n, g, {8 N: ^
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    % |- {# B0 k" {" z4 R/ g
  275. implicit_flush = Off6 }/ _8 l5 K' A6 C
  276. , q( v) r3 n6 u5 _
  277. ; The unserialize callback function will be called (with the undefined class'
    ' \7 {& x1 G5 `! |# G
  278. ; name as parameter), if the unserializer finds an undefined class
    * q4 l4 b( r; _4 e8 w
  279. ; which should be instantiated. A warning appears if the specified function is. f, @; o4 M% ~0 j/ |
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ) d! A1 K' D, `1 p6 r
  281. ; So only set this entry, if you really want to implement such a
    2 t1 y* J6 Z9 Y8 f. L* E
  282. ; callback-function.
    2 f# c" t7 o& \4 s5 x$ C
  283. unserialize_callback_func =: H  G& O! n; X8 w' O1 |

  284. / ]: ?* a; x6 ~$ Y, b3 `4 s
  285. ; When floats & doubles are serialized store serialize_precision significant1 z$ {( D  C" J+ R1 ?& w$ j. ]0 [8 p
  286. ; digits after the floating point. The default value ensures that when floats* D; E% t/ n  R( g
  287. ; are decoded with unserialize, the data will remain the same.5 o% o# ?" I, V" L; t
  288. serialize_precision = 17, f8 E7 k5 U. Z0 v
  289. 5 g) u$ i' V. g) r/ s
  290. ; open_basedir, if set, limits all file operations to the defined directory
    $ g! ^0 n0 Z. i; T
  291. ; and below.  This directive makes most sense if used in a per-directory
    % Y. g9 @. ^/ G( ~; D8 W9 c$ y
  292. ; or per-virtualhost web server configuration file.
    ' }& ^* \  t! m4 t, S1 O. x. Y
  293. ; http://php.net/open-basedir( g9 b7 l* q9 I4 w, _
  294. ;open_basedir =" x: G. |, q: x4 E
  295. 5 i. \0 I4 o" Z) v7 J9 T
  296. ; This directive allows you to disable certain functions for security reasons.
    7 u/ x; s- z! ]# `$ d1 a3 Z( G
  297. ; It receives a comma-delimited list of function names.
    3 P( u( _$ }: H
  298. ; http://php.net/disable-functions
    3 \& {" q9 o6 r, C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ' |, N9 [1 \5 s$ w
  300. * P( ]6 v" c. f4 O0 t/ q- q3 g+ D
  301. ; This directive allows you to disable certain classes for security reasons.9 o  f9 X8 I6 k
  302. ; It receives a comma-delimited list of class names.
    " z1 |. P7 k; d( M, P5 b
  303. ; http://php.net/disable-classes+ @7 {2 m5 h9 h% l1 x" d. l1 J
  304. disable_classes =/ A: Y! O1 O& a6 K

  305. . \* i/ p: ]5 V/ f9 z
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in% E& V9 J- I2 k5 y$ H3 R0 F
  307. ; <span style="color: ???????"> would work.2 n0 s: r/ j0 ?( S# w
  308. ; http://php.net/syntax-highlighting
      u/ \7 ~4 B3 u/ y0 c
  309. ;highlight.string  = #DD0000* v1 v" \/ E# ~4 S, r6 Z. S
  310. ;highlight.comment = #FF9900
    / T! W4 R0 J' D. @* o2 ~
  311. ;highlight.keyword = #007700
    $ A( _2 q$ J: o( B4 @0 D$ q, }* a- v
  312. ;highlight.default = #0000BB
    + D% ~$ ^+ Y* A6 V% k6 R* C; s
  313. ;highlight.html    = #000000
    , p+ T5 l. |; C# E$ K$ c

  314. 2 \3 A% a. Z6 }& `3 T7 L( z* w4 o. U
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    % {+ G$ l3 S1 H+ [( d
  316. ; the request. Consider enabling it if executing long requests, which may end up
    " B2 w$ u3 |( X
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 [" }. e% I6 X) }+ k' w
  318. ; is to disable this feature.' s- f9 f7 g# b7 \
  319. ; http://php.net/ignore-user-abort7 N+ z6 W# Z( B. W' o% p- w( z
  320. ;ignore_user_abort = On
    9 V  }" k; @$ ?9 V2 m

  321. ( I9 a! v! c$ I& p9 n  i7 g
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* ]! p, H- a; ?- F: m9 r4 N) e- R
  323. ; be increased on systems where PHP opens many files to reflect the quantity of  G! D2 _$ Q: N8 z; P# b* ^
  324. ; the file operations performed.
    ) w6 `/ z- [  ]1 v
  325. ; http://php.net/realpath-cache-size$ o( D4 z1 ]4 Z# i$ J
  326. ;realpath_cache_size = 4096k
    0 C' a$ y& {  h) E/ L2 z

  327. ) J* f) O5 H9 L/ d6 }7 m! M2 g
  328. ; Duration of time, in seconds for which to cache realpath information for a given- I+ ?. ~( J7 z4 F+ S; R1 y1 b
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    0 n4 E" i9 H8 q" v2 v
  330. ; value.
    0 M. g, }  F$ U0 v% g8 s" ]
  331. ; http://php.net/realpath-cache-ttl
    $ R" q' V+ n" N3 S# Y1 k
  332. ;realpath_cache_ttl = 120
    7 j# ]: L7 E" m
  333. # B# t" z6 ~6 V0 e" l
  334. ; Enables or disables the circular reference collector./ e. H6 J3 G# w  B4 i
  335. ; http://php.net/zend.enable-gc  T2 ^; y4 H4 k/ u# V+ p
  336. zend.enable_gc = On
    $ c9 |/ k6 H* A2 y' S6 G) R

  337. . u: R/ L3 N) @2 r7 e0 V7 X
  338. ; If enabled, scripts may be written in encodings that are incompatible with- f  ]' F: I% y0 U5 x5 w1 P
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 x' ^+ M4 g! t! t& h8 Z1 R
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; u; U% j( K( b8 D6 M
  341. ; Default: Off1 R! {6 c5 j( n6 B) X% \0 H
  342. ;zend.multibyte = Off
    8 t2 K9 |6 S8 J! t$ ?

  343. ) U# U: t. d" `
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    . M, t! |  U' Z- b3 m$ a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script." V* a8 l7 [- J# M2 M7 E
  346. ; Only affects if zend.multibyte is set.
    3 b+ I0 B. f, ~! P
  347. ; Default: ""
    # I0 b  l* Q+ F- w  |; M
  348. ;zend.script_encoding =  S# F9 J, j% O0 [5 K9 k+ u

  349. ' b* G# W  ^# F8 L, K0 V/ |2 X: ~% s5 R
  350. ;;;;;;;;;;;;;;;;;
    ) Q1 P) o' {  f3 d
  351. ; Miscellaneous ;
    1 z' O! g+ O$ L0 N2 Q: p2 t8 @4 ?$ F
  352. ;;;;;;;;;;;;;;;;;' \' B* [  r2 N
  353. ( J( \( n# T" _' @4 l& b" v+ f
  354. ; Decides whether PHP may expose the fact that it is installed on the server! k1 E: i% N) m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    - V/ S5 j+ @  ?3 f: ]7 G
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ I4 `  a0 b8 l' J' C; R
  357. ; on your server or not.
    4 G# m! |. ?+ R! w+ ~: F
  358. ; http://php.net/expose-php& E( M- {+ C; m& s. e- f2 v6 w- V
  359. expose_php = On# U# q' t- D( X) z

  360. ; D' p- I1 J( e2 \0 e
  361. ;;;;;;;;;;;;;;;;;;;8 s0 E, B3 K& M: J# a
  362. ; Resource Limits ;
    ! |6 I3 l2 ]1 J
  363. ;;;;;;;;;;;;;;;;;;;
    + {( T% L; s7 [/ B  o# c* d

  364. , a& z+ Y7 m9 a9 G! v% s
  365. ; Maximum execution time of each script, in seconds8 ]+ K9 t! q: g- U9 I! C* Z
  366. ; http://php.net/max-execution-time; v) J0 b9 w7 _" q# X
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% Y( J* X1 J. \7 v; A" X
  368. max_execution_time = 300$ A, }+ @' _+ D+ F2 @! _" w3 y
  369. $ \( w: ]1 X1 o1 F
  370. ; Maximum amount of time each script may spend parsing request data. It's a good' x# s/ o" L/ l; h7 w; p
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly5 @" ]% A; I2 N* T
  372. ; long running scripts.
    ! E/ a0 K6 o. g
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( r. Z; W/ N  e1 x5 x9 j
  374. ; Default Value: -1 (Unlimited)1 _. J3 S( L% I/ a) l
  375. ; Development Value: 60 (60 seconds)
    + f7 J/ ?) e5 F$ b: D
  376. ; Production Value: 60 (60 seconds)# B  C1 h5 r. l, @# E' j
  377. ; http://php.net/max-input-time0 w+ s/ ^$ h3 |+ {# _
  378. max_input_time = 60
    - o) I1 j; o( a: x
  379. - {  R0 C; C8 Z
  380. ; Maximum input variable nesting level
    0 x4 t) g. ?- X: \0 r) a8 M
  381. ; http://php.net/max-input-nesting-level
    + e! E0 T4 {$ c* O( G; e9 g
  382. ;max_input_nesting_level = 640 L2 \% j* D9 X6 U1 w, i

  383. 5 \& w8 h& y1 Y3 h
  384. ; How many GET/POST/COOKIE input variables may be accepted
    % e3 i* r( B7 Q7 C6 R6 }4 q
  385. ; max_input_vars = 1000
    7 b3 y! e/ ^5 b7 K0 M. m
  386. 6 g  z2 S9 x# y1 }
  387. ; Maximum amount of memory a script may consume (128MB)( n1 U4 D. W% D4 s7 v
  388. ; http://php.net/memory-limit
    ; V5 X# `6 \2 t8 e  ]
  389. memory_limit = 128M
    # D& K% a7 R2 L. h4 G
  390. + S0 R4 M: U4 M$ [$ _
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 z& R5 }) o' X
  392. ; Error handling and logging ;
    : V* y- w" X9 t: d. R
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ a* L" s1 M. i' L# q& t; i

  394. * J+ v( l1 c  ]' b+ _4 Y
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    1 e! Y. V3 `, E) O6 W
  396. ; it to take action for. The recommended way of setting values for this; G! V0 D0 c: n4 m0 T5 P$ Z$ [
  397. ; directive is through the use of the error level constants and bitwise8 f4 t# ?+ b/ Y4 c0 w
  398. ; operators. The error level constants are below here for convenience as well as5 D4 I7 M1 H2 @, ^2 X  o! ?
  399. ; some common settings and their meanings.
    4 J5 W$ P& X& g
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* O5 h" l' ~3 Y4 R7 D, S% n
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and& a) q3 [2 B0 b4 g! q
  402. ; recommended coding standards in PHP. For performance reasons, this is the! Q% m7 E" \5 K! z* x
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    9 m& Q& x- d! i: E* z/ m
  404. ; resources complaining about best practices and coding standards. That's what
    % Q' W4 r9 K: {/ A$ s2 H( n4 d( [
  405. ; development servers and development settings are for.
    / u! h& ~' X+ z) \6 z0 e- C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( Z, d  e2 Y# n- K3 v
  407. ; means it pretty much reports everything which is exactly what you want during) \) U# f- j8 M: u$ d5 E) D2 `
  408. ; development and early testing.
    6 \* u, T1 s8 P$ M
  409. ;
    4 \6 J9 U$ b+ @' C, t# x
  410. ; Error Level Constants:9 t" t0 c+ s: D2 t/ t
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 G$ p2 R1 E2 I2 H* E" h  J" S5 ~+ j$ {
  412. ; E_ERROR           - fatal run-time errors+ U0 F* o2 b2 @" s$ A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors1 D; e- U) H3 O/ |& d
  414. ; E_WARNING         - run-time warnings (non-fatal errors)1 k) u& x5 c$ W* b+ r( E
  415. ; E_PARSE           - compile-time parse errors& |' i! G1 b; T" L( q# J
  416. ; E_NOTICE          - run-time notices (these are warnings which often result! @8 w2 K; O. p- c
  417. ;                     from a bug in your code, but it's possible that it was
    2 `! ~' y# ^; y5 b. v
  418. ;                     intentional (e.g., using an uninitialized variable and4 k! E9 \, N! O' J* [
  419. ;                     relying on the fact it is automatically initialized to an9 V* ^3 M: [& c$ {& G2 X' K
  420. ;                     empty string)4 Z' {5 n. A3 g
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; h8 [, x* ~$ m5 C$ Y
  422. ;                     to your code which will ensure the best interoperability
    0 c; g' v) O# k3 u" U, Q) A
  423. ;                     and forward compatibility of your code% T# G+ X6 _3 ]! Q3 D
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" o; g  k2 Y8 K& `  r5 c
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      Z- [  |; {" E8 i! U1 X1 b
  426. ;                     initial startup/ {# _# G9 D4 c9 X3 M$ e
  427. ; E_COMPILE_ERROR   - fatal compile-time errors5 m3 H9 Q5 G6 J) \1 M3 Q
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)1 K! N9 Q" J" C
  429. ; E_USER_ERROR      - user-generated error message
    4 B+ M& k  K/ ~; p5 p1 l: {
  430. ; E_USER_WARNING    - user-generated warning message
    4 V+ \, W8 d' P; r/ V! j# B
  431. ; E_USER_NOTICE     - user-generated notice message
    ! e% K9 |: y3 C& Q; ?
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    * R4 e) R0 t- P3 x2 T
  433. ;                     of PHP
    - ^+ c7 d5 ?2 u5 H$ @
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 g% N( i! e7 `  F0 l4 C! E
  435. ;1 g- y. Z! Y) u* w8 D2 p% I
  436. ; Common Values:: x& K' |, h. U# X, {  j& [
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.). p+ b4 v; U/ E, |6 ^6 l
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    9 K  c9 P+ I2 y0 h
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
      u9 q, Q; ^: h6 `+ m! D( p- r
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)8 R. x! [" \$ g# @* R8 h
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 k2 U; m" h/ M  u6 o4 ?1 w% E1 \
  442. ; Development Value: E_ALL
    3 B: m7 T, ^7 V/ g7 O2 c0 p% K, |% Y
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: b1 }/ C; X" j1 X( K* `
  444. ; http://php.net/error-reporting+ \) U6 S# M8 t
  445. error_reporting = E_ALL & ~E_NOTICE
    * E% {* e3 ?8 J% w" Q) ]
  446. $ ^. E( h. m6 M4 o3 p1 K" [$ r
  447. ; This directive controls whether or not and where PHP will output errors,& z+ I) w( g- ^/ A& {( Q' ]
  448. ; notices and warnings too. Error output is very useful during development, but
    / I( [" o" _* x' l
  449. ; it could be very dangerous in production environments. Depending on the code
    6 o! Y2 I9 |2 J) o) h* L
  450. ; which is triggering the error, sensitive information could potentially leak
    5 x0 ^$ u2 ~0 f- w9 q& Y
  451. ; out of your application such as database usernames and passwords or worse.
    ( O! p% L2 N5 d, R2 C
  452. ; For production environments, we recommend logging errors rather than
    ! t% c, U+ S7 ?0 U' D
  453. ; sending them to STDOUT.
    - \" F, w9 k  @- M
  454. ; Possible Values:
    + J: m2 ]9 _  T9 l8 ?+ `
  455. ;   Off = Do not display any errors# j5 Q+ y" d0 b( J0 A" \
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)1 ?7 B- n) J9 Q8 a1 J. [
  457. ;   On or stdout = Display errors to STDOUT
    / g7 `! `9 U" ~# B' n& H
  458. ; Default Value: On; i. ~' |/ d8 u/ L
  459. ; Development Value: On3 R0 V5 P  p& C3 B
  460. ; Production Value: Off5 [+ W! n! o* F
  461. ; http://php.net/display-errors
    ( e% m" \. N, @
  462. display_errors = On0 c: L/ v. `: R& a( M4 h

  463. ! D3 O/ R- d& I$ H2 _& Q+ F9 ], `
  464. ; The display of errors which occur during PHP's startup sequence are handled
    + |1 R% a* l$ ~& s* d$ G* M
  465. ; separately from display_errors. PHP's default behavior is to suppress those/ f) D7 W" r1 Z8 f  G  E9 B
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ; x( ]* \1 y6 K
  467. ; debugging configuration problems. We strongly recommend you
    - I3 G7 S0 m6 c5 ]- P, k
  468. ; set this to 'off' for production servers.& I! v, R  n0 i; f; x
  469. ; Default Value: Off1 R, p" R2 n# x; N; Y5 Q) g7 {3 {# |
  470. ; Development Value: On: Q, w7 E& e+ C  F  O- q
  471. ; Production Value: Off" B3 p; L- t1 Q+ @. ]4 Y
  472. ; http://php.net/display-startup-errors
    % n4 F9 t# J" f# ~$ @
  473. display_startup_errors = Off
    * `" G8 y. C& s" W* i: Z$ L- H
  474. * v, X) Q$ N4 A; B( `
  475. ; Besides displaying errors, PHP can also log errors to locations such as a3 z& Y3 F, u9 b+ b$ u1 v7 f' S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ) w8 s: u+ [- z7 v1 G6 j" n
  477. ; directive found below. While errors should not be displayed on productions
    8 b4 V: H5 I! r8 X- R( O$ K
  478. ; servers they should still be monitored and logging is a great way to do that.
    0 T- `/ B; b3 ~7 K, T5 M: x
  479. ; Default Value: Off+ _! {; A- n' ^) }2 t/ h5 O
  480. ; Development Value: On
    9 P! f* l& \; N# L9 p/ j6 n
  481. ; Production Value: On
    * A6 q! t) D6 _8 X. D# t1 Z
  482. ; http://php.net/log-errors# `2 l! E" }( \$ `9 r, {5 A
  483. log_errors = On; O/ Q& o# m* p% {: K; a; i2 s6 h

  484. $ o' G5 T! h1 }) G- p8 z
  485. ; Set maximum length of log_errors. In error_log information about the source is
    # M) J, H) @* s( Z
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.- F% O' V) D! O# a% I) T
  487. ; http://php.net/log-errors-max-len
    : _  k, ?4 ~4 S6 h3 Z( L; i) J- Q- I
  488. log_errors_max_len = 10248 t+ k7 y& p; j/ u9 d8 t8 V

  489. ; u( |6 `/ Q" h
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / Z$ M9 C7 L( I, v2 r
  491. ; line unless ignore_repeated_source is set true." p" T0 M7 D5 X' H0 t% d5 b# E; a
  492. ; http://php.net/ignore-repeated-errors7 s2 B/ g: J- N+ X. j
  493. ignore_repeated_errors = Off
    ! c/ a( u7 ~& t% q' V! n! t
  494. # n  s4 D1 c) N5 ~) `/ @+ A
  495. ; Ignore source of message when ignoring repeated messages. When this setting; i2 i7 ]) Y3 b4 Z$ u9 }( D6 ]$ y
  496. ; is On you will not log errors with repeated messages from different files or
    0 E7 @% n7 c; C/ M, }) a; |
  497. ; source lines.
    ' o, |6 a0 @0 Y4 _$ Q! b% `) Z  j
  498. ; http://php.net/ignore-repeated-source" y$ j3 E4 H8 x. n6 V# z
  499. ignore_repeated_source = Off
    / U# b9 N+ w* b9 j
  500. * {' V! O7 a/ Q1 B$ Q( O) e
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on$ S* c/ {& Q: w) I8 t8 ~
  502. ; stdout or in the log). This has only effect in a debug compile, and if0 k7 O7 s- y. d7 ^' h( e8 o
  503. ; error reporting includes E_WARNING in the allowed list0 h; R% `0 ?  ^  t5 d. i
  504. ; http://php.net/report-memleaks
    / v! [' b( i+ a/ ^. f
  505. report_memleaks = On
    0 b% d3 h1 u0 ]: ~1 ]- R- z

  506. 9 u! Q4 b% c" x" u! `
  507. ; This setting is on by default." R' K' N9 y3 g5 `. v& @! V+ l: ^
  508. ;report_zend_debug = 05 u8 y* I% X# P

  509. . P$ x) q+ p7 q" p  \2 I# y3 d
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value9 f1 z4 ~4 s3 t, C2 P4 c4 _- m2 o8 G1 w
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    & s$ Y% }8 J1 [$ o: G
  512. ; however be disabled on production servers.; [2 I; U6 \' S* Z) v1 a/ \
  513. ; Default Value: Off
    8 G4 Y- p$ W5 T9 N: p9 O
  514. ; Development Value: On
    & i* q  ]. H9 S  e3 b
  515. ; Production Value: Off
    % U6 Z- H9 c* _3 q+ p+ x
  516. ; http://php.net/track-errors
    * l2 n! O) A  A9 X- l2 w7 z
  517. track_errors = Off$ m. i' a( O) a/ T- K7 m( e
  518. ! s, |+ ~  o, ~: [* j+ F6 Y* h+ {
  519. ; Turn off normal error reporting and emit XML-RPC error XML2 _, @3 [6 j+ u5 |5 \' U
  520. ; http://php.net/xmlrpc-errors
    * a- |7 d1 r# E
  521. ;xmlrpc_errors = 0
    ! I$ B  `: G. f" z

  522. ; Y; T5 i# k: x2 |# |8 D5 @
  523. ; An XML-RPC faultCode- F2 _; J  O' @, ?
  524. ;xmlrpc_error_number = 0
    ( |+ k4 @; R3 u/ t# k! o# b
  525. , ^! a4 b9 J& r' d# L7 v
  526. ; When PHP displays or logs an error, it has the capability of formatting the3 ?8 T% g, l% j: X% x
  527. ; error message as HTML for easier reading. This directive controls whether
    & q! h2 ^/ a2 N7 m) I1 C
  528. ; the error message is formatted as HTML or not.
    , O4 h6 V3 g8 t( [* K
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI- U  r8 [" p- B9 M0 a% i
  530. ; Default Value: On! l; h9 H/ n5 W2 U) j0 ]1 F' X
  531. ; Development Value: On6 a+ ^- _: Z1 M8 J7 j% Q
  532. ; Production value: On
    7 d& s7 H, R/ p/ @
  533. ; http://php.net/html-errors
    ; {8 G/ E) t- D- j: R+ B
  534. html_errors = On
    1 K# Q) j1 V! I# N0 E

  535. 6 S" O3 N1 X$ a& T5 n1 u
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 I- \3 s- U7 n9 \/ r
  537. ; produces clickable error messages that direct to a page describing the error  U: }* A# S+ p& d/ d5 A) H
  538. ; or function causing the error in detail.
    & J1 h, L- l/ C" x! C3 c3 e
  539. ; You can download a copy of the PHP manual from http://php.net/docs4 ?5 m! [" J  \. X  }* {$ N: v
  540. ; and change docref_root to the base URL of your local copy including the6 @, [$ y, r: d1 `
  541. ; leading '/'. You must also specify the file extension being used including6 z) e/ k3 f/ n8 E7 ~1 }2 B
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    & n" E8 s) C6 i9 N# s0 t
  543. ; case no links to documentation are generated.
    8 P4 Y" ?' j  W+ t! T
  544. ; Note: Never use this feature for production boxes.) }3 T% M# _5 x
  545. ; http://php.net/docref-root
    3 Y' U) ]$ n, a7 b7 g6 Z. h
  546. ; Examples
    $ Y2 N( _# I# M; F( ^
  547. ;docref_root = "/phpmanual/"( B- L6 v: i+ M# V8 u8 C. N
  548. & W4 i7 v- `: z/ k/ l' Z
  549. ; http://php.net/docref-ext
      C$ x5 w/ c1 e6 C. I) {% o, `! _
  550. ;docref_ext = .html
    ; v6 F5 B. M4 M' o! X, C1 O

  551. : _, |" C8 M& F/ }& D9 c. b
  552. ; String to output before an error message. PHP's default behavior is to leave
    # B. N" i# F0 T( m
  553. ; this setting blank.
    # c# e- b8 V1 ^, _5 n# @# a& b% ]
  554. ; http://php.net/error-prepend-string
    0 E! I9 O. i) ~
  555. ; Example:+ z; p0 H  J4 [2 V
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    + A  F8 R2 j5 j7 u9 F; I6 q
  557. ! l' f# j# b* w0 K, g* z! R
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 z# s/ Q' H6 Z8 w
  559. ; this setting blank.  {" Z. N/ ?6 B1 `1 E7 D
  560. ; http://php.net/error-append-string
      h& i7 e) B/ R% `* ^( ~
  561. ; Example:
    - e3 W; n  P2 W
  562. ;error_append_string = "</span>"
    - V! ~) |7 ], B8 L: _+ i" R; K, }
  563. 3 l4 a% r7 f9 N2 `% ~3 x, J
  564. ; Log errors to specified file. PHP's default behavior is to leave this value4 x1 {. j2 d( t! Z; i+ T
  565. ; empty.
    & k/ o: A3 {' Y' W  z
  566. ; http://php.net/error-log
    4 P$ I' S  A$ D# R! m
  567. ; Example:1 f# K+ b, {! s  {( ^: R
  568. ;error_log = php_errors.log& u; a. V: |& v& b/ j
  569. ; Log errors to syslog (Event Log on Windows).
    + O$ M( i9 W- i. {
  570. ;error_log = syslog
    - Q+ L" W. c/ O; ?

  571. , H7 ]8 d) L; r' `
  572. ;windows.show_crt_warning
    $ d& h0 c0 l) e
  573. ; Default value: 0% |$ e+ i- n5 o# Y
  574. ; Development value: 08 g4 C& U7 i  g1 P& L
  575. ; Production value: 0
    / L$ L0 h7 p1 {9 Z9 y

  576. ; K5 e( v$ X. |8 L
  577. ;;;;;;;;;;;;;;;;;
    8 X! {7 j  J" F3 ]5 c" H
  578. ; Data Handling ;
    # e: Q# l% z! F: {, k0 m/ n
  579. ;;;;;;;;;;;;;;;;;; Q& U9 I: [& Z% @1 R$ A- Y" [- e
  580. ) o1 A0 w5 P- f/ ~% a  e# i
  581. ; The separator used in PHP generated URLs to separate arguments.6 F' p3 E! T: [9 ~8 V# P
  582. ; PHP's default setting is "&".
    . K8 r8 Z7 U1 _+ ?( d) B
  583. ; http://php.net/arg-separator.output" q4 t1 [/ i) l4 `
  584. ; Example:
    $ c. b' F( z- q9 F$ M' ]
  585. ;arg_separator.output = "&"/ w! L' l1 p& I6 o- ~
  586. ! h9 F' K3 q- o2 ]- \4 n1 T, ?! y: N
  587. ; List of separator(s) used by PHP to parse input URLs into variables.1 E( P9 Y/ J3 X  e$ r0 l9 K
  588. ; PHP's default setting is "&".7 ^' i: A; g! @! r% {" _
  589. ; NOTE: Every character in this directive is considered as separator!
    4 Q4 l1 X/ I; ?& V' t3 G
  590. ; http://php.net/arg-separator.input
      u/ k# i! o. t
  591. ; Example:
    - ^; N' }6 c8 G. f9 R  C& W
  592. ;arg_separator.input = ";&"* ~2 b) [, K/ n( y$ F4 t  I+ t
  593. / S8 I: l0 E1 I; N/ Z5 P$ Z
  594. ; This directive determines which super global arrays are registered when PHP8 q- O# g! K% U8 D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    # q8 }; i% f9 E
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' o  Y' f: S/ S. E
  597. ; paid for the registration of these arrays and because ENV is not as commonly; _1 }. A3 L3 P4 E
  598. ; used as the others, ENV is not recommended on productions servers. You
    , V+ ~5 f9 B7 X2 H8 q
  599. ; can still get access to the environment variables through getenv() should you- S" \' H/ R* O
  600. ; need to.( G9 d* Q% k. W8 p( K9 E2 o$ ]
  601. ; Default Value: "EGPCS"
    " W& c/ l# c6 `% f. |) Y: {
  602. ; Development Value: "GPCS"* Q$ t7 D* \/ @
  603. ; Production Value: "GPCS";
    , j' X1 B: Y* _) E' `
  604. ; http://php.net/variables-order
    7 n9 R8 G7 y7 m( T. V
  605. variables_order = "GPCS"
    . T4 M$ }  Z% \# a
  606. ; `$ `( l4 P! J) S. B+ s
  607. ; This directive determines which super global data (G,P & C) should be" P9 Q  a/ X/ }9 o1 @( B
  608. ; registered into the super global array REQUEST. If so, it also determines  F$ m7 w" J/ q7 j) C1 l) Q
  609. ; the order in which that data is registered. The values for this directive. N- q# n, m1 m; B, v! {2 B
  610. ; are specified in the same manner as the variables_order directive,% ?9 i0 f3 u. `8 O" Z! X* e* I
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& W+ q( {' Z' Q; m  [* y
  612. ; in the variables_order directive. It does not mean it will leave the super
    7 |6 K5 ^+ i. ^( ^. W5 S
  613. ; globals array REQUEST empty.
    1 M2 g7 n0 o, X- v+ t5 R1 b
  614. ; Default Value: None
    ' R% b, W0 r4 Y) z
  615. ; Development Value: "GP"
      S2 u, ~' B7 t' f; B. H) N
  616. ; Production Value: "GP"  \' |* v) m% l" P9 `5 w
  617. ; http://php.net/request-order& Z/ I: T% e5 }( ^- t
  618. request_order = "GP"
    # t! m, ?7 G* ]' Y
  619. 2 y! }2 K+ `5 `' b' B- x+ O
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    - j7 f5 r' I7 n( v- y. k
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script  y/ a+ a8 W, Z9 |$ j& W
  622. ; is invoked. $argc contains an integer representing the number of arguments
    + G; f1 {% X, y+ ]+ r' n! I/ E1 U
  623. ; that were passed when the script was invoked. These arrays are extremely5 Z9 C0 ~- G" L  j" N
  624. ; useful when running scripts from the command line. When this directive is
    * ?1 j/ ?/ L! j, N3 R$ a! T
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; k$ n& d; z+ r5 A4 Y8 Y8 P: j
  626. ; a script is executed. For performance reasons, this feature should be disabled$ l( y3 j7 b' V, [. O
  627. ; on production servers.
    5 [2 V& d9 N- ^# c- _, H
  628. ; Note: This directive is hardcoded to On for the CLI SAPI! @( I3 o: H5 b" e+ p
  629. ; Default Value: On# l0 {( m- ]# \0 X% z. }9 R! ~
  630. ; Development Value: Off
    4 }( O0 u& i$ G: G# j+ R1 g
  631. ; Production Value: Off/ {' L" b4 a8 z4 x3 E
  632. ; http://php.net/register-argc-argv
    ) i7 ?' }7 p! R: c, b% I
  633. register_argc_argv = Off- [7 M) J* ]' o$ U5 d& Z' Q
  634. # U. ?! k% }. f$ e2 M( l) j. M
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ( q. H  T( I' V- w! W# @+ ^5 D* p( D
  636. ; first used (Just In Time) instead of when the script starts. If these
    " Q" `$ y  t$ S5 V! e- J
  637. ; variables are not used within a script, having this directive on will result
    6 J5 h2 }9 ?% i4 j- \6 ^
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 l5 ?. |3 o5 h% ~
  639. ; for this directive to have any affect., P" f' m* E7 Z
  640. ; http://php.net/auto-globals-jit
    * \8 ^" @: I" t
  641. auto_globals_jit = On+ Z6 u+ a4 E. }3 E/ A* ?
  642. + C) |7 e! ?3 e
  643. ; Whether PHP will read the POST data.7 e& U. Q  ?) l
  644. ; This option is enabled by default.  h0 r: N) a" m+ D" @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST' o' d- O% l, N8 W6 A+ h# M
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    * w$ [. b2 R) q2 N
  647. ; POST data will be through the php://input stream wrapper. This can be useful; S9 _( N6 g. Y8 }% T
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.6 W# j' D6 k* W8 s2 J4 N' \- y4 r' R7 k
  649. ; http://php.net/enable-post-data-reading) x2 S4 r; O# c7 \* O& Q
  650. ;enable_post_data_reading = Off
      g  U- ?6 e% n+ c% P  A/ R
  651. , k* v% ?5 O2 r0 A
  652. ; Maximum size of POST data that PHP will accept.
    + v5 O9 G9 ?2 v- [, K
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading6 v$ U4 o9 a5 C( V! }/ n2 `
  654. ; is disabled through enable_post_data_reading.: Z3 r) C7 a! d; v& Z2 a* K
  655. ; http://php.net/post-max-size
    3 n9 X: y5 R' ~3 l8 Z/ E" ?
  656. post_max_size = 50M
    1 _* }& m& v6 }* U  Q
  657. . r- q. I) p2 I, ]) b2 K! |
  658. ; Automatically add files before PHP document." p1 V# N1 \* j
  659. ; http://php.net/auto-prepend-file; k1 @+ g/ {- U: a
  660. auto_prepend_file =
    . O' t; z" Z+ g  D  N' X

  661. ! {, e0 B- E/ m" A
  662. ; Automatically add files after PHP document.( F2 M: Z9 i" u' e6 _+ Y
  663. ; http://php.net/auto-append-file
    3 l2 H% U/ z& a# \' u% i8 d* ~
  664. auto_append_file =
    # z% i2 [1 V4 e- B! p: L

  665. 6 `8 \. }( K5 G6 v
  666. ; By default, PHP will output a media type using the Content-Type header. To1 }3 e& P6 c( u/ F! @4 r% A! _
  667. ; disable this, simply set it to be empty.& D- e  s. S% Y7 Z" d- e8 C
  668. ;# c& Y% c. I* a8 c7 I7 M1 m
  669. ; PHP's built-in default media type is set to text/html.
    - Z: T& r% ^$ t1 u' \1 |5 R
  670. ; http://php.net/default-mimetype* a) T6 y! `$ H7 i
  671. default_mimetype = "text/html"0 w. {& N; o8 _# |* K9 ?
  672. , O! Q3 y$ c  {& U
  673. ; PHP's default character set is set to UTF-8.' R6 m+ }) P5 p: F8 p5 z# {
  674. ; http://php.net/default-charset
    ) ?/ e2 A. h: X0 C9 O7 ~" C1 W- z
  675. default_charset = "UTF-8"; j! z: O7 V# g7 i- [
  676. ! ?. ]3 X% ?9 Y$ I
  677. ; PHP internal character encoding is set to empty.
    5 {2 i9 M4 g1 P
  678. ; If empty, default_charset is used.
    - H) f( o* o* h3 x# N4 \3 c
  679. ; http://php.net/internal-encoding
    " i9 g/ T6 ?) `/ [
  680. ;internal_encoding =
    ( w, w2 y) l9 g, G$ S1 H! }

  681. ( r' p# q0 l4 C5 ~0 g) @& D% w
  682. ; PHP input character encoding is set to empty.  k% E. [( a# [8 T4 ?/ q
  683. ; If empty, default_charset is used.$ M9 p7 y# L" b+ Q8 v3 s& v
  684. ; http://php.net/input-encoding
    : J2 j/ M  P1 b9 d7 \
  685. ;input_encoding =
    7 U3 Z4 F: m% [
  686. & [% @  C7 _4 z9 H3 ]: V' I) M! `
  687. ; PHP output character encoding is set to empty.
    - I$ l& a- x+ e7 j
  688. ; If empty, default_charset is used./ B" I5 K# n1 t( s+ P8 ?2 z3 R( W: P( U
  689. ; See also output_buffer.' s, D1 R4 |1 n6 ^) t3 C2 V3 G
  690. ; http://php.net/output-encoding
    $ R* c  i9 f& i- U0 i) J5 Q! _
  691. ;output_encoding =
    $ B% J9 p4 o: T, ~, a3 c

  692. ; W  l* G- H& T( \4 B
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;) b8 e7 {) k- K8 g/ G
  694. ; Paths and Directories ;4 ?7 a# l  c. _6 O& I+ t6 E+ t3 s
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;; Q* U1 T" @1 o- _5 w& ]+ D8 A: a
  696. 3 o+ m+ b6 {. x* p) a/ Q/ {5 p7 k
  697. ; UNIX: "/path1:/path2"; _- |, b! T1 x) X8 N
  698. ;include_path = ".:/php/includes"
    $ ?$ ~/ g6 y9 ?/ E
  699. ;
    - j' y9 ^3 {+ z  q( p9 A5 }
  700. ; Windows: "\path1;\path2"
    6 N$ q+ i1 e( t
  701. ;include_path = ".;c:\php\includes", R) d, K9 h' ~1 [
  702. ;
    2 s& ?4 l# y& s1 j/ r7 M$ H) W& X
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"- k( l1 i3 w* K5 a3 @  J$ _
  704. ; http://php.net/include-path
    : Y1 E: S. F) h- H3 Z; m+ K2 |$ F
  705. 0 l0 _" G1 n4 ?' f8 S, f0 ^' |4 k& a
  706. ; The root of the PHP pages, used only if nonempty.
    " O& Z: }4 m2 Y. h' ]8 I
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 p# d& C5 u! k4 Q
  708. ; if you are running php as a CGI under any web server (other than IIS)1 o$ Z, ]3 U, w, f; Q2 M
  709. ; see documentation for security issues.  The alternate is to use the6 `* M" w; |( A
  710. ; cgi.force_redirect configuration below1 ^7 X5 X" F# G3 x2 B
  711. ; http://php.net/doc-root
    2 y& @0 R; H' v5 B- Q
  712. doc_root =
    - Z! a' H5 z9 k" Z! }. ]! E
  713. $ F0 ?& W9 N! r! s* }
  714. ; The directory under which PHP opens the script using /~username used only% `/ i0 [" x. V/ B
  715. ; if nonempty.
    1 q! A) o+ v1 Q' s
  716. ; http://php.net/user-dir
    9 i  u) f# x5 f  {0 Y
  717. user_dir =
    * i# K; z" [/ \: H% O
  718. . |6 D' N5 m) e
  719. ; Directory in which the loadable extensions (modules) reside.
    ' \8 P- m. X: O! t3 V
  720. ; http://php.net/extension-dir5 j. i+ }& _3 E" B# G; I
  721. ; extension_dir = "./"
    2 W+ I# u' M/ i5 s$ ^
  722. ; On windows:7 t3 `4 S/ d- C$ F( Q' r6 b: X% y
  723. ; extension_dir = "ext"9 r7 s' L6 o/ T4 F- \
  724. + @. z5 d) _- }% A* G  m8 ^9 S
  725. ; Directory where the temporary files should be placed.& ]' ?% G! }8 j
  726. ; Defaults to the system default (see sys_get_temp_dir): E9 l+ h& e$ g, \# g7 i' i
  727. ; sys_temp_dir = "/tmp"
    ' |# F3 c' ~- r5 X7 q) M  `# T1 t
  728. % V8 M1 F0 h; [
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work, h1 Y8 E/ X$ i% ]) q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically, W8 _* Y9 ?2 j, q1 {
  731. ; disabled on them.
    . e: B1 p* M/ J) Y) @
  732. ; http://php.net/enable-dl
    + \4 ^' m9 ?. Z: L/ @% U& a8 C
  733. enable_dl = Off
    ( y8 w$ T& J9 ]

  734. + ~; O$ o; ?+ s7 h
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under  U* R( J+ [* Q) P! |% W- s$ n
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can  H2 q7 c5 Z  P7 ]$ d
  737. ; turn it off here AT YOUR OWN RISK, V+ S6 E* u) f6 m1 d+ o- H
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 T9 b9 Y" ?) w2 n
  739. ; http://php.net/cgi.force-redirect0 y& O4 Q3 V7 x1 d* z! D8 E
  740. ;cgi.force_redirect = 15 s/ N+ [. {& o
  741. 8 b8 j5 N# c2 X6 P# q! p
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 e  ~5 ~7 J7 ~7 c6 i- k. ]
  743. ; every request. PHP's default behavior is to disable this feature.1 [1 o( T- i/ c# B) Y- s! J
  744. ;cgi.nph = 1
    / D* ?2 d5 i4 _2 |% d% N) V+ Q

  745. 8 n# Z% E0 S. M( i+ H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape( o+ x7 N9 [" }+ ~. q. Z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    . ~. j/ V7 [, n. V3 V! B! C0 o
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' L8 q4 B% W/ p; p$ \0 z. h# n
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; a6 h* I0 d3 d. ^
  750. ; http://php.net/cgi.redirect-status-env
    # G  B- T$ D% d' C* \* f5 s2 M
  751. ;cgi.redirect_status_env =- d/ E& z2 ^: j% X+ p8 G

  752. ; C6 v  U( G& E& T1 u, u, A: S
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
      j4 _0 t7 }3 e) }
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok, e0 ?% z* @9 Y* o. H$ |6 e
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 \, _5 h1 l+ ^2 C0 j, {& a0 J
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting( E; o+ T! D* d* S8 F& x( Z
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / P  q( v: K* W- B  \
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    % S/ v1 h) ]% y
  759. ; http://php.net/cgi.fix-pathinfo; k8 ?$ w9 V/ }9 M0 L+ L* M7 M
  760. cgi.fix_pathinfo=1! c0 ?, ^+ |( R

  761. 4 l8 L$ r6 y$ Q- T! e; d1 j& s
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    2 Z: |0 o9 D6 }5 X' y0 ~
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ( u1 b0 b5 u" ?$ }1 \9 W/ y" F
  764. ; http://php.net/cgi.dicard-path8 r$ w' U+ T4 }) y* U8 r, f
  765. ;cgi.discard_path=1
      F8 z# N- R0 Y+ l' e' o
  766.   ~9 r0 H# K* y9 z. V
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( D9 G$ [. g, ~0 W" G
  768. ; security tokens of the calling client.  This allows IIS to define the7 G7 s+ O/ n$ I! E5 H% q: M* B
  769. ; security context that the request runs under.  mod_fastcgi under Apache5 Q/ W0 v7 n) G) Z. w& v, T, i
  770. ; does not currently support this feature (03/17/2002)
    , E4 n$ @+ b5 x; d6 q( h
  771. ; Set to 1 if running under IIS.  Default is zero.8 B# l" H4 h2 K3 N4 |
  772. ; http://php.net/fastcgi.impersonate1 g  l% B; {8 z# W0 z3 W- M! K% z
  773. ;fastcgi.impersonate = 12 c6 @8 z3 ?7 r  P7 f* p1 L: \
  774. / G6 l$ j& I: `$ b; E; r- ~0 U
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      i7 ~1 I+ [7 o* y) [" ?$ D
  776. ; this feature.1 G2 w0 l6 n: m4 I, G' E. s
  777. ;fastcgi.logging = 0
    2 q! v% a# g' w# j

  778. $ B5 r+ w& V; Q! f0 N: `! h' K
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 U0 O! N% \! X6 `3 t- ]. _+ x; |
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    0 |% E) u% }7 B) W9 q2 x5 |9 U
  781. ; is supported by Apache. When this option is set to 1, PHP will send0 T. l) m/ i9 z$ Q
  782. ; RFC2616 compliant header.
    2 c* d& y' Y8 T+ T7 \; H
  783. ; Default is zero.+ W/ o% u6 Z3 \/ v- G9 O/ _
  784. ; http://php.net/cgi.rfc2616-headers& r% t4 F% l# I" `
  785. ;cgi.rfc2616_headers = 0
    9 [/ G0 H; l0 Y' N" n
  786. 8 g3 [+ T. [3 a: {, j
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # s- g0 ~; B5 |8 E, R/ H4 z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    . h4 p% h: ?$ z% [! \* L9 G( Q  |
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ' n( s4 N+ |+ I! a+ W
  790. ; mode skips this line and ignores its content if this directive is turned on./ Z6 z" Q6 |; j
  791. ; http://php.net/cgi.check-shebang-line/ Q! o& O6 r$ Q, o6 g( d  T7 p
  792. ;cgi.check_shebang_line=14 u$ q! c+ G! I3 E, M, F/ H9 f: h
  793. 2 C/ \+ n$ l  `7 S/ h# J
  794. ;;;;;;;;;;;;;;;;
    * a9 `: Z* r! `$ m! X# [
  795. ; File Uploads ;
    " R! V0 k) T% c$ r' D0 L8 @
  796. ;;;;;;;;;;;;;;;;( L; B! {8 M' u/ t  M

  797. 8 @, V% r' G$ i: `" @) O
  798. ; Whether to allow HTTP file uploads.
    & b: ^' {1 U% ~! X. k: V
  799. ; http://php.net/file-uploads
    ( S& N! D' X1 Y
  800. file_uploads = On7 H! C8 Y, D* p; c
  801. 8 I9 w, D2 A; M
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ( V" p8 a" q6 x& c( s, j
  803. ; specified).
    2 p9 V: ]% C" f- x+ k6 T
  804. ; http://php.net/upload-tmp-dir
    2 D" V, L0 a1 C7 H0 k  T! ^% V
  805. ;upload_tmp_dir =
    7 m! k3 d. W6 w6 a! Q& z
  806. & x/ h: Q7 }& `% X: T
  807. ; Maximum allowed size for uploaded files.
    7 n( K# n- X( d8 G! O
  808. ; http://php.net/upload-max-filesize
    5 w. u5 t# I$ a0 A/ P0 ~5 W- z
  809. upload_max_filesize = 50M# U2 _& c5 z* z; q

  810. , B+ Z( v# ]' U2 D
  811. ; Maximum number of files that can be uploaded via a single request  B* O' N# W- i9 T
  812. max_file_uploads = 203 w+ R  m  O* [' @' M
  813. 2 }+ @* ]; c; W) g
  814. ;;;;;;;;;;;;;;;;;;9 g- f% Y. ^8 U" ~1 }5 c! n
  815. ; Fopen wrappers ;! e# s* p9 o- _  ?) [/ w0 G
  816. ;;;;;;;;;;;;;;;;;;
    . l6 i; l* U1 G* U4 I
  817. 5 Q8 z" T) T/ s, N& z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    4 m0 j& J% W; ]# Q1 i! C
  819. ; http://php.net/allow-url-fopen# r, `: y" p  y9 |) H* r, U
  820. allow_url_fopen = On
    8 P' p2 t# W* x/ _% Y1 ?

  821. ' F" ?" p3 s9 ~1 \9 Z% A
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 ^) N, V! j- _; V- _' ^4 L$ `
  823. ; http://php.net/allow-url-include
    # g9 S4 l! q' [$ p) X9 }( }
  824. allow_url_include = Off
    7 Z* [/ w) Z# A) V0 k

  825. . h% |  I' J, k9 u* m
  826. ; Define the anonymous ftp password (your email address). PHP's default setting3 s0 W  C# @( @9 y& K5 E5 r3 y" P; ]
  827. ; for this is empty.
    ( c9 y1 O5 L1 @, O' M
  828. ; http://php.net/from9 x0 |1 W, m) x' x8 [# K
  829. ;from="john@doe.com"& j& e4 S  _6 q; Z3 l2 R$ q. f

  830. & f* P+ R4 s% p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.! H* z) }, i1 q7 Z, R
  832. ; http://php.net/user-agent
    2 [% ^9 Y- ]8 V4 F0 E! b) I9 d
  833. ;user_agent="PHP"
    " x+ J! ^" N. ]3 `  E$ @5 B  o% C6 l% T$ u
  834. / ?# v" V' {- a# Y0 o" y0 i
  835. ; Default timeout for socket based streams (seconds)
    + f: H1 q6 j; s+ e( d
  836. ; http://php.net/default-socket-timeout+ v- ?) g( h" O5 `9 o
  837. default_socket_timeout = 60
    " T, K9 R# u% V! u7 D

  838. 1 Q5 H' t. E) f4 w5 u% }. x
  839. ; If your scripts have to deal with files from Macintosh systems,
    , f$ v/ T; ]. p! ^; T6 U
  840. ; or you are running on a Mac and need to deal with files from
    : e& y% [  B* }9 w; o- {+ e
  841. ; unix or win32 systems, setting this flag will cause PHP to
    6 }' O9 W# k  }2 O( d$ L
  842. ; automatically detect the EOL character in those files so that
    / t% O0 j- |! `# S
  843. ; fgets() and file() will work regardless of the source of the file.
    - e: t$ b5 L* U
  844. ; http://php.net/auto-detect-line-endings: [! a+ G" D9 ~2 P, U
  845. ;auto_detect_line_endings = Off
    # G1 {- t# X3 X  w1 W
  846. " @$ H5 ]5 H- p% r( e# D
  847. ;;;;;;;;;;;;;;;;;;;;;;, ^  T  U; ~1 E$ o. t3 q; {* s
  848. ; Dynamic Extensions ;# h# ^7 l+ k' N9 }. z8 o8 x! _
  849. ;;;;;;;;;;;;;;;;;;;;;;6 k& A- S) s3 G- P' M$ n3 `

  850. - l5 E* V' D" u8 U& J* J
  851. ; If you wish to have an extension loaded automatically, use the following
    : @1 f* {; r! c0 Q+ C9 w2 s: k- M
  852. ; syntax:% a2 [1 Y0 Q, T/ \
  853. ;
    ( z* H: v' a9 p3 e
  854. ;   extension=modulename.extension. v8 Y, ?# ?! b" J
  855. ;1 M2 {3 }8 m4 W
  856. ; For example, on Windows:6 c: j& {' c. `' c3 P# |
  857. ;
    ' S7 Z, J0 n5 |7 E; K- e# J& H2 c
  858. ;   extension=msql.dll
    0 `, c2 U$ S0 E7 y6 [- x, j
  859. ;
    : _7 K: a% J0 I) ~. y
  860. ; ... or under UNIX:
    ' I+ H8 g+ x- w) }) R, ?% {
  861. ;
    , X3 p3 p) x& a  {
  862. ;   extension=msql.so3 n$ }9 z2 R+ h7 M+ N8 K8 M) q
  863. ;
    4 l  W: e5 H; V: f3 L; j/ M9 S
  864. ; ... or with a path:
    $ n3 u  r/ z9 k
  865. ;
    . \1 X- \: H& D- w, d
  866. ;   extension=/path/to/extension/msql.so
    4 N+ k. J+ x9 E3 l& f1 m
  867. ;
    : u. e4 t, Y3 z& w0 y
  868. ; If you only provide the name of the extension, PHP will look for it in its
    6 W0 n8 L( }, S6 C
  869. ; default extension directory.$ T8 e1 e4 a6 e8 k$ y/ V
  870. ;8 c: `/ x+ s9 f) K# y1 k' s
  871. ; Windows Extensions  }' x3 k: e9 S, _% X
  872. ; Note that ODBC support is built in, so no dll is needed for it.) y; k' _0 X( Q) m- E
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)4 ]: C' B: f% W6 }6 K! g) E
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
      a1 F* Y2 }2 y  b' Z9 @
  875. ; Be sure to appropriately set the extension_dir directive.+ m  V# B- V, @9 ^8 A: W$ g5 o# T
  876. ;
    ! Q! q! x  ]+ z: e  G! Y; q; {
  877. ;extension=php_bz2.dll  g, Q$ M3 x$ B% s& p1 Y. f+ ^
  878. ;extension=php_curl.dll
    " a. W" ]1 |; c% e1 Y2 v
  879. ;extension=php_fileinfo.dll
    : o: I6 F6 g4 v" E9 {
  880. ;extension=php_ftp.dll
    ' t, j+ T, C' K6 f
  881. ;extension=php_gd2.dll! |/ a& o: _$ c" i) d: ^/ S
  882. ;extension=php_gettext.dll
      v2 |8 O. x8 O+ ^$ C: K; y
  883. ;extension=php_gmp.dll
    4 A# Q$ O# _" E* ?: [' B2 j
  884. ;extension=php_intl.dll3 P+ M" q8 \9 G0 q& x5 H
  885. ;extension=php_imap.dll! H' b# z6 L5 T
  886. ;extension=php_interbase.dll1 ]. B& z, x! }
  887. ;extension=php_ldap.dll0 p6 O2 t1 d  b# n
  888. ;extension=php_mbstring.dll2 d& Q& [1 b$ g! F3 R" g
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : H. @. W( {& Z; N( H
  890. ;extension=php_mysqli.dll: W6 W/ M5 U2 F# Y* X* b! K4 j
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 J# z# Y% ~+ b( t5 l
  892. ;extension=php_openssl.dll
    0 B  l2 z! A& q' d' h: C
  893. ;extension=php_pdo_firebird.dll& ^1 z: Z; u$ Q* \+ \: J% h' _
  894. ;extension=php_pdo_mysql.dll
    3 Y& \4 [# Y* K; U' c# |) p! D$ P
  895. ;extension=php_pdo_oci.dll# S1 b2 Q' H, H( _0 H/ f4 C0 X
  896. ;extension=php_pdo_odbc.dll
      g6 x- o$ i# @
  897. ;extension=php_pdo_pgsql.dll& ?* R/ f% d1 K( }
  898. ;extension=php_pdo_sqlite.dll
    7 X* s6 ^+ S  ]7 K! }% A2 \
  899. ;extension=php_pgsql.dll; X9 N3 ~# c! `0 E. q  I4 ~) G6 f
  900. ;extension=php_shmop.dll1 ]$ ]0 s$ o! P( e- h1 y

  901. ! k' w* a  I1 }8 Q3 D4 Q- r! i  M
  902. ; The MIBS data available in the PHP distribution must be installed.5 X. ^7 g; u) g0 z6 [
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' z- r: G% t. u3 d5 z5 ~: p$ q
  904. ;extension=php_snmp.dll
    6 {, q* K. Y1 }' ]
  905. # u7 C, G3 q. `7 u8 W/ E* W
  906. ;extension=php_soap.dll! c4 W% j% |" m
  907. ;extension=php_sockets.dll
    % {+ S  y0 h/ l
  908. ;extension=php_sqlite3.dll' k9 {2 Z. T, p, g# _( b8 P  ^
  909. ;extension=php_tidy.dll- p3 b% e9 V4 e* y; i4 ^' M
  910. ;extension=php_xmlrpc.dll
    8 i2 k# u* e/ r9 v* _* G0 I( y
  911. ;extension=php_xsl.dll
    7 x9 g7 H+ o/ e" m* v8 J9 V" @; U! f
  912. ; K& E( O9 p+ m& K# Y; a
  913. ;;;;;;;;;;;;;;;;;;;
    0 N6 l2 K8 J9 K5 t
  914. ; Module Settings ;
    9 [$ B' V/ q8 E9 \0 u# X
  915. ;;;;;;;;;;;;;;;;;;;
    / G6 n8 T4 X3 P4 G

  916. 7 ]- a' y3 h! e9 I* ~* b
  917. [CLI Server]
    7 ?- m) I1 D+ x$ E3 G9 E; @2 @. K
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output., s2 p$ P: s( Y. D5 {! b% c
  919. cli_server.color = On5 [0 p8 J4 q' m2 a
  920. 6 l- E* h+ s8 g* g1 y1 ?; Z1 I
  921. [Date]
    $ H, m' m& V, B* ~; B: D" d
  922. ; Defines the default timezone used by the date functions
    2 w: ^4 G: q8 B
  923. ; http://php.net/date.timezone+ x& q0 R# e4 g
  924. date.timezone = PRC& c( c4 W. a- D# \" ^7 D

  925. ( _* u0 _/ f  ^7 e
  926. ; http://php.net/date.default-latitude! g- s) o' X# q
  927. ;date.default_latitude = 31.7667
    * M& K/ n3 T9 e4 K2 j, s: `
  928. ; K7 _/ V- ?7 m" r6 x
  929. ; http://php.net/date.default-longitude
    * P1 l8 ?) K7 Y. N  l
  930. ;date.default_longitude = 35.2333
    5 e* q9 Y. ~5 k) O% O

  931. " t+ }' [9 Q1 i8 @4 U% m
  932. ; http://php.net/date.sunrise-zenith
    9 G$ o, y/ Z$ L$ W9 U' B/ S! X8 h
  933. ;date.sunrise_zenith = 90.5833335 t: v4 S1 H0 ~  x$ e/ h
  934. ) O+ u! s" v/ f3 Y; @
  935. ; http://php.net/date.sunset-zenith% q0 b+ `5 o! a* l2 X
  936. ;date.sunset_zenith = 90.583333. X5 g+ f' t- v' W# m8 ~: ^& F" N, V

  937. # ~& b( F1 z9 T
  938. [filter]
    0 r! v# k3 A' l, f; M
  939. ; http://php.net/filter.default
    ' Z% U) ]- N6 V# q) `7 c' F
  940. ;filter.default = unsafe_raw
    , t! s* P' w% D9 _) i) o

  941. 3 X% f- |. F- ?+ y, i
  942. ; http://php.net/filter.default-flags
    ' t6 F" E# w' C% n  D9 L
  943. ;filter.default_flags =
    3 }* E2 G; X: y0 e, D! g0 H3 ?
  944. 0 H0 U3 U0 m! l% |) L; M
  945. [iconv]
    / }! P5 ]: s8 v! v7 Z6 {+ n8 Y6 m3 r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 A5 B% ~/ f" A& c  c* f8 S. \
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.6 S) O/ i3 i. Y6 [
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 Y' h( d+ D5 e* E) U1 v
  949. ;iconv.input_encoding =
    % X' X- S- J, N4 _, I
  950. " p; f' v/ Q. x  g# z, m
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 c- O) a1 H% q2 p. Q, z
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 k  w% m9 i: X- H& ?
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * V6 m- V) O; I3 C: O
  954. ;iconv.internal_encoding =/ Z- g% v5 u& r1 I% k8 o% X
  955. 6 |6 |: R# U, _
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 w& ?3 f6 t  y2 ^- A
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* }0 P1 r! G+ v) O  n) p2 |  E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # ^  F/ i, F1 z+ A
  959. ; To use an output encoding conversion, iconv's output handler must be set: n# S7 y. z( W# k* A
  960. ; otherwise output encoding conversion cannot be performed.
    2 N( j, R' A! S; v  T
  961. ;iconv.output_encoding =
    4 ]8 v" x$ N/ I7 i2 {5 m2 A: T$ K
  962. " a. l* ?! {) l# Y7 z2 g
  963. [intl]
    # }# ^  u  E, e# x) K) H
  964. ;intl.default_locale =
    + p3 {) S0 l# k4 m8 Q8 s
  965. ; This directive allows you to produce PHP errors when some error- E8 a- ?* P  C' Y/ P8 N
  966. ; happens within intl functions. The value is the level of the error produced.! d# S2 z5 O0 X  ]9 t1 W( V
  967. ; Default is 0, which does not produce any errors.
    # w; O8 M; g5 u
  968. ;intl.error_level = E_WARNING
    . @( v+ E) K2 E
  969. ;intl.use_exceptions = 0
    , J) p( y% E1 s% ~% P+ a+ n! c0 N1 m
  970. 3 v7 u1 @8 t) M* T2 c% }6 z5 Z
  971. [sqlite3]
    8 g3 a/ B# R, R/ ?$ C+ w4 [' ~
  972. ;sqlite3.extension_dir =
    7 `! `  ~* V; m# |/ i" b& c: a

  973. ) O/ M. N$ Y) ?: L7 ?
  974. [Pcre]: z, {9 [3 U, p  z: u! R
  975. ;PCRE library backtracking limit.) D# ~) b4 H3 O3 Y! |8 k  J, ^
  976. ; http://php.net/pcre.backtrack-limit2 ?4 Z% L2 }/ }" k' n9 s
  977. ;pcre.backtrack_limit=100000
    8 h" c, ?. N) K! U1 h# _1 K
  978. & C  C5 h* k1 E0 a: y' n& I" ?$ ]/ v
  979. ;PCRE library recursion limit.! O' `2 `' g! X( E
  980. ;Please note that if you set this value to a high number you may consume all3 Z+ a6 Y4 H5 ?& O9 v
  981. ;the available process stack and eventually crash PHP (due to reaching the
    # C( k2 v) L  E0 h! q+ {
  982. ;stack size limit imposed by the Operating System).
    2 t- e- P3 l0 T8 s: c; t1 y
  983. ; http://php.net/pcre.recursion-limit
    7 M  _$ C/ Z& `' e" i" A* O
  984. ;pcre.recursion_limit=100000
    . u) R& L3 _) ?/ t
  985. 5 l) S( E. Y- o: C/ s
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE9 Q8 R& @9 R" t  y' [$ B2 T
  987. ;library to be compiled with JIT support.
    5 m( u" i. J# F" c, j
  988. ;pcre.jit=1
    - I) X$ s% b1 d% A7 n
  989. 2 c& x+ ]% F+ B  j5 `: E
  990. [Pdo]
    5 O# j! t: E/ y1 X( n, z
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"8 T9 [3 m( X, O8 S! u4 ~3 i$ H
  992. ; http://php.net/pdo-odbc.connection-pooling6 ?" {; Y7 q8 T0 c. G3 g
  993. ;pdo_odbc.connection_pooling=strict
    - X1 j1 b( r" E2 u9 _
  994. 2 v9 a! K+ K. S8 T) z- l
  995. ;pdo_odbc.db2_instance_name
    # o6 l9 B/ g; G& k' Z0 F& }' r) ?- p: B

  996. + Y$ r; ?: ^6 d* G! A8 S% f
  997. [Pdo_mysql]
    6 @) a- J8 v/ _" f! M/ ?
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      a8 Y2 K" P2 `8 d$ ?- d: \2 n. K  P
  999. ; http://php.net/pdo_mysql.cache_size
    1 |" h% Z3 _& ]; _4 U' ~
  1000. pdo_mysql.cache_size = 2000
    ) K, u8 M; r: q
  1001. " l/ Y% N5 ]0 {
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in( f# O6 R2 q( f: A# w4 u
  1003. ; MySQL defaults.$ z6 b# r7 w$ F4 W& |7 R
  1004. ; http://php.net/pdo_mysql.default-socket
    ( ?! Z5 \! c9 J; {
  1005. pdo_mysql.default_socket=
    / ^/ N9 ]8 V0 O! `* D1 M: S
  1006. $ w/ V6 e( i1 x! ^5 i2 a
  1007. [Phar]
    8 a7 ]4 j( M9 x# x- Q" X4 a' {
  1008. ; http://php.net/phar.readonly
      \" H% ^% m2 H, y* ?! t8 l
  1009. ;phar.readonly = On
    8 O/ a4 n, b- d- p+ I) n

  1010. . p& K& Q+ |) h- D: N
  1011. ; http://php.net/phar.require-hash
    + G0 E( ?1 l+ @# K3 Y
  1012. ;phar.require_hash = On
    3 n' k% T$ Z" l- p

  1013. 5 J+ t3 i, t# q( H
  1014. ;phar.cache_list =
    ( F6 n' W# p1 x
  1015.   O) ?5 H, `. v: p1 n2 X) B: E
  1016. [mail function]
    . E% E/ |' @0 A' |8 c4 T" {: B
  1017. ; For Win32 only.+ L! F  |4 @5 I( O
  1018. ; http://php.net/smtp
    9 L: y, V# g5 m" Q3 [8 ~4 U
  1019. SMTP = localhost
    & }. Z4 h5 C$ D1 k9 ?( O# _" |0 g
  1020. ; http://php.net/smtp-port5 H; O4 j% |# a' S
  1021. smtp_port = 25: s5 _' @3 x/ C1 Q
  1022. # R. F9 n5 s" G* r3 L. g
  1023. ; For Win32 only.
    ' K8 t: g6 H+ q+ u
  1024. ; http://php.net/sendmail-from
    6 ~4 E( S0 T  i8 y5 u
  1025. ;sendmail_from = me@example.com& z$ e) W1 x* q5 W
  1026. 5 @/ d$ Z6 {9 l( F: X" z8 P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    7 l4 G3 y8 w& E/ R" x" G
  1028. ; http://php.net/sendmail-path
    3 U) s- Z  v$ b" ]- i! T
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    5 d4 ?# x6 K  A( v7 j7 R3 g- M
  1030. * C- o8 I% @- R4 T9 t% G
  1031. ; Force the addition of the specified parameters to be passed as extra parameters% v: c% x. u- l( }5 j
  1032. ; to the sendmail binary. These parameters will always replace the value of) ~& y" \! ~( x6 x
  1033. ; the 5th parameter to mail()., e$ p6 c& L7 [
  1034. ;mail.force_extra_parameters =
      G5 Q* ^( d, G0 a: [" ?: M

  1035.   C3 g' `# ?) q6 R  h
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! ^7 ~3 ^+ q% ~& U0 O
  1037. mail.add_x_header = On/ p- C( d$ p7 L; E
  1038. 3 P) q2 [# T( F% c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    - S8 R5 z& a, {7 u3 Y8 z1 ?. u5 {
  1040. ; the full path of the script, line number, To address and headers.! Y! e% [. a+ j
  1041. ;mail.log =
    & @: i3 S3 v, N5 g6 d' d% ~
  1042. ; Log mail to syslog (Event Log on Windows).
    + f! |, a+ Z/ v2 ~( E
  1043. ;mail.log = syslog7 ^3 J# b- b, z2 a/ S( i! d7 M5 O
  1044. $ L) ^1 x: A8 W1 P8 W+ h, P
  1045. [SQL]
    & E, D. [9 n! R) T/ d  F
  1046. ; http://php.net/sql.safe-mode
    : V8 z$ y; a& E' X2 }5 R
  1047. sql.safe_mode = Off8 X' n9 [' }4 D' U% x4 D' o9 n1 f

  1048. 3 ?  J8 c' o3 M
  1049. [ODBC]
    2 }0 n# h' F" x, D' p! J- w8 Y! x
  1050. ; http://php.net/odbc.default-db- x8 X; l/ {8 |- y% d
  1051. ;odbc.default_db    =  Not yet implemented
    ; ^) @5 G" b$ N: C

  1052. # H! E& l: ^3 _0 ]2 l* y) }7 p
  1053. ; http://php.net/odbc.default-user  R' l- M4 i- u/ e
  1054. ;odbc.default_user  =  Not yet implemented" G. x1 Q! u6 ~0 D3 h
  1055. " X& U- g0 }- `
  1056. ; http://php.net/odbc.default-pw' l. @7 h+ u; T' {' W& n
  1057. ;odbc.default_pw    =  Not yet implemented8 B/ }" G8 n: _& O
  1058. 6 s6 L. T, R1 p8 D3 G+ C! d
  1059. ; Controls the ODBC cursor model.
    2 @# ]: P" S# V% Y; Y$ Y! h5 r( Q! W. u
  1060. ; Default: SQL_CURSOR_STATIC (default).8 p3 D) R* ?5 g) C
  1061. ;odbc.default_cursortype
    " ^- h( F, L& w+ F$ i4 f
  1062. # ^7 @" D; x' A) Z
  1063. ; Allow or prevent persistent links.
    ' }1 I/ }6 v* r) l& @3 P. F1 c' W+ c3 [
  1064. ; http://php.net/odbc.allow-persistent
    ; w& ^( \2 R- I# Z5 q; x' t
  1065. odbc.allow_persistent = On
    # d, N1 A" @# M

  1066. ( J; F, t0 Z" ~
  1067. ; Check that a connection is still valid before reuse.& R0 Q( Y2 q7 z9 u" ~% A' _
  1068. ; http://php.net/odbc.check-persistent
    # z* ?9 O: H  G7 E3 t! B
  1069. odbc.check_persistent = On
      P8 ]9 J6 x, Y; \) ~7 R4 i) X

  1070. 5 o4 p+ P( c: |9 F
  1071. ; Maximum number of persistent links.  -1 means no limit.
    * D7 I$ S4 w; }+ F# @/ l: H
  1072. ; http://php.net/odbc.max-persistent0 s9 b2 ?' W# B! d) n" s, b
  1073. odbc.max_persistent = -1
    / ~8 u! m# x6 M7 Q4 H6 _
  1074. 9 [3 _2 v: q) [" q2 ~
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 |6 B: p  R) u7 V" z4 E
  1076. ; http://php.net/odbc.max-links7 V  _' N1 R& D' @  h* C$ O
  1077. odbc.max_links = -1
    & o' q: S+ \6 p8 _# S6 J: n7 n
  1078. 9 Q8 P$ _1 B2 e2 h( B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: ^# m, }6 C  ?: ~* y" U
  1080. ; passthru.) b3 N4 _  o9 m7 X
  1081. ; http://php.net/odbc.defaultlrl
    0 r  c: O" W/ J5 `  L6 {
  1082. odbc.defaultlrl = 40962 h. ]4 d% Z7 f# W" ?0 V

  1083. : `- B% w' [8 p' Z% H
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.# K# J) U( L) u2 j  y0 o
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    4 l4 A9 b( T- u# z! b2 A
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode  z2 K8 g- B. h8 @0 s
  1087. ; http://php.net/odbc.defaultbinmode; \; w1 p# e8 R* `
  1088. odbc.defaultbinmode = 1+ V  k! o" y: o/ C
  1089. / A) ]' M. |. V5 d* Q6 X% J
  1090. ;birdstep.max_links = -1
    . J  F2 Z/ w5 C

  1091. 1 B6 ^4 C( }4 Z3 V
  1092. [Interbase]
    ; I- u3 Y' _% l" l5 J
  1093. ; Allow or prevent persistent links.7 m0 n" B4 B. s4 s1 R" _
  1094. ibase.allow_persistent = 1
    # w- i/ o$ F4 S5 ~$ B
  1095. / z' @$ o" q- \. B6 G9 m
  1096. ; Maximum number of persistent links.  -1 means no limit.
    5 K3 T* ^9 o0 ]1 H
  1097. ibase.max_persistent = -1
      ^' C) G$ I2 t. G

  1098. " L5 E5 o! n- o) v# G4 n: U# M
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & W& W) h( I4 Y2 `$ S: h" Z0 o
  1100. ibase.max_links = -1& v- b* a& s  Q6 r) {7 k) Q3 f& H7 }

  1101. 0 |9 U* x+ R' e0 s& f
  1102. ; Default database name for ibase_connect()." d4 J0 z* j1 |: O# P
  1103. ;ibase.default_db =
    8 l' v; t$ A- H6 ^
  1104. / Z7 M/ O# k$ A! r9 g3 x5 N- ^
  1105. ; Default username for ibase_connect().
    3 {' y$ Z" j" \7 H! Q& u
  1106. ;ibase.default_user =
    / U( T4 L# n+ n% Q
  1107. ! Y' [0 k! i" u; V
  1108. ; Default password for ibase_connect().
    * |& h( h* g* l
  1109. ;ibase.default_password =$ b2 h9 a9 @5 H( k
  1110. # ^* W9 h" E5 B3 H- A
  1111. ; Default charset for ibase_connect().
    , [1 ?4 k# r5 Q
  1112. ;ibase.default_charset =; T$ P; w  j8 g
  1113. # w4 W, T$ `4 A* `
  1114. ; Default timestamp format.
    " I( `0 @" Z7 x3 ~6 ?
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    2 f, W: t& {- S- w, y  C3 A
  1116. * J0 `) Y1 \. A9 v) ]. v" c
  1117. ; Default date format., o3 ]6 ]* ^/ g( g7 m, L- @
  1118. ibase.dateformat = "%Y-%m-%d"7 i5 k0 U/ @- ^; a7 r) ^' L: T

  1119. & ?" z: `$ L& @: ^. _
  1120. ; Default time format.( ^; V+ H0 C  j4 Z# N
  1121. ibase.timeformat = "%H:%M:%S"( e0 I6 }6 a9 {; c) r: y" B

  1122. # L$ ?2 w: f. X: M  A
  1123. [MySQLi]  s5 E9 S2 N- O' G( l+ G: [

  1124. & `  @8 M! x; B! k8 I
  1125. ; Maximum number of persistent links.  -1 means no limit.# ^6 C1 T# [! A% W3 F; m+ l
  1126. ; http://php.net/mysqli.max-persistent
    0 w3 L! J6 C& F" P
  1127. mysqli.max_persistent = -1
      X# g  L) h' Q0 r5 {2 \

  1128. 0 _8 o4 e% D3 y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) G0 Y6 A- p+ R+ e
  1130. ; http://php.net/mysqli.allow_local_infile
    4 k6 k1 }0 ~5 N& Z' u  @
  1131. ;mysqli.allow_local_infile = On1 L2 p. [. K( Y2 n
  1132. ( {; G5 s  x$ z. B- g; k- \- b
  1133. ; Allow or prevent persistent links.- T9 Z5 `" N! \+ P; C1 c
  1134. ; http://php.net/mysqli.allow-persistent1 z6 m& ~% a' l! k1 e. `$ b& ^- X
  1135. mysqli.allow_persistent = On; C$ u% ~2 k* L4 w) f

  1136. " r* ]; n3 C/ n, @' s
  1137. ; Maximum number of links.  -1 means no limit.6 {6 G9 l7 {+ [+ {
  1138. ; http://php.net/mysqli.max-links
    8 Z$ u6 p: Q5 f) R- `
  1139. mysqli.max_links = -10 D% ^5 r# @; O( S, s* ~- d, ^, S

  1140. : w. S& \. M! ?. I7 I1 A2 A
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ [% T# K' I8 m' h! ]) Q# y
  1142. ; http://php.net/mysqli.cache_size
    " |# l! z) T  A# r2 J3 x( ^2 ?
  1143. mysqli.cache_size = 20007 Y* [/ Z  P+ R0 G
  1144. % p+ j' p5 Q& C; F# A
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 o1 \; _6 {, l. s3 A/ }7 b
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 P: B5 Z9 c- e' l
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # k' c" V! p3 W3 F6 a
  1148. ; at MYSQL_PORT.  J! k" U' c* h: s
  1149. ; http://php.net/mysqli.default-port$ H1 n7 h1 R. B7 Y) A& a+ ?
  1150. mysqli.default_port = 3306$ g" o& D* r% l& e: v

  1151. " ]) Y- r6 D( n: Q  \
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ) q% x/ A* ^, j: I0 m
  1153. ; MySQL defaults.1 @- z( D0 `& L0 L' w! ~
  1154. ; http://php.net/mysqli.default-socket$ J+ B1 X' |. d9 Q  a
  1155. mysqli.default_socket =
    6 J: g, i, M4 o7 [; J" E3 m+ a# N

  1156. 2 Z, H$ [/ _2 g3 J' O% B
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 U# Y7 V6 s; t! [+ l
  1158. ; http://php.net/mysqli.default-host4 C4 g! P+ J- l; a5 N
  1159. mysqli.default_host =
    % ^7 l' z9 t: T4 T) C- w& t8 t# G
  1160. % U' r# @! ?% f0 `" w% n
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 g% k- A+ J- s6 q" m* j
  1162. ; http://php.net/mysqli.default-user
    4 A& T. A; y5 H7 K3 }: @- ]1 Y
  1163. mysqli.default_user =
    + {6 }5 |4 O) f) m& x& g
  1164. " z. ?' ^8 h7 J8 ?/ Q/ H
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : {3 j$ Q) q+ ]8 ~5 i" d$ l" K
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.3 w( d' t6 B. w0 w' H
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- k- U% i4 a1 e! A
  1168. ; and reveal this password!  And of course, any users with read access to this
    - {3 }# h% B7 C$ z  t: C- A  e# x
  1169. ; file will be able to reveal the password as well.4 n% D/ N9 `7 N/ k/ T( ^
  1170. ; http://php.net/mysqli.default-pw0 r2 j( o4 u8 X% Z
  1171. mysqli.default_pw =
    ) r& Z& Q4 s- i1 n
  1172. ( K4 |$ S5 q4 a
  1173. ; Allow or prevent reconnect0 ^4 p; t6 `# a2 m1 `! J
  1174. mysqli.reconnect = Off
    / v. Y3 `9 b  z8 Z% L

  1175. & r: t4 N; P" ]  ^. q) O: }! o
  1176. [mysqlnd]
    ' S; q% D4 q8 o8 T+ _, O
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; l: _4 ^) t8 [. O1 f
  1178. ; used to tune and monitor MySQL operations.
    ! @9 U+ k: K2 o3 J+ D
  1179. ; http://php.net/mysqlnd.collect_statistics
    $ d0 c: E/ `$ f/ n: H
  1180. mysqlnd.collect_statistics = On  r! }3 t* Z) A$ |3 `

  1181. & B/ R! k% p6 i- |* I# Z( @
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& X0 w& L, Y# q5 c
  1183. ; used to tune and monitor MySQL operations.8 ~% w) Q- B! Q
  1184. ; http://php.net/mysqlnd.collect_memory_statistics# B6 t' H$ f$ F) z) S5 q
  1185. mysqlnd.collect_memory_statistics = Off
    9 b3 h! [$ L3 b$ ]* c
  1186. 6 y9 ]8 x2 I1 M" p
  1187. ; Records communication from all extensions using mysqlnd to the specified log4 {( N- }% O* V! T4 j# I6 z' T
  1188. ; file.
    " g, s% w0 ?0 w
  1189. ; http://php.net/mysqlnd.debug
    . T/ Q) Y. z% T0 a4 ~7 ~, l
  1190. ;mysqlnd.debug =7 b; c; s5 S" P9 V* [' D
  1191. 7 t/ K& D2 E7 `) Z& W1 M1 h% w
  1192. ; Defines which queries will be logged.
    $ ^1 P+ \' r  U3 @- f) H6 t! j
  1193. ; http://php.net/mysqlnd.log_mask
    ' @8 j; s" b( y5 ~, e5 h$ c  ?5 B
  1194. ;mysqlnd.log_mask = 05 r) E* i! \  m& C1 m4 e+ C+ X
  1195. . m6 E* k+ ]6 G1 g
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' a& ^' g2 e, X9 n2 B2 l4 W
  1197. ; http://php.net/mysqlnd.mempool_default_size
    1 z! D4 \# f+ \) \/ x4 `5 z
  1198. ;mysqlnd.mempool_default_size = 16000
    ) G  m: F- p' O- b( q. H

  1199. 4 U9 p" N! ~) {& }+ m
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; L/ C' r5 {5 c( n' J9 @' T% z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      \/ h7 |1 s4 y3 D! y3 ^
  1202. ;mysqlnd.net_cmd_buffer_size = 2048, m1 P( X, l$ ~. U, x* H# G: x8 u

  1203. 5 \: u, _6 E3 }- O$ T1 j% b/ E
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ z/ B9 W2 i& c* |/ n+ E/ X
  1205. ; bytes., \, G# H5 ^! P  }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    0 r! Z- d% N. X8 k
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! Y& |! I# }9 l( T: k5 T# F
  1208. + W! [: x' V- b0 n( P) _
  1209. ; Timeout for network requests in seconds.
    ( v$ F0 G% Q/ c3 ^+ \! i1 f$ n
  1210. ; http://php.net/mysqlnd.net_read_timeout
    1 t; E4 g4 U. F$ @! J
  1211. ;mysqlnd.net_read_timeout = 31536000, R6 _: t, @  t0 Q& h( D. K

  1212. 1 U7 q# A% \$ W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ( o; j$ ]1 N, ?3 w
  1214. ; key.
    $ l1 |- u* X; q$ {- M( S  p9 U& L6 N  C
  1215. ; http://php.net/mysqlnd.sha256_server_public_key% _1 r3 s$ [2 i' B$ U
  1216. ;mysqlnd.sha256_server_public_key =, I" q* c5 o. `+ A7 I; l/ K7 \% c
  1217. / v# `3 @2 X0 L: K) i* ~, ^' n6 _* V
  1218. [OCI8]' |9 Q% U0 ^. s7 z1 v% P( ^" {! R
  1219. % B) D) }! h/ |5 r
  1220. ; Connection: Enables privileged connections using external  d* E# v' G8 l2 e$ q' @4 ~
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( s5 W' i# V; ~" p  G; W8 U
  1222. ; http://php.net/oci8.privileged-connect
    # w5 r9 a8 s+ V& n
  1223. ;oci8.privileged_connect = Off. B' ?4 w- h. Y5 j

  1224.   U  m* A- s" W% w2 y
  1225. ; Connection: The maximum number of persistent OCI8 connections per8 d' ~8 @) ^( |, O& W1 o) }6 {4 k& a
  1226. ; process. Using -1 means no limit.
    2 o+ H9 t5 e0 F/ N8 y% \9 {( z
  1227. ; http://php.net/oci8.max-persistent8 [1 Y+ t9 k+ Z8 X& k" v
  1228. ;oci8.max_persistent = -1) B& Z" w# @& V5 Z2 o5 T. q7 M
  1229. % |" ^: X- t- u* V: v2 o' g6 w, c
  1230. ; Connection: The maximum number of seconds a process is allowed to) J/ e! M& n4 e* h: g
  1231. ; maintain an idle persistent connection. Using -1 means idle, N; G) x" n( H4 u+ F/ l+ k$ g. |# ?
  1232. ; persistent connections will be maintained forever.
    + K0 U8 T1 n9 W6 W5 }' V1 c! b
  1233. ; http://php.net/oci8.persistent-timeout5 a/ S3 b& ^0 D* {- r
  1234. ;oci8.persistent_timeout = -1
    / o+ h- w% Y, e7 d
  1235. ( ^$ ^( @1 a! |4 v
  1236. ; Connection: The number of seconds that must pass before issuing a
    6 f$ }( ^+ |0 f# f
  1237. ; ping during oci_pconnect() to check the connection validity. When" `( a" S! w8 L) V
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 ~' y& o1 {# y3 v: x0 C3 l  G, r
  1239. ; pings completely.7 m5 p6 j4 z' Q/ O# P5 u4 [
  1240. ; http://php.net/oci8.ping-interval
    3 H9 d: t( K& e4 N! y) g$ C. d
  1241. ;oci8.ping_interval = 60/ [5 C+ R' n( j) U) K
  1242. 0 R% p5 Z- P) C- j2 r
  1243. ; Connection: Set this to a user chosen connection class to be used5 G0 z% a2 h. e0 O
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    9 F- T+ g5 W$ @) `( r/ @" S
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ( U8 O' f/ @9 x% q+ g
  1246. ; the same string for all web servers running the same application,6 k2 g! b1 t5 i, Z& ?5 T; F
  1247. ; the database pool must be configured, and the connection string must
    4 h! u/ ~- P; ^: ?; O
  1248. ; specify to use a pooled server.
    1 Z, l4 ~& x5 {' i/ C) T
  1249. ;oci8.connection_class =5 f( @6 p, |* R4 ?7 a7 x
  1250. - X$ @. p% ?# m9 ?0 R; Y
  1251. ; High Availability: Using On lets PHP receive Fast Application+ a& w' @' a2 l; @. l
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 e! q5 u! k& o- \
  1253. ; database must also be configured to post FAN events.  f# C, `) @! x/ y& R
  1254. ;oci8.events = Off/ j4 g7 T! {- ?; P' ]
  1255. . y8 n: I, S' B1 i) O$ r- ~$ t
  1256. ; Tuning: This option enables statement caching, and specifies how
    & Z/ L& N5 I9 a5 H( Z: z
  1257. ; many statements to cache. Using 0 disables statement caching.
    % b6 r/ j% y0 O
  1258. ; http://php.net/oci8.statement-cache-size7 F9 J! d5 Q! k- R% a, \
  1259. ;oci8.statement_cache_size = 20
    ( v' K" S0 n1 R+ h' H) D

  1260. 6 M- K% o( ~6 s3 j% f
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ' B7 q' q/ Y  ?1 k, I& |
  1262. ; rows that will be fetched automatically after statement execution./ ?: m0 Y9 M. V6 f4 |& {/ w1 A1 P
  1263. ; http://php.net/oci8.default-prefetch- m- {8 \6 x* H5 |0 x
  1264. ;oci8.default_prefetch = 100, S' @* i1 `( R+ Q1 a

  1265. 6 k8 X7 w. o& `% O
  1266. ; Compatibility. Using On means oci_close() will not close
    * c, c! u6 M  V" V
  1267. ; oci_connect() and oci_new_connect() connections.! x, G6 o) m$ i, k: P" R: D
  1268. ; http://php.net/oci8.old-oci-close-semantics
    % k. s0 \. g, I
  1269. ;oci8.old_oci_close_semantics = Off1 u6 o* q- t7 g: V8 m, a3 g
  1270.   b2 T. x, S' w* \
  1271. [PostgreSQL]
    : t; w) w- v1 R3 v( d+ b
  1272. ; Allow or prevent persistent links.! Y) g0 R4 \& Y* |& h
  1273. ; http://php.net/pgsql.allow-persistent
    / `" Q1 E5 s: u& D0 A, B6 G
  1274. pgsql.allow_persistent = On
    ( ~% l5 \. V* O; j
  1275. % y$ O& ?' k: c0 b5 A4 F5 B
  1276. ; Detect broken persistent links always with pg_pconnect().1 r9 u0 T( g% Y0 Q0 I" z
  1277. ; Auto reset feature requires a little overheads.9 n7 w3 Q- Q  r9 O* P
  1278. ; http://php.net/pgsql.auto-reset-persistent  o% H/ d% P% v8 f2 z' q- O
  1279. pgsql.auto_reset_persistent = Off# e+ b' c- O, [7 \  x! x1 p
  1280. / O- H- P5 Q# S; _5 Y1 H
  1281. ; Maximum number of persistent links.  -1 means no limit.
    9 i1 v  x6 u! p+ r& v
  1282. ; http://php.net/pgsql.max-persistent
    # M  n0 \7 a0 [. }9 N0 o
  1283. pgsql.max_persistent = -1. R" u: o$ M5 E7 q

  1284. 8 b! \9 i& t8 \& ?' w% i7 u' p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% O/ V8 h% x5 C8 d- A
  1286. ; http://php.net/pgsql.max-links
    0 w/ R2 m9 {# L/ r6 y$ P+ P( I
  1287. pgsql.max_links = -1
    # H* d6 l2 |5 O) N5 B6 P
  1288. ! ]  `1 d* g* n
  1289. ; Ignore PostgreSQL backends Notice message or not.
    . M  Q; q- \- x" W1 r4 R
  1290. ; Notice message logging require a little overheads.
    # v0 z9 }5 h, s& a
  1291. ; http://php.net/pgsql.ignore-notice
    - ^( O  R: d* e/ m  O
  1292. pgsql.ignore_notice = 0% d) s6 m  S" J6 R+ o& W. a: X

  1293. 7 X) m5 \" N+ L& @4 S
  1294. ; Log PostgreSQL backends Notice message or not.
    ) M* b+ ?0 k7 N: z- z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# M' y, c+ T0 T9 I8 D
  1296. ; http://php.net/pgsql.log-notice' ]  I% L9 g) K4 o" s
  1297. pgsql.log_notice = 0; i6 f& x  d- ~

  1298. 0 [% `8 [5 _  T0 {; _) U7 n' S
  1299. [bcmath]
      ?- z( K9 ]0 x; z: a1 t. V$ s
  1300. ; Number of decimal digits for all bcmath functions.9 x# H  S' G7 B
  1301. ; http://php.net/bcmath.scale" Y. v' f* L9 i. I
  1302. bcmath.scale = 0, c% ~# R% p6 Q! }' t$ D
  1303. ) K6 }+ |' v# ?5 l& T6 j
  1304. [browscap]
    # y" d- n  @$ }0 s, d4 }
  1305. ; http://php.net/browscap# f- f( l# u4 l
  1306. ;browscap = extra/browscap.ini9 p6 t; p$ E3 ?) @2 {( K
  1307. / C" y4 h0 C9 \' h5 o/ N7 r& S
  1308. [Session]
    ) B7 G, p; a: }- b0 J/ ?% U
  1309. ; Handler used to store/retrieve data.
    9 i& @: D' L, ]( K; c' U6 \% N
  1310. ; http://php.net/session.save-handler9 s, B. y5 b  l+ }! o4 m
  1311. session.save_handler = files
    / L. q; P# p; _

  1312. ' y8 c) e! b2 X& ~
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    . d: z. g# |6 ~
  1314. ; where data files are stored. Note: Windows users have to change this
    9 i3 \6 _9 D" I
  1315. ; variable in order to use PHP's session functions.
    4 v! |( W6 O% z: C8 w! H
  1316. ;; r4 b$ B6 F4 _$ L  Z
  1317. ; The path can be defined as:" B* c- E; U% c' J5 d5 n
  1318. ;" m6 J' w0 G9 ]0 _0 u$ z! v1 x; ?
  1319. ;     session.save_path = "N;/path"5 I2 b8 P6 [" n; D: V
  1320. ;
    , }# W  W; Z# u
  1321. ; where N is an integer.  Instead of storing all the session files in
    . f$ Q% J' J1 m# D
  1322. ; /path, what this will do is use subdirectories N-levels deep, and% z  Y. V$ o0 }" [; v
  1323. ; store the session data in those directories.  This is useful if
    8 v: W' K6 P0 }2 _
  1324. ; your OS has problems with many files in one directory, and is* B6 R8 }  @: c7 b( k- w* C& H
  1325. ; a more efficient layout for servers that handle many sessions.1 R/ N, k! u& m
  1326. ;( V: J3 y% k* e0 O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    / p! ?: [2 J& f
  1328. ;         You can use the script in the ext/session dir for that purpose.
      n- T5 m2 U7 @' Y- l+ {1 p
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    - M: e# I1 m; j# q# U" M" z
  1330. ;         use subdirectories for session storage- V5 l; D1 d2 z& V
  1331. ;6 S. G! J' F3 Z; b
  1332. ; The file storage module creates files using mode 600 by default.
    % x& O( p2 N; R
  1333. ; You can change that by using0 E. b+ j- u. e  f. Y  o
  1334. ;1 y4 x/ t$ B. X" O! f
  1335. ;     session.save_path = "N;MODE;/path"
    & z7 x; g( @* J8 y1 ~1 h" O
  1336. ;
    % k; k  c9 r# `4 x" ?
  1337. ; where MODE is the octal representation of the mode. Note that this4 t5 V3 l+ h  c! J; X+ ?0 A
  1338. ; does not overwrite the process's umask.8 ^+ o6 O: K) Y9 u
  1339. ; http://php.net/session.save-path& i! k; I- f+ e9 K4 R) S
  1340. ;session.save_path = "/tmp"
    5 S1 m  P+ p& z' o

  1341. . C" F5 X! v' o3 G
  1342. ; Whether to use strict session mode.$ P# A* }- Y  a7 M2 F+ c8 h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate8 }( ]* i! V- \( r
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    0 L) J' E  Y" d2 ^2 `
  1345. ; applications from session fixation via session adoption vulnerability. It is1 u2 o- b; ]7 ^5 n5 ~8 \% Q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.! G: f: u, a* c' R1 ?6 T6 T- Z
  1347. ; https://wiki.php.net/rfc/strict_sessions
    0 a! t9 C6 r1 z" m/ N' l
  1348. session.use_strict_mode = 0* q# \3 P! ~* o

  1349. - _- {0 I" U& {+ W% z$ w
  1350. ; Whether to use cookies.
    ! L. d" q" k- D8 e6 C
  1351. ; http://php.net/session.use-cookies
    " ^* T2 D) N+ a+ y; }
  1352. session.use_cookies = 14 g( I# V3 t5 h7 u' c) G& A5 R

  1353. ! I' D3 {  ]$ d) \
  1354. ; http://php.net/session.cookie-secure# L, ]8 Y, s! O% @
  1355. ;session.cookie_secure =
    , b7 P; U% f6 {( x2 s, Z1 T; _
  1356. ' B9 ~# w. L+ e7 n3 Q! y- Q0 ?9 x7 t- E
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 \7 u) g  D  k' ^0 U9 D7 W
  1358. ; the session id. We encourage this operation as it's very helpful in combating: i4 N9 B! `. f. v
  1359. ; session hijacking when not specifying and managing your own session id. It is6 S8 N" \8 K, ^- r: @
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.# y6 O8 c/ z9 x+ a
  1361. ; http://php.net/session.use-only-cookies& H7 g# ]; t! o5 H. M
  1362. session.use_only_cookies = 1
    2 w' g7 ?8 p. p6 j  _3 |: t
  1363. . n2 z5 F' R0 Y- F
  1364. ; Name of the session (used as cookie name).  C9 K6 ?* L' {+ c
  1365. ; http://php.net/session.name
    7 V# r" {6 T# o$ N9 i+ y; |
  1366. session.name = PHPSESSID
    ) c1 k$ K- c* u3 N
  1367. / M$ A8 {. A' k+ L* e3 A* Z% E
  1368. ; Initialize session on request startup.
    2 U0 u- s. k- G, Q! O
  1369. ; http://php.net/session.auto-start
    & I1 I, f: X+ D8 H; a0 I6 Z2 J
  1370. session.auto_start = 03 _5 I4 e6 N& C# S
  1371. $ a7 A: X1 @% }
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    0 E2 x" V5 r7 p) q$ x
  1373. ; http://php.net/session.cookie-lifetime
    & E2 ^7 Y  T6 f7 [4 d
  1374. session.cookie_lifetime = 08 W, u0 a; ]1 X+ ?" B8 z" |' c
  1375. * c1 ?# J# `% U' G+ j4 U0 X! R
  1376. ; The path for which the cookie is valid., x1 p5 V5 r& U
  1377. ; http://php.net/session.cookie-path6 |! A: _& v5 o- A6 a5 ^
  1378. session.cookie_path = /; E' q* G: r; M
  1379. 6 _/ M* n/ [$ E
  1380. ; The domain for which the cookie is valid.
    3 A) P( y6 I+ i8 z. _! L, u
  1381. ; http://php.net/session.cookie-domain' L$ h& y% p; H  k2 D) _
  1382. session.cookie_domain =2 [2 t* q( d* A: {" e! v

  1383. $ ]7 D' T* D% N, Z4 h/ T
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . x6 o  }1 I4 U& P* R
  1385. ; http://php.net/session.cookie-httponly5 T7 @8 n/ L0 k4 ^. S1 ]1 [5 L
  1386. session.cookie_httponly =
    2 h& `( K: R+ b0 |

  1387. 3 i2 {/ ~7 U+ m  T$ `5 _2 n5 ~
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP., T0 a. p0 A2 s4 `4 w
  1389. ; http://php.net/session.serialize-handler: Q9 m- Y9 o' i+ L5 g: H6 ^. o
  1390. session.serialize_handler = php" Q6 ^5 F/ I' Q+ I% Y6 w
  1391. 1 i- u% o- b) p0 v' [
  1392. ; Defines the probability that the 'garbage collection' process is started
    % {" l' a- I# u
  1393. ; on every session initialization. The probability is calculated by using
    ) N( U: g9 d8 e0 @" F4 r% N
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 J; a  |+ i3 q: f* E
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    8 M9 f  \. O; i$ U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " W# }+ l6 h5 ^" T. l
  1397. ; the gc will run on any give request.
    0 e/ b7 X' E" L: X1 |
  1398. ; Default Value: 1# ?: ^( W( e' M
  1399. ; Development Value: 1% Y. a' l. p: C0 \
  1400. ; Production Value: 1( u1 m: e/ M  q+ s
  1401. ; http://php.net/session.gc-probability
    8 x3 f( v# Y# k/ d2 P$ \: Q
  1402. session.gc_probability = 1
    8 C9 v  `) B( a- `) N, N; o
  1403. / E& K- F: F' y2 U5 [4 @! A0 ^+ }
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    9 s) a' ^+ _# D3 k5 l4 i0 n) a2 W3 l
  1405. ; session initialization. The probability is calculated by using the following equation:# y* G0 ?: o7 m: k  P4 C/ P
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; Q* e( H8 r3 F# Y1 X! I7 T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ! q" q" T: L9 v6 C
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    1 V) N* P: f: q# `
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . J9 U4 J0 P+ z8 I5 |
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 ?! r- {& }+ y' ^' W" s% r! _% K
  1411. ; this is a more efficient approach.1 g4 H% F$ ^0 |! {3 E
  1412. ; Default Value: 100
    8 p7 \% S: W7 \, |1 R) W) @
  1413. ; Development Value: 1000
    1 M+ `4 ?( z  t6 n9 Y" P
  1414. ; Production Value: 1000! `  {! k6 @( F$ t9 Z% B
  1415. ; http://php.net/session.gc-divisor) M0 b0 l( G$ C2 _
  1416. session.gc_divisor = 10003 L8 X6 @4 N5 C9 e
  1417. # W$ B+ F! f# ^, I. i  g: L
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    5 q. q8 G, A. |5 k& `! s9 Y
  1419. ; cleaned up by the garbage collection process.& y' y# X- E8 X6 g! G
  1420. ; http://php.net/session.gc-maxlifetime
    * H, b$ M% d/ j/ \! Y
  1421. session.gc_maxlifetime = 1440' x0 F- M- j9 f7 q; T) ^: G4 t

  1422. , d% y+ N" g6 \& m8 A
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    * L# E% [9 \. r/ `
  1424. ;       (see session.save_path above), then garbage collection does *not*$ C6 N- i3 o0 F7 V
  1425. ;       happen automatically.  You will need to do your own garbage) _+ _% s- [/ h( Z( b3 _4 a
  1426. ;       collection through a shell script, cron entry, or some other method.
    7 M4 {! W) q8 e
  1427. ;       For example, the following script would is the equivalent of4 a5 A8 g9 Z& t% n, Y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ! V% n6 c! l- f- z
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% m5 l: \. ^$ v" H2 Q9 W' V$ {

  1430. : |& p8 W! q7 N/ A5 M
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 A5 x5 S" x* V' k3 |; a
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    * z" d9 {0 g7 A+ q* H
  1433. ; considered as valid." z- a* M& k, r
  1434. ; http://php.net/session.referer-check
    9 t) T  h/ D/ s" a% |& N
  1435. session.referer_check =5 y, H9 Z- |3 j$ @
  1436. ' \+ r3 q7 F" k
  1437. ; How many bytes to read from the file.
    / p8 i3 s& B- g5 X' n  K
  1438. ; http://php.net/session.entropy-length5 K' }9 \8 E  A  Q4 F; m( ?
  1439. ;session.entropy_length = 32
    # B. A1 A5 e3 M/ o  Z- B+ g

  1440. , ^. k2 ^; e7 D0 j
  1441. ; Specified here to create the session id.% H4 U: O% r5 g# \/ n2 K4 {
  1442. ; http://php.net/session.entropy-file, D$ L! B) E" k8 V+ U, Q
  1443. ; Defaults to /dev/urandom
    ) _2 L8 D$ r3 W' d# o
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . `) G9 x# o$ ^1 j0 R! G  a5 K$ D3 r
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! _6 v, f8 Z0 M+ K
  1446. ; On windows, setting the entropy_length setting will activate the
    . f: S/ c/ L' Y; G$ f
  1447. ; Windows random source (using the CryptoAPI)' D# I: d  Z. o# f3 x# ?3 _
  1448. ;session.entropy_file = /dev/urandom7 f# F: F4 }! i; h) X

  1449. 5 O8 M5 z: H1 F- P6 n3 z& ^8 p
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 x" c/ S& q3 \* W" c0 s( S
  1451. ; or leave this empty to avoid sending anti-caching headers.3 e- D3 I' Z5 H3 E  W7 Q0 `# D
  1452. ; http://php.net/session.cache-limiter
      d2 R0 N2 A2 V' O! n- g
  1453. session.cache_limiter = nocache
    % k6 S% g' C& n  k
  1454. 8 {! i8 b/ d, S' M+ x7 [
  1455. ; Document expires after n minutes.
    # H4 C7 |5 O" T
  1456. ; http://php.net/session.cache-expire& J9 A' F9 t  C8 A2 r, s- \- r' L
  1457. session.cache_expire = 180
      q  }' K9 D" h
  1458. / k( V. v/ [# c, ^' m9 B; N5 k
  1459. ; trans sid support is disabled by default.$ w& i8 [/ W6 G
  1460. ; Use of trans sid may risk your users' security.# q% @, q( U1 f5 L, a5 {) t7 A
  1461. ; Use this option with caution.
    0 r+ |) }1 B3 s) t/ p: F8 s6 h- {
  1462. ; - User may send URL contains active session ID' t! x+ d; g; r# b7 G
  1463. ;   to other person via. email/irc/etc.; O9 M2 o( }6 g8 t7 E' F0 O
  1464. ; - URL that contains active session ID may be stored
    7 k' j# I% y: [, @6 O( ~: \
  1465. ;   in publicly accessible computer.
    ) u- b0 E2 d% d
  1466. ; - User may access your site with the same session ID/ K6 Y- K% n% |7 E( E
  1467. ;   always using URL stored in browser's history or bookmarks.
    & B0 W; n  K/ F6 e
  1468. ; http://php.net/session.use-trans-sid
    - I: v* ?- N- x+ E
  1469. session.use_trans_sid = 0! Y9 e8 ^: `& i: m4 s

  1470. " E. j" M" w* n1 k% X' z+ W7 w8 R
  1471. ; Select a hash function for use in generating session ids.. r3 }6 v- w2 Z9 l, n2 R" a
  1472. ; Possible Values) a, X0 I9 w8 U* ^+ t
  1473. ;   0  (MD5 128 bits)
    6 |, d/ u) D+ k
  1474. ;   1  (SHA-1 160 bits)0 D" \$ j/ h4 \+ P* s, R8 ]
  1475. ; This option may also be set to the name of any hash function supported by/ k  C% M( V3 T- z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()$ i7 Y% K& \' A
  1477. ; function.; t, Y. I( E! h9 U# u& I- |2 x0 o
  1478. ; http://php.net/session.hash-function1 g  i( g- K$ v7 u- U% \
  1479. session.hash_function = 09 }. n! \: {2 m1 z. M* W' p
  1480. : I# W7 e$ m% r, ?+ E) C
  1481. ; Define how many bits are stored in each character when converting* ?0 a, ~% x/ w: S. N6 q
  1482. ; the binary hash data to something readable.
    % O: F$ G/ |4 a7 h, W
  1483. ; Possible values:
    ) `, Z' m* p3 `$ k
  1484. ;   4  (4 bits: 0-9, a-f)
    ' H' v- r& j5 q4 j, [- c; Z" i
  1485. ;   5  (5 bits: 0-9, a-v)
    % e# L. A8 t0 o
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    - }9 Z. I0 n% ~
  1487. ; Default Value: 4/ L# T8 D* L* p* x+ b/ V$ J
  1488. ; Development Value: 5
    / u! |$ A+ F, o, l" e& d0 e
  1489. ; Production Value: 5
    & Q: X, c  B; V! ^
  1490. ; http://php.net/session.hash-bits-per-character
    0 B$ o$ Z8 q. W! Z  I
  1491. session.hash_bits_per_character = 5
    # Y. Z3 @* x( j

  1492. 2 X; Q) w+ Z' |. y* J
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ J  l; V9 S3 L$ ?% [
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    - @! ~; f" p9 S; `8 N! D
  1495. ; add a hidden <input> field with the info which is otherwise appended
    8 H: U2 p; A% ]8 i3 i, o* |
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 p, z  X1 _% U4 J0 n
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; M- {+ I# Y8 u) r) d/ X
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 F2 }7 h) I: E9 p( T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 r  @+ {: s' k2 o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      Z$ [8 h' ~: U* E
  1501. ; http://php.net/url-rewriter.tags
    . f; p& Z$ b$ W8 m& T: y  C8 `
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 \3 ?0 e/ ]6 z6 g
  1503. / ^+ e4 G5 E3 P( S3 b0 X2 |0 O
  1504. ; Enable upload progress tracking in $_SESSION; D9 {3 r! R" v! e* y6 w: i
  1505. ; Default Value: On
    : ?! h4 s1 m* S  l. O
  1506. ; Development Value: On1 ?8 Y" ]: S2 `0 ?/ |+ O& s- w
  1507. ; Production Value: On- Q$ O2 g4 a8 r- |. P# b: p
  1508. ; http://php.net/session.upload-progress.enabled$ Y" X+ E2 b5 I8 o9 ]3 c: {
  1509. ;session.upload_progress.enabled = On9 |3 y- F5 G3 I+ U& B% L( a0 m
  1510. 3 p1 l3 y; D& P: u8 [! D! j5 f
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ) l9 S6 `; U' e0 ^
  1512. ; (i.e. upload completed).# e# l; t# @' j4 n$ ^+ X
  1513. ; Default Value: On
    4 ?7 h1 @1 N7 i# M5 G& x; b
  1514. ; Development Value: On
      N; Z5 ~( C( @( k3 ^* {
  1515. ; Production Value: On
    " @/ [7 z, o4 p) s
  1516. ; http://php.net/session.upload-progress.cleanup
    8 O# |. U' }; J$ J+ J
  1517. ;session.upload_progress.cleanup = On) O3 A8 a9 ?% F# Y, J# _

  1518. ) T, T/ `- c# d* U; h
  1519. ; A prefix used for the upload progress key in $_SESSION/ u2 d/ U0 f- j2 F; E
  1520. ; Default Value: "upload_progress_"
    7 u2 X, v5 c8 P2 D% s
  1521. ; Development Value: "upload_progress_"# z* L( a* C. w, p
  1522. ; Production Value: "upload_progress_"" n* c5 O% k2 R+ E
  1523. ; http://php.net/session.upload-progress.prefix
    * g4 o( P6 q2 Q: e$ y5 n2 s
  1524. ;session.upload_progress.prefix = "upload_progress_". I' ?& S% S6 Q, s8 @
  1525. & c& I+ |) t) E1 B8 _9 {, w
  1526. ; The index name (concatenated with the prefix) in $_SESSION# Y8 B2 O( |- x
  1527. ; containing the upload progress information
    ( w7 V/ A: z/ y' D: _8 P0 W
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS". P( |! P- O! u. P- {! V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". m4 L: w1 |1 q
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"0 h5 h0 O2 x; q% \
  1531. ; http://php.net/session.upload-progress.name- Y: ^5 I7 ^+ ], x8 x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % G# @, t& e0 D5 z3 f
  1533. - ~. ~: o+ }! A5 K* T
  1534. ; How frequently the upload progress should be updated.3 F0 E7 v+ d' u- L% O. y3 R8 b- d9 T
  1535. ; Given either in percentages (per-file), or in bytes5 d- s8 s% d7 v  b# Y
  1536. ; Default Value: "1%"
    3 f/ l7 o9 Q7 D1 M5 S
  1537. ; Development Value: "1%"0 `3 [$ \, e+ q4 w& W/ R2 ?
  1538. ; Production Value: "1%"; R; C3 L: @7 D9 S- R, u+ p
  1539. ; http://php.net/session.upload-progress.freq
    0 C: c0 t- U& _% }
  1540. ;session.upload_progress.freq =  "1%"
    7 Q; n# Z+ ^; y- Q- o7 C  @- U

  1541. 2 u9 k9 {. R0 K) v3 M% ]8 e
  1542. ; The minimum delay between updates, in seconds% v# {! f0 w' k5 l& c
  1543. ; Default Value: 1
    % @& ~! `% f6 ]4 }$ |$ B; O5 ^
  1544. ; Development Value: 1
    , L! k, N, a7 r
  1545. ; Production Value: 17 V2 d/ E  h. D& n
  1546. ; http://php.net/session.upload-progress.min-freq* W# u9 R* w4 V! m! m& h8 R$ S
  1547. ;session.upload_progress.min_freq = "1"' W2 `* r6 w+ H$ |

  1548. - Y2 q4 h" B6 U# O
  1549. ; Only write session data when session data is changed. Enabled by default.
    ' V& |1 V+ J1 l; P) g
  1550. ; http://php.net/session.lazy-write1 r+ z5 C+ `( H4 I0 @" F
  1551. ;session.lazy_write = On1 c" T; H  C- f6 d
  1552. - a2 g- C" f/ v- o& e3 ]/ r- P
  1553. [Assertion]5 }; [& c# F3 Y' ]  ?* {! Z/ @
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 K4 v& G. @2 t& q
  1555. ; -1: Do not compile at all
    . B* N7 T. V( J3 f; L' L# S
  1556. ;  0: Jump over assertion at run-time) R$ G6 L% M7 k, J4 l8 c+ V
  1557. ;  1: Execute assertions* p0 F) Q' J; w- f) A3 W
  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)2 @, G: M- J- M8 c
  1559. ; Default Value: 1
    1 ]& a" Z/ v1 ^9 v
  1560. ; Development Value: 1
    ; K: k- D" U9 ^6 Z
  1561. ; Production Value: -18 u1 y0 ^, p+ ^  a* ^: Y
  1562. ; http://php.net/zend.assertions
    6 H  h4 s" y) m$ e7 i
  1563. zend.assertions = -1
    4 X3 ?1 C" Y# ?& r
  1564. ( f; _  |6 l  X0 D
  1565. ; Assert(expr); active by default.8 I0 H) _) [% p1 g' `& M
  1566. ; http://php.net/assert.active# ]/ w5 ^, J4 ?
  1567. ;assert.active = On
    / n8 X& H0 S% g" }

  1568. 6 M" G" K! c8 [8 l
  1569. ; Throw an AssertationException on failed assertions
    : V& v/ }6 {  F2 E2 |  z2 I# s
  1570. ; http://php.net/assert.exception5 I* v4 p/ p, y: `; j" L7 s2 p
  1571. ;assert.exception = On
    $ B( r* P6 K7 D& P  O" ?' h
  1572. # k) A* F: p1 A' p( c
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    & p0 T) p6 N! Q2 e- N  C# V
  1574. ; http://php.net/assert.warning/ \! m+ B: h9 K2 L6 Y
  1575. ;assert.warning = On. L  d# x7 k# g' O- k  {
  1576. 1 {+ s# j, [- u% M1 w4 u$ i
  1577. ; Don't bail out by default.: R0 D. g+ [  A$ [* q. `
  1578. ; http://php.net/assert.bail( N: _; m7 T9 G2 d! P% {
  1579. ;assert.bail = Off8 ~" C: ?7 k5 U% x7 Z' x3 M5 r- t- n

  1580. ) M4 |: d  n# P+ _; h
  1581. ; User-function to be called if an assertion fails.
    . Q: M9 d- g; Y- S& [2 K
  1582. ; http://php.net/assert.callback
    1 D, S% e: A1 q3 x- E
  1583. ;assert.callback = 0% Q( o& k" P$ M' v$ ]) p4 k

  1584. 0 R" S" t( _! A6 o; t4 E3 Y8 D
  1585. ; Eval the expression with current error_reporting().  Set to true if you want2 n+ n6 k7 H5 O
  1586. ; error_reporting(0) around the eval().
    ! z0 {; V0 Y9 h/ Z9 Q- b0 A8 O
  1587. ; http://php.net/assert.quiet-eval4 ^# T; ]& n' ~( v
  1588. ;assert.quiet_eval = 0
    - h; u/ [7 O, e/ g/ u6 u8 N
  1589. 1 @5 |# ~0 L/ B0 D+ I  a; ~# {
  1590. [COM]  J/ u" o6 y: w& q. ^7 J
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs' ]6 {2 {+ b9 Q3 I2 p1 N
  1592. ; http://php.net/com.typelib-file: P: B! z: g7 }0 I1 n' o
  1593. ;com.typelib_file =6 G  a1 q3 c% D: d% _) W
  1594. + i! ?7 f6 ^; {
  1595. ; allow Distributed-COM calls) l3 c& j( [; w! T, \6 ?5 ]1 D
  1596. ; http://php.net/com.allow-dcom% s% E! E0 L1 k  x- F
  1597. ;com.allow_dcom = true
    . |8 ~. O9 Q, t, q& r& Z
  1598. * }# O# q9 Y5 s4 ^# h4 B! o
  1599. ; autoregister constants of a components typlib on com_load()
    9 X( P+ o2 |: n' ^0 p
  1600. ; http://php.net/com.autoregister-typelib
    2 s1 ]4 D2 @! i& F( \  ~
  1601. ;com.autoregister_typelib = true9 k3 Y+ D3 _" B# ~! @1 X/ s' F8 d

  1602. 8 X6 |4 g$ `1 Z$ D' h2 c
  1603. ; register constants casesensitive
    - n! h: `1 n6 W3 v2 n
  1604. ; http://php.net/com.autoregister-casesensitive
    ! E, `( D- v+ `1 q2 s+ J
  1605. ;com.autoregister_casesensitive = false6 C) ]0 P. ~# T" x

  1606. 4 x% y7 \9 w3 S
  1607. ; show warnings on duplicate constant registrations
      B4 F( o" l  e( `; b) x
  1608. ; http://php.net/com.autoregister-verbose
    6 j9 o- q0 u7 H! G+ Z$ T
  1609. ;com.autoregister_verbose = true
    % n) x4 I: B/ B# r
  1610. ) }  q" ?. N: [( W1 S( l* [
  1611. ; The default character set code-page to use when passing strings to and from COM objects.0 k7 H# u$ F* E, {. \& v  o9 k
  1612. ; Default: system ANSI code page
    3 \8 C* S2 J% i8 B) b( D
  1613. ;com.code_page=
    9 y) X, v! f8 ?: B; T0 b

  1614. 0 Q, O# @! R# @
  1615. [mbstring]) M/ q- Y  [- s) i* b5 S- _
  1616. ; language for internal character representation.  l* s! @# Z! @! i) E3 T$ J7 M3 ~) C
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    9 v$ M; S# v; r* |( z
  1618. ; http://php.net/mbstring.language
    7 q- B1 f: Q9 }" S
  1619. ;mbstring.language = Japanese2 N6 L4 [: B' s0 A# q
  1620. " {8 i/ C$ l0 x" x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 Q0 s) f2 L: S
  1622. ; internal/script encoding.
    2 I% M* A+ W' n( }; [) @+ c
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    & L$ R  T" v/ l! N! }& o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' }) m3 R% l0 J2 l- x# P6 |: C# I
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 {4 ?+ E8 h  q3 n0 A
  1626. ;mbstring.internal_encoding =! i- P$ h# ~7 k( h2 K- L; P1 y

  1627. & d, x3 v% K5 C3 f2 `4 B0 f
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + Q6 Y+ r- y) _# w& z& Q: f
  1629. ; http input encoding.
    $ c( N) N3 p) m; e
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.0 @, S8 ?2 {" z, h% B6 F
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.2 `; E. [1 s# O( s' b3 U
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    7 R8 i  e, M7 k0 A$ W: H% m3 @
  1633. ; http://php.net/mbstring.http-input" m- m" Q+ Q6 |# q/ l6 C2 h, w
  1634. ;mbstring.http_input =
    ' w- h% w, ]9 u8 m1 g+ q7 F

  1635. 9 A0 j) y- j! p. G' P
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( {0 M. u& ?; W$ \
  1637. ; http output encoding.' c1 G6 O) Q5 v4 K& c$ S3 V. K+ q
  1638. ; mb_output_handler must be registered as output buffer to function.
    % H9 A' n2 z7 [# [
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.% Q" T2 W9 o5 u) P" W* Q" S
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ K) g$ z( K1 G$ N/ h
  1641. ; To use an output encoding conversion, mbstring's output handler must be set7 P% J# Y: ~) _( C( q
  1642. ; otherwise output encoding conversion cannot be performed.& B6 n4 d; L: H3 O  [, X
  1643. ; http://php.net/mbstring.http-output
    ! \9 a6 X- t, g8 ]
  1644. ;mbstring.http_output =
    2 C- M# |) h# N( F) r$ h3 L( \% t
  1645. 9 C  K( {6 c# O; Q
  1646. ; enable automatic encoding translation according to
    , Z5 J9 h  m" J
  1647. ; mbstring.internal_encoding setting. Input chars are
    * [/ _8 F7 o; l/ E# w& V
  1648. ; converted to internal encoding by setting this to On.# Y& O% o7 A, T  Q, S! b/ y
  1649. ; Note: Do _not_ use automatic encoding translation for. M, R1 _8 f2 a$ o0 A2 E5 o
  1650. ;       portable libs/applications.1 ?' ]( F' z3 X; ?; K
  1651. ; http://php.net/mbstring.encoding-translation8 E8 j% L1 _& e% z
  1652. ;mbstring.encoding_translation = Off3 L1 h  k$ [' ?

  1653. ) a' A, @* j6 W0 ^
  1654. ; automatic encoding detection order.' v# c' ^- f7 E3 Q* D$ ?" l3 d
  1655. ; "auto" detect order is changed according to mbstring.language9 K7 z9 E( e2 ~/ F) x6 \
  1656. ; http://php.net/mbstring.detect-order
    & @4 t6 `& p2 @' c/ w, C$ r
  1657. ;mbstring.detect_order = auto
    & _% R  e3 f: j1 W) i6 }8 F, R

  1658. " A8 T5 h: |4 [9 z, q
  1659. ; substitute_character used when character cannot be converted1 }. S2 @1 Z- [' R+ S- Z1 u: y
  1660. ; one from another
    $ f7 M2 l7 G1 ~" B( F
  1661. ; http://php.net/mbstring.substitute-character
    " o, e9 T5 [" n; c- R- }
  1662. ;mbstring.substitute_character = none8 C/ t" \( a' t

  1663. 0 }3 A; k5 \0 l2 {% y
  1664. ; overload(replace) single byte functions by mbstring functions.$ A/ I6 \5 g/ \2 m  q" a7 F' p
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! s7 z% ^  r$ F. K" t
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    / T- ]/ Z# x7 Z& b0 P$ M# E
  1667. ; For example, 7 for overload everything.8 L( X! f: \! p; d3 @
  1668. ; 0: No overload. ]& k9 }9 J8 V5 n9 v. ?
  1669. ; 1: Overload mail() function
    0 _1 z5 y$ u. {, ?
  1670. ; 2: Overload str*() functions
    - M4 f( P, F1 w  U, U3 A5 E2 H& c
  1671. ; 4: Overload ereg*() functions
    " `/ d4 E7 `! T( s+ T
  1672. ; http://php.net/mbstring.func-overload
    2 y) r) \# h# t
  1673. ;mbstring.func_overload = 01 W9 Y- S# H: Z: y' \
  1674. ( |# K: D3 W& I0 f" k, t# m
  1675. ; enable strict encoding detection.
    , w# T) l+ Q& p5 T/ I: q# T4 x+ B
  1676. ; Default: Off( b. w5 }2 k; Q9 f$ W- |
  1677. ;mbstring.strict_detection = On
    * m* y. K# ]4 V- n3 i& S  T

  1678. & M& e8 U( V  J6 v% @
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; @- j7 p( l0 Q) j
  1680. ; is activated.
    . p: z3 D! Z  L6 x1 m* g
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ) N+ N5 c9 ?4 X! @
  1682. ;mbstring.http_output_conv_mimetype=+ n  H: f3 a0 @0 w0 L6 D* S4 z

  1683. ; `# o. K3 q5 @) X4 G6 K# {# i
  1684. [gd]6 E. u) M, A; r8 j
  1685. ; Tell the jpeg decode to ignore warnings and try to create, t1 T8 a5 [4 A  G/ G; [% b3 i
  1686. ; a gd image. The warning will then be displayed as notices# H' Q2 ^7 @2 c4 b3 F+ G
  1687. ; disabled by default! P: i  `+ O" k; l6 o+ h
  1688. ; http://php.net/gd.jpeg-ignore-warning
    : X1 ^/ q' C' I4 p1 F! O
  1689. ;gd.jpeg_ignore_warning = 0- R( y. n6 K6 k; s. u" j5 T3 l

  1690. 8 Z) y7 t% Q- h
  1691. [exif]; a% E& J1 S  z
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - \' ^3 M! s# o7 J8 x) Q
  1693. ; With mbstring support this will automatically be converted into the encoding1 k) g4 g3 l2 w1 `( y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding& a( o$ e: P: ]! H5 ]# ?
  1695. ; is used. For the decode settings you can distinguish between motorola and, n2 x) V1 S7 T$ \4 V
  1696. ; intel byte order. A decode setting cannot be empty.- B% V, s0 ~$ L) ]# Z
  1697. ; http://php.net/exif.encode-unicode( a# B( f  e  g; L. W
  1698. ;exif.encode_unicode = ISO-8859-15
    / B9 M" @( q( A

  1699. 7 V; ]8 U- L" h$ w( k% K
  1700. ; http://php.net/exif.decode-unicode-motorola& Z0 a: H* P( i/ ]$ D. k
  1701. ;exif.decode_unicode_motorola = UCS-2BE1 q  M7 ?8 H+ A" U* B% X
  1702. & j9 A0 }6 t# A; U
  1703. ; http://php.net/exif.decode-unicode-intel
    $ ~0 a- }1 R4 c, A9 q
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 E+ }+ z0 t$ I  W- |  @

  1705. $ ]0 l$ T3 {0 K- _- J; P
  1706. ; http://php.net/exif.encode-jis9 N  i3 P, m! n  ]! U% s( z& Y* t
  1707. ;exif.encode_jis =6 B: g& Y4 }( d$ b# I7 R
  1708. 2 ~5 g1 p- n0 o& I5 t4 i
  1709. ; http://php.net/exif.decode-jis-motorola
    9 ~7 @& o% |& j6 t
  1710. ;exif.decode_jis_motorola = JIS& ^- \4 ]8 E& ]# n

  1711. ; j' k" }0 G& l9 h. W0 S
  1712. ; http://php.net/exif.decode-jis-intel8 a' ^" }" M( \9 M- I" Q% y7 P+ G, i2 S
  1713. ;exif.decode_jis_intel    = JIS
      R: ^8 U! V1 P: u
  1714. . `- d. d7 ^- a* c
  1715. [Tidy]
    ! E$ q) b' F3 ^9 r$ I9 t+ f
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( J3 G, m; z5 W: E2 `' K. ~) D+ ^
  1717. ; http://php.net/tidy.default-config
    / |+ K0 u- D" K$ T, l
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg! S6 ~1 p/ q' z* ~5 L# K
  1719. ( n+ I( S+ l2 x! V/ N' f5 N' ?$ j
  1720. ; Should tidy clean and repair output automatically?
    $ u/ Z- u: J' Y8 N
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ! l) C$ e& I' f/ L8 H
  1722. ; such as dynamic images* K9 W% I% h) o  }
  1723. ; http://php.net/tidy.clean-output
    ' D2 F8 R0 b, K
  1724. tidy.clean_output = Off) T& c( a# G. R9 d* f1 L( m* u" [- x

  1725. 3 O5 t3 A8 S2 a7 J: P. L
  1726. [soap]' F6 a# S, g  e0 z
  1727. ; Enables or disables WSDL caching feature.
    9 W/ u% q3 l+ }& m' y: ^% K  D
  1728. ; http://php.net/soap.wsdl-cache-enabled
    4 q+ s4 G8 N0 Z7 W/ G
  1729. soap.wsdl_cache_enabled=1$ I: i  i- I8 o% @

  1730. & G. R3 ?* d( I8 G. {
  1731. ; Sets the directory name where SOAP extension will put cache files.) S' x  n& u/ \7 i, A
  1732. ; http://php.net/soap.wsdl-cache-dir7 p/ \. a$ _" w8 |1 V
  1733. soap.wsdl_cache_dir="/tmp"" _5 A9 N2 d4 ?  [

  1734. 8 j0 w& \5 n' G, ]1 r. [, d; {
  1735. ; (time to live) Sets the number of second while cached file will be used
    ; E1 g, l- B$ u9 h$ _$ c( x
  1736. ; instead of original one.
    4 I" w( A& A  o* t& T, A2 \
  1737. ; http://php.net/soap.wsdl-cache-ttl, E, |5 J8 C" Q, }
  1738. soap.wsdl_cache_ttl=86400
    % R( }! O& v4 {6 G7 m5 [4 e
  1739. 1 c# n  l- v8 j! @( Q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 w" P3 v+ s" q
  1741. soap.wsdl_cache_limit = 5
    * ?! q7 V6 i! ]8 }
  1742. . d- i8 Q! d% Q1 a' |  z
  1743. [sysvshm]
    * Y6 [8 g( Q5 k7 F6 ?) K
  1744. ; A default size of the shared memory segment
    + h) [0 T3 u3 @3 d; |: `; Y5 \9 X
  1745. ;sysvshm.init_mem = 10000) P+ X1 w# U6 E: s9 J1 r) ^# p$ u
  1746. ' q  V3 f. o& G: \
  1747. [ldap]
    / H# k8 I8 B/ P6 o6 F7 ?9 K; m
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    8 R! z' F8 m7 S- C& D
  1749. ldap.max_links = -16 r- D, A9 T8 |2 Q* O* a8 l9 e
  1750. - H( {3 Q" T) D8 t; a: G
  1751. [mcrypt]0 U/ `# r6 s- A
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ b7 J: r+ y0 J8 i% ^% ]

  1753. $ R# n) R$ X( l
  1754. ; Directory where to load mcrypt algorithms
    2 _$ m' D  K: a' E
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 z' s5 a( R+ N8 ?$ N1 x
  1756. ;mcrypt.algorithms_dir=: t' I1 c. D9 e' D( d

  1757. 8 M: g& f& y9 M5 ~# m5 E8 z* v' G
  1758. ; Directory where to load mcrypt modes
    ; y% R+ Z" ^; i8 }# I2 }8 a
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + R+ |9 ?; o. D" I: k
  1760. ;mcrypt.modes_dir=
    " t" F, C( }% H$ E

  1761.   C! `. G% P# g
  1762. [dba]1 N5 Y3 u* i' J3 a! ~
  1763. ;dba.default_handler=/ q5 Y& L2 C' L5 s' c
  1764. ' i2 a5 g9 d# B
  1765. [opcache]% a. S; p( S- Q, N
  1766. ; Determines if Zend OPCache is enabled
    8 w) v; U  I9 [* y& N" v1 |. R
  1767. ;opcache.enable=0
    / b( U% x- G7 a7 i* n* Y6 r1 V8 ^

  1768. ( x2 C% I2 j/ O6 f5 S. X
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 }% R% f' D2 r! A( H* f0 z" J
  1770. ;opcache.enable_cli=0
    0 s8 B: ], |, V9 b. k

  1771. 0 {$ y! f6 o9 a: w! P
  1772. ; The OPcache shared memory storage size.( Y7 A9 u' U4 R8 W% ~
  1773. ;opcache.memory_consumption=64! r* B# v3 N! h( O
  1774. ; g% L' B' Y; L6 a* n4 s; B
  1775. ; The amount of memory for interned strings in Mbytes.6 F/ X3 h" j7 b& ~
  1776. ;opcache.interned_strings_buffer=4( ]0 [; Y8 i& Q7 }2 z' ], u
  1777. $ r$ h( r5 k4 f/ L5 _- r4 a: M& U
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    - i- E. w/ w* f' H9 C
  1779. ; Only numbers between 200 and 1000000 are allowed.
    , ?* c! U$ i- j" O: S8 A
  1780. ;opcache.max_accelerated_files=2000
    / y$ U/ M5 p; X+ k
  1781. 6 ~/ N4 h% e! C* Y
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.7 Q4 \9 X" N' G3 c8 ~
  1783. ;opcache.max_wasted_percentage=5
    " Z* Q- `1 |* }1 |9 j& b
  1784. : B( j# I9 Z$ Q% w8 B" s7 a" t
  1785. ; When this directive is enabled, the OPcache appends the current working
    # f7 ~8 i$ @4 f4 K
  1786. ; directory to the script key, thus eliminating possible collisions between
    8 a1 E6 M# H1 ]* F
  1787. ; files with the same name (basename). Disabling the directive improves8 r/ m# P1 l9 O' d0 I  u
  1788. ; performance, but may break existing applications.7 c  v  b, s/ U+ t: C& `1 S
  1789. ;opcache.use_cwd=11 f- W" S/ `) \2 g' q: ^% ~

  1790. 1 ]2 [" q( P( m" l0 q, _
  1791. ; When disabled, you must reset the OPcache manually or restart the" a2 o9 @6 @3 }& l
  1792. ; webserver for changes to the filesystem to take effect.
    - D: s8 D4 K, t0 s4 c
  1793. ;opcache.validate_timestamps=1
    ( f* I- m/ c6 d% ]+ b
  1794. $ A/ P9 y/ L& c8 t: z
  1795. ; How often (in seconds) to check file timestamps for changes to the shared( [2 T6 t1 |. J
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ! ?3 A5 t6 z+ b0 T
  1797. ; once per request. "0" means always validate)4 B7 w, D4 |6 ]3 _$ D, G
  1798. ;opcache.revalidate_freq=20 q- \5 n' B7 _4 i' J3 s, q3 Y
  1799. + _* v7 K, S# J  X
  1800. ; Enables or disables file search in include_path optimization
    + G( n; v3 W4 I2 L( M5 d/ N  h
  1801. ;opcache.revalidate_path=0
    9 X* G! D( C( _$ b% ]$ c7 T

  1802. . n# J* I  R% ~0 t3 S  k4 H) u# s( K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the( ?1 g/ f  h* l2 I
  1804. ; size of the optimized code.
    4 `& G, n% o7 y$ k: y' f5 y5 n
  1805. ;opcache.save_comments=13 n% P" B+ Z$ D5 I  T: A6 u: \

  1806.   d4 Z: b1 k, t+ g
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code+ ]% c- s8 \0 o
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    5 d, |; y0 j: a9 g+ @; V8 c
  1809. ;opcache.fast_shutdown=0& x9 Y/ z: {$ n3 }
  1810. ) _  P; Z4 _+ S# b
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    - f* ~2 e0 U. ?
  1812. ;opcache.enable_file_override=03 {0 N2 A8 c- F; R$ L8 J
  1813. - A1 t2 {6 d" ]  L4 ]  A' i! ?
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 U- w0 B: ?) \  O
  1815. ; passes+ l2 G3 t  H3 b+ k# U
  1816. ;opcache.optimization_level=0xffffffff# t1 j! Q1 g' B7 `% Z1 F

  1817. 9 z* m" i; P+ M$ J& G- w4 ?! H
  1818. ;opcache.inherited_hack=1' Q  a3 o% Y: V$ F+ g
  1819. ;opcache.dups_fix=02 B* h2 v$ [+ h7 p! e* ~4 ?3 V
  1820. ( O1 f' s1 Q7 p) o. F( d
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ' N7 k( }; s( |
  1822. ; Each OPcache blacklist file is a text file that holds the names of files$ o7 n  E4 h! a  I8 c
  1823. ; that should not be accelerated. The file format is to add each filename
    ! k6 D/ K& w' |, o1 K
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ! N) p  p, m/ L( q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- x9 j" T3 Z8 m( p7 ?# n7 j
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).: O1 H; |: A1 ^: Y& d% X" `
  1827. ;opcache.blacklist_filename=
    ( j; u. n) E0 C$ w! c4 b8 e% f8 J

  1828. 0 v0 W" ~# w9 M9 K1 I
  1829. ; Allows exclusion of large files from being cached. By default all files) p" E4 v9 A6 ?% \
  1830. ; are cached.
    ' n) i4 ]. @! L/ A5 q! J7 B" c
  1831. ;opcache.max_file_size=0& ^- T9 `) p- h
  1832. . c& p8 |! q" R5 ]; ~& l% U3 b
  1833. ; Check the cache checksum each N requests.
    , J% [1 U4 B) E( l6 q
  1834. ; The default value of "0" means that the checks are disabled.6 U6 X& X' M7 \- o
  1835. ;opcache.consistency_checks=08 C- q/ a$ r3 {: C! t8 ~8 J

  1836. / Y- Q& y" M. R/ m% R
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 g- C% M7 b, v! ^; z* I
  1838. ; is not being accessed.
    3 z$ J+ O6 n% [$ _5 F, G* q- L' H
  1839. ;opcache.force_restart_timeout=180* p/ d" J/ f4 v; }; h" T

  1840. . ?: j3 ]8 f7 r. l9 K3 i  K
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' F& j4 N7 \+ q5 q4 t. e0 ?
  1842. ;opcache.error_log=0 X8 Y& O4 [% Y) N. f( s# j% e8 l! n
  1843. % z* i# P# Y+ e3 X
  1844. ; All OPcache errors go to the Web server log.
    - X4 q% Z5 r! @7 l, Q1 I
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ) }9 y/ [( i  i( R' {4 }2 `; I
  1846. ; You can also enable warnings (level 2), info messages (level 3) or! {- Y5 K, S5 g0 W# e/ T
  1847. ; debug messages (level 4).
    & W, V; {& Y; d, i! N7 f
  1848. ;opcache.log_verbosity_level=1
    * ~& W  Y6 k, Z( ~# l

  1849. & D$ Q( c9 Z/ B! K0 |" A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 X9 z/ e; ], z" P
  1851. ;opcache.preferred_memory_model=/ p$ n0 c; S2 p+ [0 w5 L

  1852. " K5 a: z9 k/ V' V5 u7 g
  1853. ; Protect the shared memory from unexpected writing during script execution.$ j2 Y$ `7 D7 N3 n5 w( W, R" F, W- @
  1854. ; Useful for internal debugging only.
    / D0 Q1 A: p) F1 v- v( W3 N+ q
  1855. ;opcache.protect_memory=0+ P  Q2 g: q- O( S2 h) V3 P
  1856. 2 Z) h) }) \( ?
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    8 q0 I. @6 p$ |. ]( p
  1858. ; started from specified string. The default "" means no restriction2 p4 Z$ L. G, J* h% |7 ~4 t
  1859. ;opcache.restrict_api=
    . u1 a- F) k: z
  1860. $ H0 p- e$ ?% S; @
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP; Y$ [) j- ]" X0 ~3 ~
  1862. ; processes have to map shared memory into the same address space. This
    ( m$ F! N7 P' ^( e" Z7 [( e, e
  1863. ; directive allows to manually fix the "Unable to reattach to base address"9 P+ \, X5 X% I4 l: ~% f
  1864. ; errors.
    ; G; E) U+ n0 [2 Z4 _: q/ @
  1865. ;opcache.mmap_base=: V$ }8 h. K8 [# q: @# p

  1866. * o, q5 i: Y- c/ _- M" i
  1867. ; Enables and sets the second level cache directory.
      m+ v3 k: z2 H1 P
  1868. ; It should improve performance when SHM memory is full, at server restart or+ T) n8 L1 D0 H. Q# c
  1869. ; SHM reset. The default "" disables file based caching.1 X% U8 l) X( o7 S3 m9 ?0 }5 a
  1870. ;opcache.file_cache=, _' Q8 T. O* [9 J+ N5 z

  1871. : P9 k1 `7 z: O! r! P. X
  1872. ; Enables or disables opcode caching in shared memory.: u+ T' t9 f( X
  1873. ;opcache.file_cache_only=01 }1 z1 T' {7 @9 G  P3 S' u

  1874. % |" S( f  ^. ?( C5 f; G7 ]
  1875. ; Enables or disables checksum validation when script loaded from file cache./ \; Q7 s/ c5 M
  1876. ;opcache.file_cache_consistency_checks=1
    & P6 t; P: ]" s  n& h4 B7 f
  1877. $ y; |" ?9 ^8 r" v1 g
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to+ Z: E$ a7 x" r* O% x; ~/ G/ }
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file) d3 l, L0 _; C) a
  1880. ; cache is required./ g$ H6 j* y: q# s0 c' G& |
  1881. ;opcache.file_cache_fallback=1
    ( J. q+ E" _2 B3 u% T

  1882. 8 i' y3 K. i7 c2 m3 K: c
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 k0 d. D( B, Q7 o
  1884. ; This should improve performance, but requires appropriate OS configuration.9 V" u) r+ E; c1 u
  1885. ;opcache.huge_code_pages=1
    3 B5 Z( i2 e0 m7 z- d
  1886. 0 P1 N- J7 x" F8 \2 s/ H
  1887. ; Validate cached file permissions.
    : {$ t0 y% \1 E9 K" U/ h
  1888. ; opcache.validate_permission=0
    : W6 c4 i3 h2 @8 V/ n5 j* D  g2 ?
  1889. 6 {' C8 y" l# {3 W1 M5 L5 L
  1890. ; Prevent name collisions in chroot'ed environment.
    / c! d1 l# p# o( e* d" }( V/ I2 d
  1891. ; opcache.validate_root=0* B+ V0 u4 H; ]4 j" z

  1892. - x; t2 J1 C2 ^2 \
  1893. [curl]
    & w( W! g8 _4 [
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) r6 X  P; r( U* g9 O1 G, _
  1895. ; absolute path.
    , D( i  `6 o8 P9 E3 z( M3 T( k
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt3 v; N9 V7 y/ [  S$ G
  1897. " a3 G0 ^# Y3 `; z
  1898. [openssl]9 J2 c4 D( T) x  \, `! R
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    / A& X. n9 U; r2 Z$ f9 X
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    0 A2 V+ Y3 y2 p/ j* I7 I
  1901. ; not specify a value for this directive as PHP will attempt to use the& S3 C! ?5 f; Y' T' g; E
  1902. ; OS-managed cert stores in its absence. If specified, this value may still! k2 O7 Z/ ?1 `1 v0 p
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context" Y3 C& c/ U/ }5 M3 q5 W: q
  1904. ; option.
    0 A/ W7 a& ~; R# z/ Z
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 q$ [1 |0 l% [7 p& {1 I2 m
  1906. : _. S0 T  ?" _7 t2 q. G
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the: S8 `$ f  [! b" p+ i) a. E" S
  1908. ; directory pointed to by openssl.capath is searched for a suitable7 K  ?; v3 [5 _# e) Q: T9 G7 d
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    9 G8 R8 \# }+ ^5 s* u7 r% s( z2 y
  1910. ; Most users should not specify a value for this directive as PHP will
    & z) q! c& r/ p& f9 ]6 a5 Y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    6 s" C# I- G* S: l. O6 W* E1 Y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) g7 N5 G1 ^7 M. _, S9 w+ w2 Z
  1913. ; SSL stream context option.5 ~/ X5 ]  J2 I, ]# q
  1914. ;openssl.capath=; |5 o5 u, u/ f" a# h

  1915. 4 N1 Y' a" P- e5 J. s7 s2 s
  1916. ; Local Variables:
    0 p6 v' C* M6 P% ^" e- c# d0 X
  1917. ; tab-width: 4
      R! v( _. C! `- k1 T9 p
  1918. ; End:! w1 B0 }% p0 P9 ~* M9 ]$ ^

  1919. 4 _: |7 E4 h# H: \& D
  1920. ;eaccelerator
    & x8 ^+ k* \* I4 C$ t
  1921. 4 ]2 r* N* q3 u5 p9 G5 T
  1922. ;ionCube
    " W2 T- R+ @8 F0 ?! T5 }
  1923. 6 G4 j( x  v" W2 x/ C% [
  1924. ;opcache
    - g' ^2 s9 N8 T% |5 X
  1925. - E7 D$ \* ~: D
  1926. [Zend ZendGuard Loader]: I% X: j/ ^$ b2 A
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.0 D% p& Z9 _1 M
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so2 T5 q1 B8 c! o2 `/ P# H: ?4 ^
  1929. ;zend_loader.enable=1" g. j5 d4 d$ H6 Z
  1930. ;zend_loader.disable_licensing=0
    5 I: y7 h$ h5 E% B0 R
  1931. ;zend_loader.obfuscation_level_support=3. y' w" N" @$ P; q
  1932. ;zend_loader.license_path=
    & d  y' g+ w( |+ ^

  1933. ; |$ C2 M& [! b0 e+ e
  1934. ;xcache
    1 P  o, [5 L9 ^& Q* R

  1935. ' U% A- p! F7 X# r- e: W' B& C% p
复制代码

2 ^- M8 p8 {' E! f6 T
8 ^; ~. L8 f' U1 ?- K  _, J! T/ L6 e4 F: S& Q  `# O: \/ v

, x5 \. }) g4 d* L6 U
0 l7 S* o9 u1 c' g' _, z
# K/ l0 d4 {. G# v: v' c3 o8 [% p
5 n4 F& p: l+ i, W' OPHP5.6版本原始设置
3 ?- b3 V1 J' c$ L" p' t; B3 }% l& M& d
  1. [PHP]
    ; s9 J8 i7 s! e& A! T/ K9 B
  2. ) C0 _, x4 a' c5 o
  3. ;;;;;;;;;;;;;;;;;;;+ R! ]" C1 n/ O& t& K* Y1 s* o
  4. ; About php.ini   ;9 s5 B" d4 C- z8 R
  5. ;;;;;;;;;;;;;;;;;;;
    7 ?3 E! @* C" g9 j- @6 [1 h
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 t7 q) k2 O6 a; R
  7. ; configuring many of the aspects of PHP's behavior./ O9 v4 l# N! d5 J. a

  8. 1 s$ [' G- r( [, M: k6 X& Y# o
  9. ; PHP attempts to find and load this configuration from a number of locations.
    % a1 e  w3 P; }+ P2 o
  10. ; The following is a summary of its search order:* ^0 J* L; w; _( u  q2 _& L$ p
  11. ; 1. SAPI module specific location.3 i$ d( Z4 T; e6 \7 c- h
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& f  I: A: O8 g, B
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 `, ?: Q+ {( n8 Z, T$ n
  14. ; 4. Current working directory (except CLI)
    # G4 g" O3 P" N: O: |  k
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    $ I0 U5 ?) r4 F; ]/ q7 _/ W  J
  16. ; (otherwise in Windows), D6 V& V6 k5 D+ P3 L
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 H1 t/ Y- B4 O
  18. ; Windows directory (C:\windows or C:\winnt)
    - G2 Z' u) R2 ]
  19. ; See the PHP docs for more specific information.( ~9 [/ u; F8 Q/ }
  20. ; http://php.net/configuration.file
    5 v7 p, ?( \' ^

  21.   o2 m1 }. p) z  j
  22. ; The syntax of the file is extremely simple.  Whitespace and lines8 b5 p( _1 E& X8 f" p& [5 Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; P# {9 _$ U$ ?; z1 N9 R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though  Y/ ?8 C5 M5 e" D& g8 Q# Y
  25. ; they might mean something in the future.
    ) y! j, q$ B7 B5 B- h8 L: z
  26. - @! L- a% K9 W2 b9 u% w
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 n' j5 N# a/ x7 M; h9 s0 g
  28. ; apply to PHP files in the /www/mysite directory.  Directives! y8 n, U' V. j$ z! x% y# B( u
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ X6 t% b) T' G" q9 m  H1 }
  30. ; PHP files served from www.example.com.  Directives set in these1 M8 ?, r+ H! a% Q
  31. ; special sections cannot be overridden by user-defined INI files or( T) l% K8 s4 G9 i8 ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    / j7 u- U- R' J( ~, C
  33. ; CGI/FastCGI.
    9 @) b) O8 R/ V/ }1 `5 X+ ~% _
  34. ; http://php.net/ini.sections
    3 Q8 i- v! O4 K* D

  35. ; x3 W4 v5 l, C: O( v' V4 N$ B
  36. ; Directives are specified using the following syntax:
    6 f6 P6 G. G0 J% `3 j8 }8 K( m
  37. ; directive = value- L& W& {+ o* E5 }) b# ]
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% J7 s/ o: f- K6 Z  ?; K, a
  39. ; Directives are variables used to configure PHP or PHP extensions., Q$ @1 w+ F" b" `, z7 G# U
  40. ; There is no name validation.  If PHP can't find an expected* }: E! K' ~( |
  41. ; directive because it is not set or is mistyped, a default value will be used." K7 g/ ^7 V2 C, ^2 C

  42. # h7 W7 u" G: L; X% `
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one% t8 b; x  i3 r# A) u
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression7 I* s: I# V3 J) Y0 r! i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    : Q" V  t! K: x
  46. ; previously set variable or directive (e.g. ${foo})
    9 e4 ]1 \& t$ g4 u, @( p6 X/ U) P3 T

  47. * @8 _9 n6 [9 z8 q& G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ' x2 I9 V) m! F5 f
  49. ; |  bitwise OR. t6 L3 t% {8 z# o
  50. ; ^  bitwise XOR
    * ~$ u& B8 b. @! Y7 ]# z- T; u$ B
  51. ; &  bitwise AND
    ( s" Y0 f- \  l# H8 `/ ]+ E! T$ I
  52. ; ~  bitwise NOT
    # O& O4 c8 `& w3 \' Z- c2 z+ {- s
  53. ; !  boolean NOT
      S2 D1 I8 G, S5 b. {4 u
  54. % l  Z$ H5 j& \6 ]7 A0 i  K  H( D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    $ n5 ~6 W0 P! g% E$ p: S
  56. ; They can be turned off using the values 0, Off, False or No.
    ; C7 u* k3 h6 r* I2 ?
  57. ; z( b5 h5 ]: P( O
  58. ; An empty string can be denoted by simply not writing anything after the equal, ?5 j+ B+ `) D4 f7 I  W! v
  59. ; sign, or by using the None keyword:
    ( U+ ~/ n  H" x( _/ N% y: @
  60. - L* s$ ]7 M! f0 ^! C5 B
  61. ;  foo =         ; sets foo to an empty string% {1 p, b; C0 P
  62. ;  foo = None    ; sets foo to an empty string
    : v' ?6 o- m: x  C9 m
  63. ;  foo = "None"  ; sets foo to the string 'None'+ r( B6 ~: V& H! f0 O9 f2 }

  64. 3 Q& O1 }2 R- J: N
  65. ; If you use constants in your value, and these constants belong to a
    ( ^; U3 H0 H+ ?
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 A& G5 |1 i( Y8 H/ I
  67. ; you may only use these constants *after* the line that loads the extension.. k6 \. T! I) r  L
  68. $ K# j. G" m" Z1 M' }% L1 C
  69. ;;;;;;;;;;;;;;;;;;;! a4 m# R  N  p- d. i. W( q! [
  70. ; About this file ;! h2 z  ?5 ?/ y
  71. ;;;;;;;;;;;;;;;;;;;) f1 c' O4 [, A5 L  u4 ^5 V
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ O* l8 f, i: E; x5 G
  73. ; in production environments and one that is recommended to be used in' L9 I7 s+ q* D5 [/ R% j* l3 a0 C
  74. ; development environments.+ D7 `* _4 p# W3 q- g/ G
  75. : T6 t) ~2 K5 {& T
  76. ; php.ini-production contains settings which hold security, performance and
      e2 {3 J+ b! S
  77. ; best practices at its core. But please be aware, these settings may break
    2 A. [* U2 q- ^& q
  78. ; compatibility with older or less security conscience applications. We/ g* O& m# A. J+ w3 \" q+ f
  79. ; recommending using the production ini in production and testing environments.- [+ t% Z( A1 U* J" a$ u* O: M( S

  80.   X% C4 M; @  b7 c0 K0 C
  81. ; php.ini-development is very similar to its production variant, except it is
    : i! {" Q$ I; J( Q' j
  82. ; much more verbose when it comes to errors. We recommend using the, |. u( _  K0 k* @$ r
  83. ; development version only in development environments, as errors shown to
    . D" e8 R9 H8 m7 B" t+ q* p
  84. ; application users can inadvertently leak otherwise secure information.
    3 r- k- [, Y% i+ f
  85. / A- G: a: M' ~; Y4 \5 F7 f
  86. ; This is php.ini-production INI file.
    $ \) H$ E! w( _6 o( v+ V
  87. , k! @0 F2 B2 |5 A: n
  88. ;;;;;;;;;;;;;;;;;;;
    * f3 V9 {) B/ v* v& d9 x! }
  89. ; Quick Reference ;. _" R1 w, N3 \, ^8 r. e# C
  90. ;;;;;;;;;;;;;;;;;;;4 h! K+ f& Y; ?6 P3 g
  91. ; The following are all the settings which are different in either the production* @. x( E  D' Z9 t" X
  92. ; or development versions of the INIs with respect to PHP's default behavior.. N+ [/ f) s* x  G& R8 S/ e! a: n- Y
  93. ; Please see the actual settings later in the document for more details as to why+ P6 `0 P% D- W! A+ Z0 t
  94. ; we recommend these changes in PHP's behavior.8 x! h% Y" D* J  j
  95. 5 V+ \  J* B& S; y$ L
  96. ; display_errors8 J% p( T, y# v' m/ A
  97. ;   Default Value: On& L- a6 y8 Y& y2 A6 x$ F
  98. ;   Development Value: On
    ) t4 g1 g2 R2 A
  99. ;   Production Value: Off
      l! h) l% W9 U: x3 V* U6 y7 i
  100. / H" S2 P( ~& U4 N
  101. ; display_startup_errors
    + C) o8 D7 _. I; K! ?
  102. ;   Default Value: Off: z0 K5 ^/ z; {/ u9 N
  103. ;   Development Value: On7 ~% O6 N; V. U( V3 `* K1 n
  104. ;   Production Value: Off- x% ~* m( t% N$ z9 S
  105.   ~8 S, G( H( l& R) a" F
  106. ; error_reporting4 v5 H; |6 `; ~) t' r5 j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 O& K, E! I8 E4 A6 J
  108. ;   Development Value: E_ALL
    7 Z$ h: \/ e  [; o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ c) C/ v9 k+ d
  110. # ?" x/ i2 g! H* E: {4 h0 ]1 }, E
  111. ; html_errors
    0 W* k/ H. ?8 L
  112. ;   Default Value: On
    0 k4 S# q9 X1 r, Y$ R! g2 h
  113. ;   Development Value: On. v% N7 _; t+ C- B) @
  114. ;   Production value: On3 x1 a; _$ |" b  q

  115. 5 d4 p) ]: O3 K! P5 Y' L
  116. ; log_errors
    3 ]+ Y- n1 S3 E$ o1 P2 S+ R; J
  117. ;   Default Value: Off
    7 l* z: V! {5 R+ w# z' L0 \% }1 u, T
  118. ;   Development Value: On
    3 P1 }' P/ }$ ~( k6 `6 {+ m
  119. ;   Production Value: On
    ) t4 f% d( A6 i/ I$ y
  120. 4 n8 W7 C/ k6 q% x3 }( p  V4 y
  121. ; max_input_time
    0 ]/ D4 N7 |9 T' T& A$ d& k. n
  122. ;   Default Value: -1 (Unlimited)
    6 b$ [% o; M  l3 I* [) k
  123. ;   Development Value: 60 (60 seconds)
    $ V1 A3 L" `# u8 W$ O0 F% u$ I
  124. ;   Production Value: 60 (60 seconds)' b6 E, ], Z+ X( t
  125. ' u7 I. P: n7 c, T
  126. ; output_buffering" |5 G5 z- R6 L" K+ Z6 T
  127. ;   Default Value: Off5 o* f  ~$ S' X! L" ]5 Z
  128. ;   Development Value: 4096
    : k2 y3 m  W! D2 H
  129. ;   Production Value: 4096
    ! V2 U1 i5 j8 l% P1 c+ \9 Y
  130. ! b8 R4 F! K' a. i7 ~
  131. ; register_argc_argv- L7 A: y4 {: Y3 \! Y
  132. ;   Default Value: On
    8 ?& h8 {5 K0 G9 o/ K; Z0 U
  133. ;   Development Value: Off
    6 M7 ]1 t# M+ c* \7 b- r
  134. ;   Production Value: Off% z9 {- E  K. A
  135. ' P" |) S* s$ U+ T
  136. ; request_order' }, o3 }' A" J
  137. ;   Default Value: None. Y, c( W' z6 ]6 M5 r
  138. ;   Development Value: "GP"& U% L8 V0 {0 R7 q
  139. ;   Production Value: "GP"
    & S+ m# s. ^# V
  140. ! \9 b8 [+ n, ]/ G: P+ a
  141. ; session.gc_divisor
    8 `7 a7 q( ?7 ^1 a4 V. y: f. y
  142. ;   Default Value: 100' _/ }" S& q+ e# b
  143. ;   Development Value: 1000: m5 Y" H0 \4 r, n: L
  144. ;   Production Value: 1000
    , `: y8 p/ ?& R. O) H

  145. ) Q* C% @$ J, |+ j' e% f% Y
  146. ; session.hash_bits_per_character
    . [- {8 n2 S1 t, _( O6 _7 _: C' e) X
  147. ;   Default Value: 4+ y. s4 S# `8 I8 v* D, \. G8 o
  148. ;   Development Value: 5
    * x6 ]/ O5 F. V8 c7 E( g
  149. ;   Production Value: 51 W4 y) v, b8 f6 f: K9 I  }& C
  150. 9 `3 Z- C* a4 g. p% t
  151. ; short_open_tag# ]6 `8 @( o  V" n1 `, S4 @) K+ W
  152. ;   Default Value: On$ l2 k% ?& z' q5 a; z; @$ O6 o
  153. ;   Development Value: Off) r! u: f0 `' D4 o6 ]8 h& p; n
  154. ;   Production Value: Off
    0 U) G6 \6 @! p& f. }4 J

  155. ) y0 n4 n) E) t' P
  156. ; track_errors! I& f$ S3 Z6 ?. ~% y+ _$ x- Y/ h
  157. ;   Default Value: Off
    - @" D; y: |9 M# \  w. e- f0 @
  158. ;   Development Value: On
    ' f) q4 d% S% o" K' }: |3 Z6 V
  159. ;   Production Value: Off
    0 ~7 u6 g* Y# Z! |
  160. . R9 V; j# w% ?. m/ k, T
  161. ; url_rewriter.tags
    - r( ~( e/ w( L* m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# u/ [2 G: r. ~5 }- S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", p. w/ e  K$ P- u
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* ~& g/ Q8 l; V' d9 E. c
  165. + o. u9 ^  {. z0 m6 ~, h
  166. ; variables_order
    % H2 g! r( T: b6 R' B0 j  I
  167. ;   Default Value: "EGPCS"9 ^) I. l8 }0 _4 J0 O3 y
  168. ;   Development Value: "GPCS"
    ( j% e& n( k6 E- F# r( l  j
  169. ;   Production Value: "GPCS"
    ( D6 @$ K* y9 P' G

  170. 8 A! s9 _' Q) ^7 z- L
  171. ;;;;;;;;;;;;;;;;;;;;) y7 U% ^0 W0 F2 \# B% z
  172. ; php.ini Options  ;7 F# H# N* X8 [: v& j
  173. ;;;;;;;;;;;;;;;;;;;;
    * {# Q: x" L$ i
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"5 o* b$ N2 g5 [& |
  175. ;user_ini.filename = ".user.ini"
      E1 s5 Q" a9 K& v! D
  176. ; b- e$ ^/ r) K9 M, ]
  177. ; To disable this feature set this option to empty value7 @. u3 i' H( y. e) [( m% J7 n
  178. ;user_ini.filename =
    % q; a4 d. K* F7 m" p/ h
  179. # o4 h& c9 y- K& p; N' r- l
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), w% M" ]- V& ?/ w
  181. ;user_ini.cache_ttl = 300
    + n3 v6 _6 b0 v- [, W
  182.   [5 [# G0 x7 w
  183. ;;;;;;;;;;;;;;;;;;;;
    ' Z( |$ Y4 D! [  X: t# {4 G  ~
  184. ; Language Options ;
    7 e* u) u1 n" p' ^
  185. ;;;;;;;;;;;;;;;;;;;;2 Z% D$ E9 G# f2 J8 Z& n1 z
  186. 1 v4 o+ h9 O) E- j1 g$ \
  187. ; Enable the PHP scripting language engine under Apache.( [% Q8 r) L! k8 }
  188. ; http://php.net/engine) P, }  F8 X# u% w# W) H
  189. engine = On
    ' G7 W) _+ _# l  Q1 A

  190. ' K9 ~+ s% j% x/ f0 V8 [6 H
  191. ; This directive determines whether or not PHP will recognize code between$ K  M5 A- g' w, _/ W$ g0 C6 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    0 [/ Q. U; M" l! t7 |
  193. ; generally recommended that <?php and ?> should be used and that this feature" x% Z( i3 `. w" H+ Q  Y1 q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    7 w3 R6 C) u4 q, `' f, T! R1 q
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 m8 M, I+ C; I7 U0 r
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + U+ Z+ l# A# O% s5 e
  197. ; used regardless of this directive.( S3 v! I0 q1 I6 i6 i5 o8 Q
  198. ; Default Value: On3 C: y4 S! z0 k: P- S
  199. ; Development Value: Off
    + {# c1 A# g; g# e9 }8 b3 I5 f
  200. ; Production Value: Off7 n# f3 {* {: M! n1 u7 w, x
  201. ; http://php.net/short-open-tag* F9 c/ I1 D2 U$ N# s
  202. short_open_tag = On2 u& t1 ]# I) z- K0 J1 t
  203. ' [4 V, X) ?; ^1 W( v' e
  204. ; Allow ASP-style <% %> tags.
    3 b0 D$ f4 o2 \
  205. ; http://php.net/asp-tags, p1 v! x/ P5 K6 @$ r
  206. asp_tags = Off0 U- u9 E. z1 s1 M+ S& R
  207. 1 O& l% ]) J0 s$ r2 y
  208. ; The number of significant digits displayed in floating point numbers.$ |& f) ^# _2 I
  209. ; http://php.net/precision
    0 k$ e. p1 t# _# p
  210. precision = 14
    # l- i9 F$ f0 F0 [' V. X4 X2 h& n3 {3 A
  211. 1 e8 H3 z3 H. {
  212. ; Output buffering is a mechanism for controlling how much output data1 f1 X: `4 [) C! }& T
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ) |. u7 _+ [3 |6 x5 y# K
  214. ; data to the client. If your application's output exceeds this setting, PHP
    9 E" Y3 \$ D6 j) v. Y5 f
  215. ; will send that data in chunks of roughly the size you specify.
    $ @& E% d$ ?6 u; f  v9 G2 L
  216. ; Turning on this setting and managing its maximum buffer size can yield some6 W1 `9 W6 F# x+ J' I
  217. ; interesting side-effects depending on your application and web server.
    0 m$ N; w/ |; J& s0 }
  218. ; You may be able to send headers and cookies after you've already sent output
    : Y+ }9 V- ^4 n7 Q
  219. ; through print or echo. You also may see performance benefits if your server is- W2 d% V; G4 ~) n" t' M9 g# [
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    9 U) s, [* `* r2 o" f1 y
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  _' n7 u+ S9 X- h0 l+ |
  222. ; reasons.
    , @* l; c# s7 ]2 I) M1 O! \* F1 b
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; `8 t" j; A& x# n% e
  224. ;   functions.
    0 B% f- k4 E1 C! m
  225. ; Possible Values:
    . Y7 w, G1 E* e2 R3 ?
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ a) |% L( w. o2 M/ V7 O" y
  227. ;   Off = Disabled# [" }( {! n2 q/ c" D* j
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      K5 O. U* z/ J# Z, k% t
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI& O9 s* V4 x/ D$ I! \6 ^2 E, R
  230. ; Default Value: Off2 \* l6 k  h% p" X4 a( [
  231. ; Development Value: 40962 m0 W, a3 \) v7 _+ k- i7 ^
  232. ; Production Value: 4096/ F) P; q/ L3 ]' f  w' H! [
  233. ; http://php.net/output-buffering$ {3 v) T, W% V- k3 C1 r
  234. output_buffering = 4096
      f- j0 x: w9 j$ ^0 X$ D
  235.   s- n6 c" @: h7 N* z- q3 F; w0 M
  236. ; You can redirect all of the output of your scripts to a function.  For9 ]1 A; v; h* v% C9 i1 p- k. a
  237. ; example, if you set output_handler to "mb_output_handler", character" s8 S9 J* B; T; C/ G* }. Y) s1 w
  238. ; encoding will be transparently converted to the specified encoding.
    # n  Y' c4 g1 X8 O
  239. ; Setting any output handler automatically turns on output buffering.
    : Y& h: b& e' v+ H
  240. ; Note: People who wrote portable scripts should not depend on this ini1 i+ p" Q# w& A( B# Q8 V9 M! W
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
      \% A% b5 F; K( U: Y
  242. ;   Using this ini directive may cause problems unless you know what script: z  `. t2 t8 j
  243. ;   is doing.
    5 q1 ~; g+ k& l8 ~
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; b2 b7 l& T. D+ m' c( G
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".9 m( p5 _. r9 F( P
  246. ; Note: output_handler must be empty if this is set 'On' !!!!" q6 {% F  W$ f0 e$ J5 }* V
  247. ;   Instead you must use zlib.output_handler.
    5 V, }: [) b8 t" L) j
  248. ; http://php.net/output-handler0 C  z7 {& v8 z; M0 g5 @! {
  249. ;output_handler =; l! d; P) K( ~. v- h- m
  250. - w9 K( c5 h' d+ S
  251. ; Transparent output compression using the zlib library6 k: Z. B5 v  d# d- }# P
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    9 u8 n- V& F' \* X: u. p
  253. ; to be used for compression (default is 4KB)  |) p2 F9 ?  a' p9 C& \: U
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP5 L- \# R) T; H
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 z/ g3 ?9 ^& c4 @! c
  256. ;   compression. If you prefer a larger chunk size for better/ @0 r$ A( \$ |+ f3 y2 ^: [5 {
  257. ;   performance, enable output_buffering in addition.+ @& ?  k: ?, B* c4 U- i, u* P
  258. ; Note: You need to use zlib.output_handler instead of the standard) e8 k: ^0 J+ f6 S% H# x& |/ C& }, X
  259. ;   output_handler, or otherwise the output will be corrupted.! `7 @% ]; j8 ~+ c- q
  260. ; http://php.net/zlib.output-compression
    & I( A4 Q* O9 B
  261. zlib.output_compression = Off
    ; g6 f9 d4 y! X3 K. m
  262. 0 A; c! K* x! @3 }; D! j# G; V
  263. ; http://php.net/zlib.output-compression-level
      S# j/ j" W. F6 C/ G% r* O
  264. ;zlib.output_compression_level = -1+ F2 b% V: b; P, _, a- g: _' f9 b

  265. 4 P& L2 a' x* ]) {  G
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! n: n  ?# U9 H7 K  d
  267. ; is activated here. This setting does the same as output_handler but in
    ! U2 z$ W$ G' F+ G! M$ d' h" d& U
  268. ; a different order.4 s' f7 g: `; l+ f" `! p# S
  269. ; http://php.net/zlib.output-handler
    2 W: ]) U7 `9 J" P( g
  270. ;zlib.output_handler =. V  S, S4 X8 R( v6 ~

  271. * d# c* r, H% F% C
  272. ; Implicit flush tells PHP to tell the output layer to flush itself8 x5 [% y) C7 p- @0 e
  273. ; automatically after every output block.  This is equivalent to calling the
    5 ~. K) }( G1 z0 S, u9 Q
  274. ; PHP function flush() after each and every call to print() or echo() and each
      K  k9 E2 B  {- `( g
  275. ; and every HTML block.  Turning this option on has serious performance  d8 k4 R# j3 D) H( @0 W
  276. ; implications and is generally recommended for debugging purposes only.
    9 x, V+ j$ u: G/ o% D
  277. ; http://php.net/implicit-flush
    : ]$ E$ j- `/ z9 V; a5 k
  278. ; Note: This directive is hardcoded to On for the CLI SAPI# Q5 ~( p$ j- F: e5 u2 s
  279. implicit_flush = Off
    ) _6 Z" n! I$ X% q- }+ j
  280. . A1 \, V' F: o# q, F
  281. ; The unserialize callback function will be called (with the undefined class'% l: {5 g0 n6 v9 D; b& u
  282. ; name as parameter), if the unserializer finds an undefined class' a+ o/ ~' S$ y  }6 @
  283. ; which should be instantiated. A warning appears if the specified function is/ p: h* |. r, `
  284. ; not defined, or if the function doesn't include/implement the missing class.* R8 D4 h) n; v, \7 ]% k; |
  285. ; So only set this entry, if you really want to implement such a
    / J+ U$ u- Q8 t" Y1 Z2 ^9 B1 O
  286. ; callback-function.7 {! c$ b* x# N: p
  287. unserialize_callback_func =9 K+ ]3 j! E8 ~. M# C% t

  288. : R2 L$ w  k% Z* M6 `- D
  289. ; When floats & doubles are serialized store serialize_precision significant
    3 w/ c( a) M/ Q! F3 a
  290. ; digits after the floating point. The default value ensures that when floats8 [- P8 D" l- x- _' Z1 `
  291. ; are decoded with unserialize, the data will remain the same.. L& \1 {5 |7 _# F* [4 V- K/ K& ~* q
  292. serialize_precision = 17
    4 J& A) u. {) r! [7 {
  293. 0 ]1 Y6 X2 h/ \  j4 D. l* ^
  294. ; open_basedir, if set, limits all file operations to the defined directory% V1 M$ P; w1 B
  295. ; and below.  This directive makes most sense if used in a per-directory1 b- R- G4 i% ?( L2 m5 ^/ L9 J
  296. ; or per-virtualhost web server configuration file.! m6 F3 z3 F; r' h/ m. Q
  297. ; http://php.net/open-basedir2 ]1 a7 v& y( v1 m" w" c/ t
  298. ;open_basedir =
    / ]- W- ~, Y  L8 u8 g6 P$ K* u

  299. 1 g1 c1 R* r/ |9 M8 G4 B5 O9 h+ a6 U
  300. ; This directive allows you to disable certain functions for security reasons.
    ! _& E: x+ {3 Y7 A8 ]
  301. ; It receives a comma-delimited list of function names.9 \; ?, L& _# b: V" @8 ?
  302. ; http://php.net/disable-functions3 f; E! d1 F4 h, s! o
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    " x/ O$ x/ h* Z; W; }& w. F
  304. 6 _& ~8 |6 v8 S0 A5 p
  305. ; This directive allows you to disable certain classes for security reasons.7 z. x+ u( @4 g' Y1 ?
  306. ; It receives a comma-delimited list of class names.
    * h$ F3 V* `5 j) p9 |( c$ H* v
  307. ; http://php.net/disable-classes
    & ~0 z) B$ Z9 f
  308. disable_classes =# P3 w9 R2 v2 \9 H% T

  309. 4 }1 y# c; |" [* \- S. S
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 G0 m: ?- [0 |, \4 D3 B) y
  311. ; <span style="color: ???????"> would work.
    2 u! U/ f* \' K2 s( o2 X, R
  312. ; http://php.net/syntax-highlighting
    9 s4 p, f+ a5 f: a4 ]
  313. ;highlight.string  = #DD0000
    % M; i6 ^5 O! f) ^5 R, Q; R
  314. ;highlight.comment = #FF9900
    $ U5 m+ \1 B+ n2 k9 ]0 d
  315. ;highlight.keyword = #007700
    + ~7 }5 c, R+ D" k2 L
  316. ;highlight.default = #0000BB
    4 `4 J' D" a9 G- b3 p
  317. ;highlight.html    = #000000  A! {1 v+ D% A/ {9 U1 X
  318. ; R) V+ J" ?( k1 N! H) w' }
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    * n' g; P4 L3 P( M+ i
  320. ; the request. Consider enabling it if executing long requests, which may end up
    . P' w( P. D4 w* i% G4 z2 P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior2 d. `' ^% i( S8 q% W' Y
  322. ; is to disable this feature.+ I# F1 W0 D6 {8 h
  323. ; http://php.net/ignore-user-abort
    $ ?8 m$ t; U# G
  324. ;ignore_user_abort = On: p  F5 u8 s& @( J8 ]- B# R! {

  325. 0 I7 x7 M0 k6 [' H0 g' j: q- C
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ i- j5 d5 S) r0 O/ H9 j
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    9 t$ ?( G6 q1 C' u; H. ~
  328. ; the file operations performed.
    # l0 e* t& E" d1 O  N& F# z
  329. ; http://php.net/realpath-cache-size8 R" p5 S  R" G; D# y+ b- V
  330. ;realpath_cache_size = 16k
    & x# P$ V( M0 z/ ^8 w5 ~. P. Q. }
  331. ( n% `# P1 v2 ?& n
  332. ; Duration of time, in seconds for which to cache realpath information for a given' u, v$ |- @0 g! @, _* T
  333. ; file or directory. For systems with rarely changing files, consider increasing this; ]/ }% W5 A9 g! ]+ e1 u3 j2 _
  334. ; value./ ~4 c* [  h  n$ N4 c+ k
  335. ; http://php.net/realpath-cache-ttl2 q/ T; q& y' e% e7 D( n
  336. ;realpath_cache_ttl = 120
    % S! J+ ^9 q/ z- F  l) j8 v
  337. 0 V& P5 S7 A- d  Y
  338. ; Enables or disables the circular reference collector.
    ( w' e1 H! q+ ~% i# f# ]
  339. ; http://php.net/zend.enable-gc. }# y' N6 K, T0 k% z& s: q( Z
  340. zend.enable_gc = On7 l4 O3 K8 o' L% w: |2 @; e
  341. / p/ J5 Z0 p$ j# V: r
  342. ; If enabled, scripts may be written in encodings that are incompatible with  ~7 j0 s. E& i0 {
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; N' ]  J: E- S" j
  344. ; encodings.  To use this feature, mbstring extension must be enabled.+ X+ g( L  @5 K% J) @- q
  345. ; Default: Off  q! h6 O  h" B8 i/ F: S6 v
  346. ;zend.multibyte = Off# `0 B* B3 v' {! |) W! _# Y
  347. / l* Q* i0 l1 e
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    0 k9 |- n" ]! T8 B5 l
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * C/ d/ l+ p. {
  350. ; Only affects if zend.multibyte is set.
    ! ~- o1 x, `- n  \1 E' {
  351. ; Default: ""
    / T0 J" `) ^9 ?9 `# c, H
  352. ;zend.script_encoding =
    ( g9 j" }( Q7 k1 t% o
  353. & E" G, \. n, d0 W  H+ I. Q2 Q
  354. ;;;;;;;;;;;;;;;;;7 V: O/ }5 U7 W2 c+ m0 x3 H
  355. ; Miscellaneous ;. a7 _- v2 I9 W8 J
  356. ;;;;;;;;;;;;;;;;;; p* t+ ~: v7 y' n
  357. 3 d! u. ?; I) R3 |3 L
  358. ; Decides whether PHP may expose the fact that it is installed on the server8 b) v: q, S2 R2 T6 P; `
  359. ; (e.g. by adding its signature to the Web server header).  It is no security* p) ^' s9 B3 S5 F- y* J/ A: h7 E
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    + E! v. Q; Z) D! Z( ?* M' z, {: u
  361. ; on your server or not.( y; h. b( n( Y' u+ J
  362. ; http://php.net/expose-php
    : b+ b( o2 j* F- y8 h$ N
  363. expose_php = On+ d8 C& U7 i. [  e5 A7 B9 I+ f1 L9 i
  364. 6 \/ Y! q/ ~. u4 T1 V
  365. ;;;;;;;;;;;;;;;;;;;7 r- [% e; C+ J  r( O9 q8 b7 \
  366. ; Resource Limits ;( ~& O9 v; P5 W! O  G: c+ i$ {
  367. ;;;;;;;;;;;;;;;;;;;
    " V* e- d* x5 J) m0 R
  368. 0 _1 k' V: w( U8 F
  369. ; Maximum execution time of each script, in seconds; Y6 w+ U( |2 K; k: }
  370. ; http://php.net/max-execution-time! D% A$ w0 A# L6 {
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ m+ U6 r& A# b7 i5 Z, N7 c! h
  372. max_execution_time = 300- I. N7 f2 U% J$ ^& _' [

  373. & r8 ], f6 k, m' G3 D; e4 c  Z& o% ?! @
  374. ; Maximum amount of time each script may spend parsing request data. It's a good! `- M, \! n) n5 X! \7 r
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    $ g3 C  {' {2 v* }
  376. ; long running scripts.$ v% l3 b2 M" u  R( ]" g8 M: }
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; J7 _2 z, H4 N* \( t; ]- E2 ]
  378. ; Default Value: -1 (Unlimited)
    ; t9 `$ [& [/ V9 G9 ^9 L
  379. ; Development Value: 60 (60 seconds)
    4 }& A' N  K- Z" b
  380. ; Production Value: 60 (60 seconds): w2 L2 [$ G+ n) h( Q" c$ y
  381. ; http://php.net/max-input-time
    - {) ^: V) ^) I; U$ O* ]- c* {
  382. max_input_time = 600 ]7 J. t( L! n6 n: ^& G' p( C, l
  383. + p: K( I3 R. H
  384. ; Maximum input variable nesting level$ s  `6 P: W  l9 ]' v0 f* V
  385. ; http://php.net/max-input-nesting-level
    4 i! G( k& S* x: Y$ s4 j  ^5 f
  386. ;max_input_nesting_level = 64- A4 N  W6 \( u) V) s5 L

  387. 1 ?* H  H" u) d; O. I' T2 M
  388. ; How many GET/POST/COOKIE input variables may be accepted, i! u0 @( Z- e7 W+ _  t5 s% n
  389. ; max_input_vars = 10006 l# L+ {9 Y$ |
  390. ! G# }$ o* U+ H" E) Y
  391. ; Maximum amount of memory a script may consume (128MB): b) {. O5 C2 }$ V
  392. ; http://php.net/memory-limit
    8 ^6 F6 ?0 ~) `( c3 T; h) u: A
  393. memory_limit = 128M3 _4 @* D* H- K" `: f4 m
  394. , O( r0 R3 M4 z- C( Z, s( U
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    / ?: U8 Q5 }4 z: T& ^
  396. ; Error handling and logging ;
    9 B+ k* G  d0 y6 Z
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' |: h* J3 W# B( ~6 b2 }
  398. # _5 |6 W  ^  S8 u+ `( A8 N; z* W" T
  399. ; This directive informs PHP of which errors, warnings and notices you would like  @0 d4 N$ g' `' I, N( \4 v
  400. ; it to take action for. The recommended way of setting values for this/ R2 ?1 k5 \+ P, H& C
  401. ; directive is through the use of the error level constants and bitwise
    - x) r& ?) C) x+ [) V/ z
  402. ; operators. The error level constants are below here for convenience as well as% W- c5 g6 X/ Z' k9 v
  403. ; some common settings and their meanings.
    : z3 q+ e# }; \) v8 H# r5 r
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 [4 K5 \) u' N, j3 ?
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # Q1 L- N4 f0 N& \  U
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    8 E# C" R; Q9 Z6 I. W$ e# w: J
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    0 u# i" ?9 d) k/ g( ]/ H4 |7 s& ^
  408. ; resources complaining about best practices and coding standards. That's what4 j# \2 i2 ]! Q/ ?4 e' M
  409. ; development servers and development settings are for.
    9 K; ?9 C8 y7 w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    - q% u# t. i9 i0 ]  j6 s% q
  411. ; means it pretty much reports everything which is exactly what you want during& h; D( i  X7 C1 F; t
  412. ; development and early testing.
    - i- H. e7 i: |! J# u0 B. g; e
  413. ;; ^0 @( V7 L, z6 _# Q
  414. ; Error Level Constants:
    0 @8 }  a. v& E4 X
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). W, L% H2 B* a6 I1 N" P1 `" k
  416. ; E_ERROR           - fatal run-time errors
    ) d* f" E: A  u- A' R# Q1 Z2 `
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors8 c# D8 F" W3 ]6 k! ?4 \3 r6 A! j
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - }1 a! p" C  X0 S' J) S
  419. ; E_PARSE           - compile-time parse errors2 w, ^! g- [- b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! U% ~% l( O. `% U, G' c& o
  421. ;                     from a bug in your code, but it's possible that it was" }$ d& O$ n0 T! `' Y: c5 e( r
  422. ;                     intentional (e.g., using an uninitialized variable and
    0 Y- @) X) u+ s/ Q2 a# o4 h
  423. ;                     relying on the fact it is automatically initialized to an
    5 l  h: H7 n% y
  424. ;                     empty string)' }% p, {; m; p. V4 K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 U* u) c. ]& Q+ O2 e
  426. ;                     to your code which will ensure the best interoperability& u( R; }& f( @' L/ J/ d
  427. ;                     and forward compatibility of your code
    + m  n9 r) e$ |. U) ^- V% k8 g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup) ~; r* B. H) D4 C" n1 O* q
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's: Y% k  r: o( @
  430. ;                     initial startup4 ~2 S' o" g6 u) h
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & S' r3 ^, @/ {1 s1 I" V* I  z
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 h3 M$ d# L: G$ w1 Z) M
  433. ; E_USER_ERROR      - user-generated error message1 g+ d6 W7 v5 X
  434. ; E_USER_WARNING    - user-generated warning message
    " p& }8 c4 x% f0 {4 J
  435. ; E_USER_NOTICE     - user-generated notice message
    : m4 _  G( Y8 I. H% e
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    * \# J+ E8 o6 J; {0 e" r+ ^
  437. ;                     of PHP
    0 O7 u6 e+ A. y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) @" u1 w# K9 ]; H( R3 T' Y
  439. ;/ s/ b1 x( S4 w6 A8 \
  440. ; Common Values:
    1 l3 D/ v' r# I2 i
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)8 W/ Z+ c3 Q' ~8 d# B  ~
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 C% ]7 T9 A* i' a. I
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)8 b. v$ ]5 a/ |- e! g2 n" |
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)- U4 \, k* y' O- N3 s- S. Y
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED# E8 A0 y0 g3 e1 V
  446. ; Development Value: E_ALL
    7 j) `! d0 X7 J; O
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 O: H$ N7 G1 ^$ ?
  448. ; http://php.net/error-reporting
    * j/ t5 ^/ j+ E8 H5 s: q
  449. error_reporting = E_ALL & ~E_NOTICE+ b5 d! |/ g: U' f
  450. 4 }0 J) Q) F  X  q) d$ H6 L
  451. ; This directive controls whether or not and where PHP will output errors,+ ?4 @# R" f2 n; {3 a, E+ S
  452. ; notices and warnings too. Error output is very useful during development, but3 G2 A, p: O7 g5 S
  453. ; it could be very dangerous in production environments. Depending on the code: B- Y  ?7 {+ ^1 n
  454. ; which is triggering the error, sensitive information could potentially leak5 J0 U/ W' p- d( W1 {: A: p1 X
  455. ; out of your application such as database usernames and passwords or worse.; O! Y' W) b6 g2 N& D( y: p4 v  c' f
  456. ; For production environments, we recommend logging errors rather than
    4 q; U% b* a1 {# J$ b* I" t) D
  457. ; sending them to STDOUT.
    + I7 I+ Q6 e- n$ D
  458. ; Possible Values:# z# Z3 u) j2 h" \
  459. ;   Off = Do not display any errors0 k7 h: ?+ t1 Q2 m8 x; F9 P( l
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 [5 b; I  z! K+ L; A: F  Y
  461. ;   On or stdout = Display errors to STDOUT
    1 y. d- b6 i2 z- ?1 ?. n2 w
  462. ; Default Value: On
    7 B3 K8 Y/ B0 ]
  463. ; Development Value: On, X* b. X  i8 ], ?& b: ^
  464. ; Production Value: Off
    9 S) [& P3 Z( |; H
  465. ; http://php.net/display-errors
    : P" n2 J% ~* l% U7 q
  466. display_errors = On2 P4 _8 _" |0 Y: ^

  467. $ P6 b. E' U4 L1 o( G
  468. ; The display of errors which occur during PHP's startup sequence are handled- e& p+ e4 q8 v
  469. ; separately from display_errors. PHP's default behavior is to suppress those' l/ z) u3 H, D; b
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ( i, }. k# T" r( I0 R7 a4 H/ ]
  471. ; debugging configuration problems. We strongly recommend you$ p+ v, K, ?! k" _; J1 j/ w
  472. ; set this to 'off' for production servers./ B2 n5 Y5 {8 e& P4 a( H7 u
  473. ; Default Value: Off
    + ~2 y/ B' J6 V0 v! e5 \+ W% m
  474. ; Development Value: On
    + _% E8 L% a4 c9 g
  475. ; Production Value: Off8 D4 Z5 x. H  Q& \* g. t
  476. ; http://php.net/display-startup-errors
    / B5 x* u1 g& @2 M- ~" c
  477. display_startup_errors = Off
    * i8 S! M( c8 Y

  478. ! N$ _% B$ L8 K7 `
  479. ; Besides displaying errors, PHP can also log errors to locations such as a5 m1 S1 q* Y* W. B2 D  U
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ) Z" c$ y& Z7 n# R- N+ T- W& `
  481. ; directive found below. While errors should not be displayed on productions' g% o- l4 G" V4 {
  482. ; servers they should still be monitored and logging is a great way to do that.' J# K5 |9 w2 o: n& {1 X. O
  483. ; Default Value: Off
    2 ~4 A( u' _% A. x% C
  484. ; Development Value: On3 M& ?7 F1 z, e, h. j6 X" B
  485. ; Production Value: On
    " _$ u5 q# i* ]2 J/ v
  486. ; http://php.net/log-errors" h$ ~& p5 A& o, X& r+ w  p
  487. log_errors = On- K2 e, i" r& L: _8 t3 Y: o  O
  488. 6 h: ?: w/ H5 s+ u9 p5 U* s
  489. ; Set maximum length of log_errors. In error_log information about the source is% _! [+ ]3 Z/ z' x
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. G4 m8 y8 f6 \" \
  491. ; http://php.net/log-errors-max-len
    5 V6 T% G( I/ j  j& z8 L9 c
  492. log_errors_max_len = 1024
    & k9 C( }$ s# t1 T! E9 z( W/ o+ c# u

  493. : F  X  t3 H3 Z
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - X0 `/ v% B) H$ X& Q
  495. ; line unless ignore_repeated_source is set true.1 @0 G) ]/ s4 k' i4 b5 B
  496. ; http://php.net/ignore-repeated-errors4 l  V' o) D( p
  497. ignore_repeated_errors = Off
    0 g8 j6 Q3 T  P9 u# T. [

  498. , t; T  c: R* z& q7 A
  499. ; Ignore source of message when ignoring repeated messages. When this setting; J, K3 c4 @6 t" y7 O) s
  500. ; is On you will not log errors with repeated messages from different files or
    1 z) s0 V  I5 U  V2 f; @! a
  501. ; source lines.
    $ ?; o. a  b& ^- f- Z
  502. ; http://php.net/ignore-repeated-source* G4 D9 v, I' d  b6 K) X0 u: x. O
  503. ignore_repeated_source = Off
    0 W9 A- D( r7 J- Q

  504. $ ^$ g+ t) y, t
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on4 U8 b/ {: O7 |) z& r
  506. ; stdout or in the log). This has only effect in a debug compile, and if' x7 R- S+ F/ l: l% d
  507. ; error reporting includes E_WARNING in the allowed list; s0 Q+ N: R4 m1 }4 d
  508. ; http://php.net/report-memleaks
    ) q4 @/ c/ x6 X: o
  509. report_memleaks = On
    0 @) ^6 G+ B  Z3 R2 ~3 K- Y' U
  510. $ ?% ~+ P. v* e7 @7 v$ `1 Z: x
  511. ; This setting is on by default.
    / T/ K! B" f: P$ R# p
  512. ;report_zend_debug = 0
    % H' S( ^4 m2 s% Q! T( o

  513. 3 p) b, v# ~& O$ _
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value" _0 d  t. p. U2 y
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    % ]& H# X# Z8 K" H9 y
  516. ; however be disabled on production servers.* s. ^* I( f0 g% R$ m' n. S
  517. ; Default Value: Off
    , U* b' \3 }8 ^* k: Y
  518. ; Development Value: On! J0 `+ k; F' s" p; M
  519. ; Production Value: Off7 {6 E" A6 ?6 W! Y! i& a
  520. ; http://php.net/track-errors: O& x( r5 A6 B: I0 j3 D7 k5 ^1 I* b
  521. track_errors = Off6 _2 N+ t: _' j5 @# ~/ U: z/ I

  522. 7 p/ ]. K1 F3 i
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    $ R) O/ P0 C( C" T
  524. ; http://php.net/xmlrpc-errors1 @' J* ~- `) K6 |, ]+ R, P2 }* J+ B
  525. ;xmlrpc_errors = 0) s- g) H* j, x$ W# n2 \4 u

  526. ' T0 Y4 y5 n& L2 ~& R
  527. ; An XML-RPC faultCode
    ; M; z; c: ^9 Q# \$ W0 ?! s
  528. ;xmlrpc_error_number = 0
    & E8 w: L! ^: {$ Z! G; @1 p

  529. 3 W+ Z# k; m" o: N) k" u" q
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    5 p" @( O/ g" O" z! c2 e
  531. ; error message as HTML for easier reading. This directive controls whether
    2 d! n1 P7 C- L4 n9 z3 O
  532. ; the error message is formatted as HTML or not.- W6 v6 V9 {8 ^8 b- A
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 b3 {1 b! n! R8 z+ C, _/ {4 Q: j" `  {3 G
  534. ; Default Value: On
    % A/ F0 y2 u; u% O2 o' b8 E- \+ `7 o
  535. ; Development Value: On: D9 y; q/ W3 y! G- t7 j, T
  536. ; Production value: On( K: `2 x3 b; b1 s
  537. ; http://php.net/html-errors6 j+ N7 d) l1 ~5 t) @2 j
  538. html_errors = On
    , T2 L: i' `  O2 P$ X6 V/ P' S
  539. 6 K# k# r# r: t; ?7 E
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP* \/ K# G& T4 G( ~$ a* h- l1 h
  541. ; produces clickable error messages that direct to a page describing the error
    + @8 M. L0 Y+ ~
  542. ; or function causing the error in detail.$ A. f# ]/ ]- P7 H0 W
  543. ; You can download a copy of the PHP manual from http://php.net/docs- v% `" t1 |" Z( Z! K1 ~, s% b
  544. ; and change docref_root to the base URL of your local copy including the, p3 Q% d8 C- G( k0 ^; \7 o
  545. ; leading '/'. You must also specify the file extension being used including
    4 J& \  a. _* n( I' S  n# e& [) Q% t
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which, k* g" U+ _6 C8 m
  547. ; case no links to documentation are generated.! k7 Q% n5 ]2 X- G( J
  548. ; Note: Never use this feature for production boxes.
      A$ Y6 n) u2 J
  549. ; http://php.net/docref-root
    ) C! Y1 S# K! t% x! |, U
  550. ; Examples
    ! E  w4 {; m: z
  551. ;docref_root = "/phpmanual/"! G$ H2 T8 S5 c9 \/ T- o4 s" x

  552. & ]+ F6 h' r* G- S2 _% z
  553. ; http://php.net/docref-ext
    0 `1 ~" p, R- G, B
  554. ;docref_ext = .html
    $ \) _* s* _  a+ u

  555. , d/ S  ?2 e& I2 I# X* {
  556. ; String to output before an error message. PHP's default behavior is to leave0 i  d. ]) W4 U2 d6 _4 `3 A
  557. ; this setting blank.: O7 j  B% I, F6 ~0 g3 K: M
  558. ; http://php.net/error-prepend-string" U6 O6 L! m/ V3 s5 t; q& J
  559. ; Example:
    5 ^: h3 A9 E; @7 J+ M
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ' |1 @, `3 T9 y; |2 u1 m

  561. 2 P0 V, l; X7 q9 P/ E# e) @9 x
  562. ; String to output after an error message. PHP's default behavior is to leave
    1 G' W9 g" h5 ]  M% Z
  563. ; this setting blank.
    0 n' h4 ]" u) \  i$ B$ n9 ^6 J8 t
  564. ; http://php.net/error-append-string* w# }* f% K5 t4 R
  565. ; Example:2 n+ X2 e4 }& i+ e
  566. ;error_append_string = "</span>"% y1 m' {) i& P0 K% l. F
  567. % I  V+ R2 ]" K  X& g0 t3 |
  568. ; Log errors to specified file. PHP's default behavior is to leave this value! ~2 x; c& b/ t+ ]  M* @8 z; _$ O
  569. ; empty.5 w/ k+ [9 g2 V2 V
  570. ; http://php.net/error-log
    % q1 a# v% W0 p6 y* r
  571. ; Example:
    ( k. C% r+ Q& A" \  H9 ]
  572. ;error_log = php_errors.log
    8 q# U; Z/ `. i: Z7 Q
  573. ; Log errors to syslog (Event Log on Windows).
    - A9 O( ]3 }  b3 W! j5 p- N
  574. ;error_log = syslog% ^8 J2 n9 v$ |# ]" j
  575.   m5 P! m! C6 Y, W( C: q
  576. ;windows.show_crt_warning' J9 L0 ]% v$ M8 ~
  577. ; Default value: 0+ Q3 V. y$ f% H
  578. ; Development value: 0
    $ t2 k0 n& H7 D: k; b% P/ Y
  579. ; Production value: 0
    # e' Q* i% e" M% A2 k
  580. - B: |  Q+ F* S. q. A2 U
  581. ;;;;;;;;;;;;;;;;;* d2 F( p5 b8 g) E$ V" U* O2 u
  582. ; Data Handling ;4 ~8 v* b  y# u! R1 {# v
  583. ;;;;;;;;;;;;;;;;;
    + S! c5 l+ F" F% j4 i9 d  \9 @0 _) D8 E

  584. ( C2 g  ^7 c- x5 A4 W+ y
  585. ; The separator used in PHP generated URLs to separate arguments.0 \% F) A: l# @0 ~
  586. ; PHP's default setting is "&".& e( Y( Z# I2 j9 y
  587. ; http://php.net/arg-separator.output5 ^2 e1 ~- ^4 Q9 W: S. h' D) ]
  588. ; Example:1 ?' g+ O8 V, m
  589. ;arg_separator.output = "&amp;"
    ; Q/ j* D/ H, w' r3 O
  590. * H2 [3 K$ P5 ?5 F/ w4 ?  l
  591. ; List of separator(s) used by PHP to parse input URLs into variables.* y- w1 u0 Q/ n4 {( r4 G
  592. ; PHP's default setting is "&".
    + x5 o( U& \9 R" D9 c" x
  593. ; NOTE: Every character in this directive is considered as separator!
    1 H2 r' [. c- g4 @: L6 d  H' ~
  594. ; http://php.net/arg-separator.input
    9 v8 t5 z% m( u1 z! _
  595. ; Example:0 w2 @1 N% N. {% y" C$ K
  596. ;arg_separator.input = ";&"+ C. k+ p! V* ?" H! p) N# D
  597. ! s  K" L% d9 g$ [  B
  598. ; This directive determines which super global arrays are registered when PHP+ s8 @) v, }) p4 L
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    0 v+ R8 Q- ^% {" @1 _: S- J
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 v4 j# v* I- N# O, ?
  601. ; paid for the registration of these arrays and because ENV is not as commonly5 L$ S: T& V, @' d" x
  602. ; used as the others, ENV is not recommended on productions servers. You2 m$ p( _: [  \" G9 H7 ]0 t
  603. ; can still get access to the environment variables through getenv() should you7 x$ A7 M/ {" k4 y
  604. ; need to." j' v% W/ y+ x4 @6 \
  605. ; Default Value: "EGPCS"* a7 V8 e' r1 O
  606. ; Development Value: "GPCS": r! K# S1 ?, u3 P% Y) \, Q3 K
  607. ; Production Value: "GPCS";/ s- ]: f  [7 o7 P% f, X
  608. ; http://php.net/variables-order6 B% T1 D' E! g; n- }, l! w- f
  609. variables_order = "GPCS"6 n  ]+ g5 E2 P. B' S5 ~! |

  610. 5 y; X# y9 ]# F, K- d4 q: |- |
  611. ; This directive determines which super global data (G,P & C) should be
    7 X) q/ [+ Q7 ^( W
  612. ; registered into the super global array REQUEST. If so, it also determines
    # W: t( k( a1 d) x/ i/ h4 k& |
  613. ; the order in which that data is registered. The values for this directive5 H# w* R9 ~( f4 R7 Q
  614. ; are specified in the same manner as the variables_order directive,
    4 }5 s: i' {# a3 ^6 W$ J' k
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 X9 T( M/ u6 x5 C* A7 f5 z
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ a6 Q  I3 L( z% ^
  617. ; globals array REQUEST empty.4 e. b6 n6 @, M1 S+ H7 P2 G
  618. ; Default Value: None. ]- j' z$ n  {' s. H8 V8 W
  619. ; Development Value: "GP"
    + q$ h/ o9 q8 K$ q
  620. ; Production Value: "GP"* D6 G4 e6 n4 X. t$ U
  621. ; http://php.net/request-order
    ! g$ \7 G; p5 c) F& H; c
  622. request_order = "GP"
    2 P9 F' g. c5 E  K& S. n' k0 r3 D

  623. 4 Y* f+ `  J5 u, K
  624. ; This directive determines whether PHP registers $argv & $argc each time it- s: ^% T: J3 W* L
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * Y. E7 B' c6 N" N$ b
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ! ]+ {4 _* T0 q1 V* [# N- C: F: u
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! q* v/ F  R" k# L
  628. ; useful when running scripts from the command line. When this directive is' m! Z7 U# t4 c: e+ S& O/ O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time( n; ?0 I& G4 P( [- @7 d' G2 b
  630. ; a script is executed. For performance reasons, this feature should be disabled+ O+ h- p3 k4 `" g. {
  631. ; on production servers.) _/ C% H& I( Y" K+ {2 m0 ]
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    " a9 u6 S$ ]3 K1 W3 p) G
  633. ; Default Value: On
    7 y0 I$ S! {% K4 _! }
  634. ; Development Value: Off
      \. d; K1 D* U  l/ W$ N
  635. ; Production Value: Off8 k+ {6 x) ^3 c# X, i7 P+ F
  636. ; http://php.net/register-argc-argv
    % m: t+ h% z1 q1 |
  637. register_argc_argv = Off$ H5 w$ ~4 G, S! q2 Z9 P

  638. 6 d8 J- K3 p) {4 G4 o. T
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're, P0 H- P2 e5 l7 X, Y
  640. ; first used (Just In Time) instead of when the script starts. If these
    4 L8 u- @* m1 E6 `3 A
  641. ; variables are not used within a script, having this directive on will result6 r, W  S7 _' m( |6 I- [' T
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 c1 n. H/ v: v9 L5 J& H5 ?
  643. ; for this directive to have any affect.) ]5 H7 R" _0 E& z# B8 c1 F5 H
  644. ; http://php.net/auto-globals-jit+ i& z- p+ Y0 {; N8 W! W
  645. auto_globals_jit = On" F. ?! _4 F9 e, k' r
  646. : K" q* j2 T* j& M/ H! k
  647. ; Whether PHP will read the POST data.- h3 Z1 t) |( E/ T9 L" R/ r
  648. ; This option is enabled by default.
    , B( F5 i6 o, }& z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + `; H/ m) V) N( V
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    . @: b- b2 ?3 |3 o; {
  651. ; POST data will be through the php://input stream wrapper. This can be useful- }$ m) ~! b9 a! ^2 o' s& c
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.0 e5 J" d+ [9 m# g+ @0 {" R; K
  653. ; http://php.net/enable-post-data-reading$ r2 \/ J7 `2 R( v4 X
  654. ;enable_post_data_reading = Off
    ; B' c) M1 F) O! u7 W1 ~: Z

  655. ! K- e4 k. m, R( E' `2 m* j
  656. ; Maximum size of POST data that PHP will accept.% n( J1 c7 H, ^5 p
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ _" D" X3 ?- Y5 i2 \7 [% o! k
  658. ; is disabled through enable_post_data_reading.. N2 I0 E" R5 Q: [8 i: Z, V
  659. ; http://php.net/post-max-size
    , ]4 B/ {: ]' G/ K( N; Z7 F" C# r
  660. post_max_size = 50M
    , w& |" Y- s5 B  L9 M) r

  661. . G) V0 y0 T0 X# ?8 x1 @  ?) V- E
  662. ; Automatically add files before PHP document.5 M- H; p; g- B8 q; ?" }  W
  663. ; http://php.net/auto-prepend-file
    ' i8 j, M! K3 V* m! f
  664. auto_prepend_file =
    " D) A$ P. p, Y; i

  665. $ i% y! M* s* ^1 D
  666. ; Automatically add files after PHP document.2 B4 b; j# b7 R8 z0 G! N
  667. ; http://php.net/auto-append-file; X9 T; n  d9 O% {2 k( k; p+ M
  668. auto_append_file =
    . G6 P/ s. A( W; B  c6 K( i

  669. " U! i% {: s* X* x  v
  670. ; By default, PHP will output a media type using the Content-Type header. To
    / B' z: A/ \) k# s  i
  671. ; disable this, simply set it to be empty.- b3 @, w6 A1 v* i5 K# O
  672. ;
    5 e" m: K7 M' e$ Z1 M0 u
  673. ; PHP's built-in default media type is set to text/html.
    $ e. I$ M: _) Z! `1 z9 g* o
  674. ; http://php.net/default-mimetype
    4 ?) h4 a4 \; o8 H+ B! m' O
  675. default_mimetype = "text/html"
    $ I3 K, |; Y% L* P3 {9 ]# Y
  676. 7 Z: ^; p5 B- D6 f& J
  677. ; PHP's default character set is set to UTF-8.
    ; h+ q9 Y/ K$ x9 k& H5 k9 s
  678. ; http://php.net/default-charset
    / L9 f. W6 L0 E* W" }
  679. default_charset = "UTF-8"9 h. ?1 ]2 I% p3 N) q0 ~
  680. & G- D' e+ o. z( G1 b1 t& r
  681. ; PHP internal character encoding is set to empty.1 v  @8 t4 Z. j/ r7 M
  682. ; If empty, default_charset is used.
    $ L+ Y& q4 C/ a
  683. ; http://php.net/internal-encoding
    9 f) J. o  K- L# \$ Z2 a
  684. ;internal_encoding =* |4 \2 @- C; n# o6 H
  685. 4 U0 o4 M, J6 U, V
  686. ; PHP input character encoding is set to empty.2 r  G) M; U( v5 P  M& e
  687. ; If empty, default_charset is used.
    ' H! u* I" @: ]! ^6 n! s: R1 V
  688. ; http://php.net/input-encoding
    , j: f- }/ }. w$ V7 \6 D
  689. ;input_encoding =
    $ ]+ q! J3 D4 r

  690. " R, l, q1 G! q8 O, E! X/ I( i  Z2 y- O
  691. ; PHP output character encoding is set to empty.
    : k8 u  g, Y9 o! @/ q" I
  692. ; If empty, default_charset is used.( S. d4 h, T( d
  693. ; See also output_buffer.
    0 |# N2 S$ [6 D0 u. h  }4 ?
  694. ; http://php.net/output-encoding
    $ p; g- u# P7 _8 }8 P
  695. ;output_encoding =4 Y( z: K% q  ^

  696. $ E( c$ V7 g2 l2 r4 W! `/ \2 Q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + x- v0 d$ n* M+ A3 f; F
  698. ; to disable this feature and it will be removed in a future version.
    2 i% D! ^, I; O. ~( Y) v
  699. ; If post reading is disabled through enable_post_data_reading,$ k- R# L5 x% v! h
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ( E% O* i6 H$ C$ ]# k7 K
  701. ; http://php.net/always-populate-raw-post-data
    ' ~5 G/ ?$ D# |/ y
  702. ;always_populate_raw_post_data = -1
    ! ?# m1 E+ Z4 J' T. K& |! d

  703. 4 j7 |' ~. b, d. G1 o* D8 M
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    / ~3 [# W4 v5 w( s6 |% R
  705. ; Paths and Directories ;
    5 L2 T& w' d  t. c" B3 @/ J# M
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;  ]9 M6 [1 j; G; a0 t, ^
  707. & s5 Q' ]0 ~1 Q/ l8 [0 G1 {% w
  708. ; UNIX: "/path1:/path2"
    % d- `+ `9 M8 V/ T. K7 P4 M
  709. ;include_path = ".:/php/includes"
    % v: X  _8 ?5 @0 F- k* v: Z
  710. ;
    $ @* V; z2 f+ h& x5 S# c2 H
  711. ; Windows: "\path1;\path2"/ K) p4 B) E1 r1 v* X" y# a
  712. ;include_path = ".;c:\php\includes"# ?9 P7 S1 a5 ]3 K" R: _9 c2 _
  713. ;8 |: K. d1 i  X
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) S. z( h: {' N  E' f( l
  715. ; http://php.net/include-path
    4 R4 Q- j6 Z0 P; L
  716. " }0 N# u. V: t% A0 ?9 w
  717. ; The root of the PHP pages, used only if nonempty.) ^; A* U# p. v/ D4 ]8 M$ Y
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) w- I- l0 F$ _6 V3 A7 U
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ! C0 Y$ J# l* c% p8 l
  720. ; see documentation for security issues.  The alternate is to use the
    % ~* w9 z9 u- o: V
  721. ; cgi.force_redirect configuration below: `; z" L+ @  d/ B3 }
  722. ; http://php.net/doc-root% u% P$ i; c1 k
  723. doc_root =4 [! \; \  w2 a
  724. ' q* N% b1 }- i! Y1 H
  725. ; The directory under which PHP opens the script using /~username used only5 j9 ]' R5 F+ t8 w7 Q
  726. ; if nonempty.$ F- f# s$ S2 e5 `; c: [& d
  727. ; http://php.net/user-dir  x9 _8 t) r$ i2 c! M9 C
  728. user_dir =- j# `; w5 n: n/ z  e& o0 d5 ^" E

  729. * s* B  v2 [6 H0 n
  730. ; Directory in which the loadable extensions (modules) reside.) i; S- V5 P1 C
  731. ; http://php.net/extension-dir
    ; C+ _: q  x4 i8 v- B& I* q, m
  732. ; extension_dir = "./"
    1 D6 w9 E% D& A- S2 \" u
  733. ; On windows:
    * l( E0 G; J7 m
  734. ; extension_dir = "ext", s* Q1 }) I* m$ Q# G& R3 J

  735. 3 X3 ^  L4 J# H( W) @
  736. ; Directory where the temporary files should be placed.
    7 j) s) i9 _* C/ j% @  }  J' X  W
  737. ; Defaults to the system default (see sys_get_temp_dir)) S; l! L. m8 x$ Z
  738. ; sys_temp_dir = "/tmp"" [8 O" _: A2 L2 E* i) F
  739. ! C/ e8 J, e& C: ^3 z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 j9 [; n" k5 z- K$ Q6 M( J$ b5 ^
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ N9 N/ T3 F& q; P: o3 c' L( l0 ^' X
  742. ; disabled on them.
    ' W9 \4 p$ B# I8 M- m
  743. ; http://php.net/enable-dl$ T2 O8 s" I( B. Z5 P
  744. enable_dl = Off
    ; l, H& O) R1 Q
  745. ; Q9 k4 ]- F* q4 o
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 P7 E; _/ b: g
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 A; ~) x3 N. x% G% J$ f
  748. ; turn it off here AT YOUR OWN RISK
    7 O' G3 e  e* S0 d; T* s
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. \1 U' @$ |3 h  g  w+ W
  750. ; http://php.net/cgi.force-redirect4 G' o3 `3 ]; e# |
  751. ;cgi.force_redirect = 1/ K6 K, q7 m: B

  752. 2 y# v3 i4 I. ^+ i) C5 a& c
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 H; ]* ~; h2 u4 [' j
  754. ; every request. PHP's default behavior is to disable this feature.
    / l. b: g% [; w1 u
  755. ;cgi.nph = 15 J6 O/ y- c9 o

  756. ' ^" W8 s, L5 U# g1 L. F
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  f6 ~7 v3 a" h& V, U) j: ?
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    0 Y& u& H' u  v* G
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY4 r) y* p7 e$ z* y4 E! Q& ]5 ~
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    - _- g- w( F# u. f- z( W
  761. ; http://php.net/cgi.redirect-status-env7 }1 o8 s4 ^! H5 x5 \. a* l
  762. ;cgi.redirect_status_env =
    7 K2 ^4 Y: v% q" o
  763. ' e% c- s3 }2 Z; q: l. F
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' ~; o9 e5 x/ [  K; B! @
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) ^# K6 y2 |. p( y) }/ i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 H. r9 I$ J( k+ D1 \: N$ r5 j
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting, j+ u1 E5 g! G: [
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    4 G! @! J( S8 w
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
      S% y% W( t2 s6 Y; D
  770. ; http://php.net/cgi.fix-pathinfo
    * Z1 B' G0 U( R$ R
  771. cgi.fix_pathinfo=1" \; `1 ^6 B9 G! a# r. x
  772. 5 k0 a1 h6 m& c9 p* a: K
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside' [3 p9 d5 }4 M  V3 v
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    : ~- D3 Z! }6 v3 G+ g5 X) W0 _6 [
  775. ; http://php.net/cgi.dicard-path
    & U& ~( V5 c7 o' o/ D
  776. ;cgi.discard_path=1
    0 |6 e- n/ ?$ l! [  P1 R$ g$ A0 [

  777. $ W: o2 j5 ~3 ^% c. |% P
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    0 c6 S. z1 l  w! X: X# b
  779. ; security tokens of the calling client.  This allows IIS to define the4 C8 c# n& w, j  c* X
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    3 L5 [/ p4 A; a- w" U* D/ J
  781. ; does not currently support this feature (03/17/2002)
    : L1 ?2 Z* i; m, `: ^" m
  782. ; Set to 1 if running under IIS.  Default is zero.
      g) k+ i$ F2 [/ G5 v" R  t
  783. ; http://php.net/fastcgi.impersonate; w' w9 h) o/ v$ K: k8 J
  784. ;fastcgi.impersonate = 1: j1 v1 l0 R7 P: ~3 V

  785. 2 r, N; Z7 L9 e* @1 R7 y
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 X% n+ t. p0 r2 }" ?  D
  787. ; this feature.
    " L; x0 x" f" S3 D) S) e
  788. ;fastcgi.logging = 04 D; g) ^1 I: t+ w) |# U5 c
  789. * J# q! i' f* \8 u8 y) j6 Y
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 ?7 g+ W3 \& l0 m/ `/ t: G
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that. U7 G9 p: N. G) j8 a8 ?# o
  792. ; is supported by Apache. When this option is set to 1, PHP will send: U& s) _0 T6 [, D' Y7 \
  793. ; RFC2616 compliant header.
    : F7 O# O* R" G  t* j+ l4 v
  794. ; Default is zero.$ e7 ?9 ^, `+ u5 g5 N2 i3 \& _% `
  795. ; http://php.net/cgi.rfc2616-headers
    % @( L! ?' t$ y9 n
  796. ;cgi.rfc2616_headers = 0
    0 n+ k) R6 q8 m

  797. . E+ c6 S& ~' r2 w5 c
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' I% q6 [/ p& A1 E* L
  799. ; (shebang) at the top of the running script. This line might be needed if the2 b# G- _3 d1 F6 R' Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 A9 I0 x# j5 ?1 w/ ~) [& Z
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ( l0 @' o' x7 W% Y" E
  802. ; http://php.net/cgi.check-shebang-line
    ( b7 V( ?2 m  I0 _; r3 |
  803. ;cgi.check_shebang_line=1
    9 t. k( N1 U  c( |

  804. 8 T1 \5 r( X, ]- R3 Y- h
  805. ;;;;;;;;;;;;;;;;
    3 a% R) q! z/ }  w9 }
  806. ; File Uploads ;
    . y2 O. G; O& N  q& D& L  U1 t
  807. ;;;;;;;;;;;;;;;;3 O  I" ]8 p6 j, A& y/ p. Q

  808. - _9 ?* H9 w# U
  809. ; Whether to allow HTTP file uploads.( w( w! T' b; Q7 J* \, l' Y7 Q2 u1 f
  810. ; http://php.net/file-uploads( a( F5 i; U2 p
  811. file_uploads = On
    ' K7 n1 E4 }3 e' l# E" v5 Z
  812. & ^  i9 c% u/ S. \: m! f5 N4 z
  813. ; Temporary directory for HTTP uploaded files (will use system default if not6 `" m+ l: ]  g& c5 t" [9 y
  814. ; specified).7 G0 ]+ }3 Z3 \+ s( Q+ q
  815. ; http://php.net/upload-tmp-dir
    4 v& [" D8 N; Y) _5 _
  816. ;upload_tmp_dir =
      C/ J6 H4 z. H! K% ]1 k$ G4 S2 q

  817. & C& Q* ~0 f& C+ b, `6 x
  818. ; Maximum allowed size for uploaded files.5 C" C7 C' m0 j" h4 z$ ~* k: R2 R
  819. ; http://php.net/upload-max-filesize
    1 w2 P# S7 G& x" M
  820. upload_max_filesize = 50M& ^! U+ c, g& ]4 }! T$ Q, P
  821. 8 t/ b: }, ^& n$ U7 K# {
  822. ; Maximum number of files that can be uploaded via a single request
    % s, E% q/ a; ]" \
  823. max_file_uploads = 20
      `; r# q2 X: e% F
  824.   W$ J. q! }5 M( f
  825. ;;;;;;;;;;;;;;;;;;
    5 F/ `8 I- O) ?  S# ^. K6 B+ s6 f
  826. ; Fopen wrappers ;
    + W( L9 z, G; r7 B3 E. p! h
  827. ;;;;;;;;;;;;;;;;;;
    8 `9 U# }  I3 I8 S/ u! f

  828. " Y6 t/ L* C* j+ ?2 ^
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.. h) R; B3 {" }9 s
  830. ; http://php.net/allow-url-fopen
    + P- C1 [) \+ v2 A
  831. allow_url_fopen = On
    * M3 P3 d+ Z' U

  832.   d  g9 K7 S6 \2 C' ~4 l
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    8 S; Z) {5 f5 @+ w  @3 F
  834. ; http://php.net/allow-url-include
    9 M+ m( I1 P. t, \
  835. allow_url_include = Off  Y3 g" q# e; B4 S
  836. ' \% ]' f+ ?5 F6 f  U  x
  837. ; Define the anonymous ftp password (your email address). PHP's default setting) X  [& D+ h8 L0 J! t9 k+ b
  838. ; for this is empty.
    % d5 j( Q  l! N  Z2 @) {% Q
  839. ; http://php.net/from1 d7 {: Z' }8 A9 z1 \( s( o8 ?; F
  840. ;from="john@doe.com"; a: J: y  k: n: f$ N5 i

  841. ) E: Q) i+ Y$ F; J8 |2 `
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 j- @2 \. i( Q& k# F
  843. ; http://php.net/user-agent: \! F( y9 V) H& g" d) W
  844. ;user_agent="PHP"7 g5 o. j. u* k# r; g  h8 Z

  845. / {* J9 U$ u; S# e0 ~* q+ {( E- M
  846. ; Default timeout for socket based streams (seconds)+ O/ N! i. o# B6 G
  847. ; http://php.net/default-socket-timeout5 `4 ~: I, p- G) f" b
  848. default_socket_timeout = 608 r# \8 ~# M0 \* k0 `- |: \2 r* W

  849. ! p6 p. q; y6 |
  850. ; If your scripts have to deal with files from Macintosh systems,
    ; e! M4 c- @  C6 C9 O* D
  851. ; or you are running on a Mac and need to deal with files from
    , G9 E* B3 L+ S) z2 C
  852. ; unix or win32 systems, setting this flag will cause PHP to
    & m, \5 J8 p! `) x
  853. ; automatically detect the EOL character in those files so that! A$ z0 D- x$ X. ?2 f
  854. ; fgets() and file() will work regardless of the source of the file.
    ' d. g& _* {& K9 x4 X. t
  855. ; http://php.net/auto-detect-line-endings4 g$ B3 Z: D( z! ?
  856. ;auto_detect_line_endings = Off* C9 l9 r! c) D0 _) l* [

  857. ! o6 l9 V7 O( r/ M! g% ]
  858. ;;;;;;;;;;;;;;;;;;;;;;2 T0 o- P0 H+ _/ H
  859. ; Dynamic Extensions ;
    3 \* h# ~! Q( v2 o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    6 t1 ?4 m. d9 ^. ^7 K4 D

  861. 1 }4 B2 c( B1 @
  862. ; If you wish to have an extension loaded automatically, use the following
    , ~2 W( _! f% g: X
  863. ; syntax:% d* p- D/ J: ~0 d3 v& e; \7 o' ?. t3 p
  864. ;. L$ S) J' w2 r* @3 L6 q" R# x8 N; j
  865. ;   extension=modulename.extension
    7 v* ?+ w5 f+ p# H" f
  866. ;
    * E$ W( O* r8 I: b7 T
  867. ; For example, on Windows:
    7 y; t% v" f- z9 w( d
  868. ;
    / m5 u/ b& o# b3 P- d/ ~
  869. ;   extension=msql.dll
    3 |6 R* z' l# X4 t& u2 c! g5 [
  870. ;; P3 s" e* O, O6 c
  871. ; ... or under UNIX:
    9 Q# @+ J' m( e7 |4 e9 G) J
  872. ;
    3 K" ^+ c2 [' d, D$ p
  873. ;   extension=msql.so* @0 U* m, r2 X1 Z
  874. ;
    ; D* o( e7 @9 M* a. O
  875. ; ... or with a path:
    4 w1 X5 X+ S0 O
  876. ;
    : ^) P3 E" _. G2 C- A) E7 X, M& E
  877. ;   extension=/path/to/extension/msql.so
    / ^: _' Q. s- F- [7 x' p
  878. ;
    0 Y6 ?% e- Z" d$ {# V  Y- `
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 r2 X2 Y9 H2 O& J2 T6 p5 d
  880. ; default extension directory.3 Z) z# r" [. l. n+ r
  881. ;
    ) q3 o5 j" J4 C
  882. ; Windows Extensions
    9 z  N$ B) f% i2 J' K
  883. ; Note that ODBC support is built in, so no dll is needed for it.& ]* }; P& m8 B& v+ k1 M$ O
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( j0 k" J  b& Q# r% k+ G' x8 H
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    $ l8 m% [8 @  y! t8 b2 t
  886. ; Be sure to appropriately set the extension_dir directive.
    9 }  c1 Q+ }8 X: G& c/ m
  887. ;: R, c/ ?5 O* {. S; ^3 w/ \
  888. ;extension=php_bz2.dll1 M3 u6 p# f" f. Y' W
  889. ;extension=php_curl.dll! Y: S' O; z7 G- F+ y
  890. ;extension=php_fileinfo.dll/ M% J3 f/ O# ~2 [" q( D
  891. ;extension=php_gd2.dll
    & u* w. p: H4 B. C: T+ B  C
  892. ;extension=php_gettext.dll
    $ ?* q& J. I4 s! [4 a
  893. ;extension=php_gmp.dll
    ; ~2 q- ?1 \# t2 K1 T
  894. ;extension=php_intl.dll
    * v1 ?- @2 U! b$ \; Y. P: P' f7 R
  895. ;extension=php_imap.dll
      Y" G& n2 r, ]( Q+ G, v
  896. ;extension=php_interbase.dll
    & W& G; S8 ?2 {% Q' J
  897. ;extension=php_ldap.dll3 Q  t2 n1 N! w% L
  898. ;extension=php_mbstring.dll
    1 H( I- ?+ o4 W0 M$ o* Y& b' E
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    + J5 ^  k7 M2 F) t. v5 K" d' m
  900. ;extension=php_mysql.dll
    ) P% X4 P- ~& l) a
  901. ;extension=php_mysqli.dll
      O" z8 o# L0 W, N. e
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client( }+ }, m5 b/ i! e5 N5 u
  903. ;extension=php_openssl.dll
    6 p/ o  Y. {- r+ C3 ]
  904. ;extension=php_pdo_firebird.dll
    ; z# n+ ^. S* _( h4 R5 `; w
  905. ;extension=php_pdo_mysql.dll6 X$ S9 O, p2 @( U" E
  906. ;extension=php_pdo_oci.dll* i! r" E4 Y* ?, Z* P
  907. ;extension=php_pdo_odbc.dll
    3 M# K) _  P+ {; D: V
  908. ;extension=php_pdo_pgsql.dll
    9 }+ T) C8 ^7 @; V" o" a3 q
  909. ;extension=php_pdo_sqlite.dll; ?/ x7 g, Y, m5 i1 W* h
  910. ;extension=php_pgsql.dll" V! d, r! p7 t' p2 c
  911. ;extension=php_shmop.dll
      L- n- P- t& [7 o( D) f) R
  912. * @2 D2 [4 s* X2 x
  913. ; The MIBS data available in the PHP distribution must be installed.
    . a1 M  S( E2 T3 s" @' D" P
  914. ; See http://www.php.net/manual/en/snmp.installation.php 6 ^+ j2 n& ]: j$ L- Q
  915. ;extension=php_snmp.dll; P4 n% n2 j+ _8 F& `

  916. ) Y0 ?6 }; h3 V
  917. ;extension=php_soap.dll& W( A# P- X- a4 `
  918. ;extension=php_sockets.dll
    - V) c  \" A6 q' B
  919. ;extension=php_sqlite3.dll/ u* x# A) R/ {3 I( c6 ^$ w! f
  920. ;extension=php_sybase_ct.dll
    1 q( D  f5 b0 k" m" P
  921. ;extension=php_tidy.dll
    0 f, h5 n$ G$ L. I
  922. ;extension=php_xmlrpc.dll
    5 ?$ g- V( S) Q" K$ h  N
  923. ;extension=php_xsl.dll, L- h; \6 N; l2 `8 e5 M% A$ m

  924. : _# l' h9 q0 S- G+ N+ {
  925. ;;;;;;;;;;;;;;;;;;;. U, C# t1 V5 S, q2 g
  926. ; Module Settings ;, O& x5 Y( J7 k8 F1 H9 z/ `) B' {  @
  927. ;;;;;;;;;;;;;;;;;;;
    9 q& k0 ~3 |3 O1 G' h6 `5 X
  928. 7 i1 C/ N/ M& J1 R' Y
  929. [CLI Server]9 @  y( ~# a: i+ \
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      E- W9 |2 y7 w; s6 a1 e
  931. cli_server.color = On
      f' l+ f3 o2 @5 s' H
  932.   {8 V' A5 H3 D9 B8 i# h
  933. [Date]9 m" m: A- m- j! v
  934. ; Defines the default timezone used by the date functions
    ) ^+ Z6 L0 f8 T1 G# t. }
  935. ; http://php.net/date.timezone' ^; K0 [7 d" B9 k0 ?
  936. date.timezone = PRC# E$ M9 Z+ N+ ^* T

  937. % k+ ]0 x2 s# z: u
  938. ; http://php.net/date.default-latitude4 ]# |" g# t% c) w2 K& L
  939. ;date.default_latitude = 31.7667
    - A- w$ S" Y" ^! U
  940. , {6 q7 N/ A$ }$ s, L' z: f
  941. ; http://php.net/date.default-longitude7 M  ]! Q5 H, ^  i  J1 r6 S6 p
  942. ;date.default_longitude = 35.2333' p0 k- x8 N+ w

  943. 4 P+ b5 \1 H# g+ W5 v
  944. ; http://php.net/date.sunrise-zenith
    & X) q8 n# |( Q6 a! B! Y
  945. ;date.sunrise_zenith = 90.583333
    7 @- d) {# f' Z( ?) s7 c% e
  946. - C0 M: w! N: F. L- @
  947. ; http://php.net/date.sunset-zenith
    ) a# s) i4 a6 P! A3 T% N6 v; _
  948. ;date.sunset_zenith = 90.5833334 u6 x* {0 [2 i, C; |+ _+ V) }- l

  949. 5 \6 |% o3 a$ ~$ ]% Y6 Y/ e; i- D
  950. [filter]
    : F& }7 D% z8 q3 Z- O+ {
  951. ; http://php.net/filter.default
    # [; b" |) t, _- {, V2 P4 t- Z3 K
  952. ;filter.default = unsafe_raw
    ( u: w, f# C- }4 v

  953. . w9 a0 `) X' g& N6 x
  954. ; http://php.net/filter.default-flags0 A  X8 K7 [: a9 d. y
  955. ;filter.default_flags =% ?( t: S4 e6 G; k
  956. 2 D3 O/ L( g" d* S# _3 Y. f
  957. [iconv]( k# P8 g; C3 _7 q6 Z  J3 F
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; ~# T$ ~" I5 {$ q& j
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ! K/ [7 T# C2 f4 l+ x9 R
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 U" C& l8 N/ V" X
  961. ;iconv.input_encoding =
    , F3 @6 [/ Q* ]
  962. : q4 L2 _# i4 N" k0 F. [( R5 G+ o
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + q4 h3 S0 R) P" ?! b% a; c4 |" Z
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + a! H, L1 q! |; F: i9 u
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & }* |! g* u% G
  966. ;iconv.internal_encoding =
    % R9 a! ?% @9 S  s  }) p
  967. 4 U5 P% @' c5 [7 X1 C2 s" l' J
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.9 r. L: Q& o" B! s5 K: h2 w, n
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 T( P* I! {/ x, A2 r3 w* @3 Y
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , N; p$ e' G+ _' d
  971. ; To use an output encoding conversion, iconv's output handler must be set# L6 ?/ h! M/ q5 K2 b
  972. ; otherwise output encoding conversion cannot be performed.
    , k# [1 q$ v+ I" Y0 K4 q$ H. B3 w
  973. ;iconv.output_encoding =
    ; @3 g5 m. P$ o: j& `' D

  974. 4 @5 h6 L  S/ x: F0 o
  975. [intl]
    ) S1 i( H8 q' }
  976. ;intl.default_locale =9 l- G$ Y8 I9 F, [
  977. ; This directive allows you to produce PHP errors when some error
    ' U8 u7 K! ^9 s5 f
  978. ; happens within intl functions. The value is the level of the error produced.
    $ d! a/ t- j7 r1 `' r/ `
  979. ; Default is 0, which does not produce any errors.7 |7 H* v; X4 Y# |* c3 s
  980. ;intl.error_level = E_WARNING
    ; u) J$ d: k! |8 h
  981. ;intl.use_exceptions = 0
    ! G" W+ |8 C' Z  L& i' H9 A
  982. , y+ `+ S5 I0 ?) i  m
  983. [sqlite3]
    & r! j5 v* w9 D0 V
  984. ;sqlite3.extension_dir =
    1 }# X  w" g8 u# J/ [) b
  985. . O1 A- X" [% B) y3 p9 \
  986. [Pcre]
    3 R# |, R2 G4 {/ \9 _( B
  987. ;PCRE library backtracking limit." q, h) P# w, k( \$ T# u
  988. ; http://php.net/pcre.backtrack-limit
    - D* ]& I$ B/ }+ [8 B
  989. ;pcre.backtrack_limit=100000
    " n( d! B$ ]% }+ u  y! ~
  990. " _( ?. `- D  ~5 r- Q. f+ U
  991. ;PCRE library recursion limit.
    4 @8 p; H$ ~1 ^4 I# a3 Y
  992. ;Please note that if you set this value to a high number you may consume all9 M! ^" g$ x/ C7 C/ W7 B) K
  993. ;the available process stack and eventually crash PHP (due to reaching the- w. M; n( ~1 q- s; ]
  994. ;stack size limit imposed by the Operating System).5 I3 \3 V- A0 |
  995. ; http://php.net/pcre.recursion-limit
    4 [& j) x& @7 [1 D) L2 ~% ?0 y
  996. ;pcre.recursion_limit=100000
    7 J  [8 z/ O% H1 ]5 g5 P/ z% f

  997. # Q- \3 Z( v( m8 f7 J" `# b3 r
  998. [Pdo]
    1 [" f, M/ {9 {8 @. @$ O5 W% m# e% x
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; ^9 s+ U! v  G; V$ _) t
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ) R( t7 `$ h1 L
  1001. ;pdo_odbc.connection_pooling=strict
    2 F+ G$ F8 q6 w  G. ~/ s
  1002.   w0 R7 h( |" `& W+ r
  1003. ;pdo_odbc.db2_instance_name" k' X* t) t. M* b

  1004. " H5 W& D  O- p
  1005. [Pdo_mysql]
    # v; u5 E( @0 W
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 o! H5 N- g+ r0 I4 \2 D( u: |7 M5 z
  1007. ; http://php.net/pdo_mysql.cache_size
    1 w) a- k3 }& Y; A0 b% B- e4 K
  1008. pdo_mysql.cache_size = 2000: h6 L; N. P1 ^) U% n% [

  1009. 3 y/ A, E" _- P- K  f' f) }# f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in, b: B8 r; |, _: M7 _8 w6 U
  1011. ; MySQL defaults.
    3 A7 m# F7 s% P1 ?6 p2 \: J9 k0 H. H
  1012. ; http://php.net/pdo_mysql.default-socket  Q) R6 T7 e- Y2 {( z
  1013. pdo_mysql.default_socket=
    : u$ ^# A! q5 n# b" W2 Q  ?  I2 p
  1014. / E5 q0 W1 W5 N+ o1 G
  1015. [Phar]
    ! p+ G9 I4 X  v0 @  m9 e
  1016. ; http://php.net/phar.readonly& r; }5 D1 E& s; E9 B+ n
  1017. ;phar.readonly = On
    # S$ c+ F" R5 ^/ J+ z  D

  1018. 2 J( V/ o* P- S  J3 E8 e) J& R0 @- d' P
  1019. ; http://php.net/phar.require-hash6 Y7 }/ o6 B+ P" p
  1020. ;phar.require_hash = On
    " m) a8 V" {) p

  1021. 3 R" y- J2 N+ Y( m# |0 c
  1022. ;phar.cache_list =& C! f# N: e5 C  ?$ w* |- n6 r
  1023. 0 g% M. [) V; X' k  n6 _/ X
  1024. [mail function]( i. W3 y9 z7 q
  1025. ; For Win32 only.
    0 r2 N/ g3 ~* p
  1026. ; http://php.net/smtp
    - F2 \- h" q- K7 U  S  t
  1027. SMTP = localhost5 E, ~: p- d$ J
  1028. ; http://php.net/smtp-port
    3 T- ?' D/ h5 x5 C
  1029. smtp_port = 25, f2 A/ d1 c6 G+ p) {

  1030. : j: D5 e4 \7 l7 b; y
  1031. ; For Win32 only.2 e2 P( X& h" j+ ?7 C
  1032. ; http://php.net/sendmail-from
    ; G: L1 Z! t# B' s: A7 \/ a  C( i6 D
  1033. ;sendmail_from = me@example.com
    7 j% ?' @5 g% ~2 l

  1034. # n1 A* E5 {9 _( Q
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 ~+ f! A. d( i/ U: ]
  1036. ; http://php.net/sendmail-path
    9 A) A! e+ y9 g/ ^6 \
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    + C( @; X, P' {
  1038. & G8 |% [! A0 A( Y; L4 r
  1039. ; Force the addition of the specified parameters to be passed as extra parameters& m3 d9 e" N5 A: L; z
  1040. ; to the sendmail binary. These parameters will always replace the value of
    5 J; w- \: T3 D& u
  1041. ; the 5th parameter to mail()., b- S( B! |3 n: ]( g6 h% w8 W
  1042. ;mail.force_extra_parameters =
    & X' Q, U# ~' R5 g2 y
  1043. 6 L4 y+ I# g$ T- M! l+ N: }/ W
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 q# P3 P' s+ J' ?8 U3 H
  1045. mail.add_x_header = On
    3 F, m6 T% ~$ A# C1 V
  1046. + F; J9 E3 ^! K$ C1 Q
  1047. ; The path to a log file that will log all mail() calls. Log entries include( U& v, C- M0 s3 p% C1 E
  1048. ; the full path of the script, line number, To address and headers.
    & l9 Q4 m! M* n  l
  1049. ;mail.log =
    ; d4 b, r' |$ X3 v
  1050. ; Log mail to syslog (Event Log on Windows).
    ; F0 M+ D4 z" ]; K0 i! I
  1051. ;mail.log = syslog
    5 D* K% z# b. S0 ?2 R: f
  1052. % ~/ E2 j$ C1 L2 H* H( z
  1053. [SQL]3 p/ B( f# q- C2 E5 \
  1054. ; http://php.net/sql.safe-mode
    6 H! Q* J6 z0 {( K4 B
  1055. sql.safe_mode = Off0 F' _( L2 q, \

  1056. 5 M* n8 a6 S6 `0 V6 g( p4 [7 l
  1057. [ODBC]
    , K( E! s& D0 |0 U
  1058. ; http://php.net/odbc.default-db
    * |( G. _8 J) ]4 H2 P
  1059. ;odbc.default_db    =  Not yet implemented2 B! B+ _( ~# d: q4 h: k
  1060. / }4 _/ Z* C+ K  s
  1061. ; http://php.net/odbc.default-user
    # K7 B$ Z4 j& P3 M3 ]5 i* A( i
  1062. ;odbc.default_user  =  Not yet implemented# j9 z1 D  A7 I  p( v* H7 h

  1063. 9 Q( m0 P- k4 ^0 p
  1064. ; http://php.net/odbc.default-pw# N* \( d, R/ e2 D6 I% l$ |
  1065. ;odbc.default_pw    =  Not yet implemented
    $ c8 B: \* M" A) ~
  1066. 3 z5 \6 q! j4 \- C: u+ v* ~7 s
  1067. ; Controls the ODBC cursor model.
    * m4 ~. a0 Z0 M# w
  1068. ; Default: SQL_CURSOR_STATIC (default).( f) c8 |& p, S+ s, [' e& k5 P0 v" L
  1069. ;odbc.default_cursortype
    7 n1 U6 ]) _: k& l# M7 u9 o% h+ G

  1070. ! q, z8 Q/ ~' l: A: I
  1071. ; Allow or prevent persistent links.0 `$ {! Q+ Z  H4 C
  1072. ; http://php.net/odbc.allow-persistent9 ~. n5 X( b: k0 R9 t- ]
  1073. odbc.allow_persistent = On  y, }  ]. F6 N9 I; K* \
  1074. " D( f7 Y8 v0 @
  1075. ; Check that a connection is still valid before reuse.
    & j& F( @! k3 K4 E# ]; w; f: a
  1076. ; http://php.net/odbc.check-persistent1 a" B6 x/ l+ j" Y
  1077. odbc.check_persistent = On
    % ]/ V2 C) R) O: o; e" p( L

  1078. % p8 |1 {# n  u' t0 T1 o
  1079. ; Maximum number of persistent links.  -1 means no limit.. s6 J( x8 m1 C! E* F8 V
  1080. ; http://php.net/odbc.max-persistent$ P' s. S" z( c- _# a
  1081. odbc.max_persistent = -1
    3 G) n* m. m7 F6 O2 q! i

  1082. ( I. S  |: W9 |$ N. c: S" v# ]3 R1 B3 }
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( W) i3 @6 ^  V4 t, T2 l* _- n
  1084. ; http://php.net/odbc.max-links! w: u/ b) z- h9 ^3 G) g6 h7 }; E
  1085. odbc.max_links = -1
    ; [; ^- U& r: E# w
  1086. 9 k( s' E/ ~# e) u- q) ~
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 ]7 i( n  l( b6 i
  1088. ; passthru.* G7 v, J+ k3 a* E0 o
  1089. ; http://php.net/odbc.defaultlrl
    4 e: D* L1 |& J; Z8 y1 O0 o
  1090. odbc.defaultlrl = 4096
    + k' V) P2 ?; D1 i! O
  1091. 0 U, n# o& G- t/ T' w& D
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.9 g; V) {0 I6 Z, d
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 X7 a5 g% G3 K. o
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode4 i5 w* J4 F) o: J
  1095. ; http://php.net/odbc.defaultbinmode8 s& c& h6 P9 `9 _0 C  J! ~- {
  1096. odbc.defaultbinmode = 1
    2 s. I' j: K( F( J5 j

  1097. # J& z! P/ d, ]5 d( h+ H
  1098. ;birdstep.max_links = -1
    1 t! _+ i: V# S
  1099. ; \6 T7 S3 D7 V/ o, `
  1100. [Interbase]
    + L! N* f# [" f; f
  1101. ; Allow or prevent persistent links.
    * q& J6 a  W0 O+ A& X' Z' \2 C
  1102. ibase.allow_persistent = 1* U+ Y3 _) ]3 q4 }( O& k$ t+ |. b
  1103. # s' R) U8 {/ X' A% U7 t" V
  1104. ; Maximum number of persistent links.  -1 means no limit.9 r$ j. O$ `! m
  1105. ibase.max_persistent = -1& a+ J7 v! ?/ O  ^) l

  1106. 8 ]" A8 O8 S3 d. r; H  I( A
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 ?3 ~$ a0 S) W. z: a
  1108. ibase.max_links = -1
    % h4 A$ q$ Y" U
  1109. $ K5 X9 k! N+ m+ }6 \
  1110. ; Default database name for ibase_connect().
    4 Y% O8 T4 P  x5 Z0 O1 r2 H% {! D/ Q
  1111. ;ibase.default_db =8 G9 C- C8 i6 W# v0 A& B

  1112. & I, \. x5 ~4 |( k1 F
  1113. ; Default username for ibase_connect().$ c+ J# a3 z5 z+ M% }% }
  1114. ;ibase.default_user =; f2 Q7 z$ _; G. w4 s

  1115. ! m$ n: o7 L2 c, T) d
  1116. ; Default password for ibase_connect().
    ! s2 [' Q; e) ^# d6 r/ Q! D
  1117. ;ibase.default_password =
    % ~/ h( `, T; j) r* j

  1118.   N& v! t; y  S/ r( l1 ~
  1119. ; Default charset for ibase_connect().
    ' T" W& V& G5 `$ y
  1120. ;ibase.default_charset =! S3 g. L6 `  {+ {2 n* [  b
  1121. + z  j. U  u# p* t5 E
  1122. ; Default timestamp format.
    2 L, ^. p  M1 X- W4 }( a- N, Y
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 Z! [/ L3 w2 a2 h
  1124. 8 V& T; t- A8 w% s( r" C/ A4 A
  1125. ; Default date format.
    * a7 R* P- p$ @5 I
  1126. ibase.dateformat = "%Y-%m-%d": x2 u: d) m7 B6 ]4 z0 u- p3 E
  1127. ) r: e. r/ Z) J) w6 A9 P! G) ^- N
  1128. ; Default time format.! z% G6 \" f. x% m& v5 d3 [
  1129. ibase.timeformat = "%H:%M:%S"% U0 i+ I, U1 ~9 n+ Q
  1130. 6 A) |5 W# N3 n8 g" X( ^5 m6 H
  1131. [MySQL]  s/ \' s; p$ U0 q
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    7 N6 @* B) x2 d: h3 G+ h9 G; V
  1133. ; http://php.net/mysql.allow_local_infile+ y' p1 L: q3 n0 \" S6 a: U
  1134. mysql.allow_local_infile = On
    - d/ w  \8 ^; T& w1 ?4 p" U
  1135. ! J' U; K1 |' R) }0 Q
  1136. ; Allow or prevent persistent links.
    . g$ d. c5 p+ ]5 s: q5 x5 @. Q
  1137. ; http://php.net/mysql.allow-persistent
    ' l, v! |1 r( W: g
  1138. mysql.allow_persistent = On
    $ f) E1 q& [/ R4 e: r

  1139. 4 X; ]; e  ]* [& ^  F
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 ?6 l/ w* x0 S3 J: G5 I; k
  1141. ; http://php.net/mysql.cache_size% y. m8 l7 l7 [" h
  1142. mysql.cache_size = 20009 D$ s1 G, V7 t0 Y0 s) t, @
  1143. 9 B% U! N0 {. K; z$ U6 n5 K8 _
  1144. ; Maximum number of persistent links.  -1 means no limit.) }' f: U) {) R/ j+ J& K( ]% L7 P5 e6 w
  1145. ; http://php.net/mysql.max-persistent  z; s' \- u) s0 M5 I
  1146. mysql.max_persistent = -1. i9 t3 r5 m7 A3 @7 N9 T

  1147.   F8 ?1 }( y7 n' A* ~) S8 ^
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; s+ v/ ~  X+ V
  1149. ; http://php.net/mysql.max-links- B1 s5 ?3 K, ~$ _) d
  1150. mysql.max_links = -1  M6 Q, z; m6 Y3 g/ H4 x
  1151. ( n8 T( @- d6 I, `* P
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use+ a0 A7 ?" j+ V" u, t5 X) h
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) f7 `- x3 Q8 s& e) Y7 o: v8 {
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 e6 D. K$ u$ L0 H
  1155. ; at MYSQL_PORT.2 |2 {- P7 }4 [5 v1 w
  1156. ; http://php.net/mysql.default-port! y; m) |' ]# `' N
  1157. mysql.default_port =
    - g4 _0 q$ M/ @; ?& ^

  1158. - \2 q; _8 M7 J6 z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 Z2 Z& G$ u2 [3 E9 K
  1160. ; MySQL defaults.
    & M, p- R6 O0 s- K, K9 Y. w/ w! U0 z
  1161. ; http://php.net/mysql.default-socket3 |: ^) ]0 E4 K' J7 ?, ]4 e
  1162. mysql.default_socket =- t! c7 H- t4 W0 A& X
  1163. . D, ~) s" T1 V7 y7 [. A7 T2 a3 f4 \
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 n+ h4 ?8 z% ]2 r( a( P; D% c
  1165. ; http://php.net/mysql.default-host
    6 |& x0 ~! n: _/ W
  1166. mysql.default_host =" l$ q3 O3 [( W
  1167. ; X) Z' L1 V1 j- R: V" T
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 r2 d4 q& ^2 x6 P" s5 K
  1169. ; http://php.net/mysql.default-user. p" B/ x% F2 ]. ?3 |
  1170. mysql.default_user =
    4 ]6 S6 n$ B  I3 N+ X
  1171. 1 R4 f! @8 t( Y3 Z# k
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    " ]/ b; R1 h1 l
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * w. \- y& s, ?" j
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    6 F! T' L$ H/ Z
  1175. ; and reveal this password!  And of course, any users with read access to this
    ' y0 P1 n% h' D; q3 e
  1176. ; file will be able to reveal the password as well.
    3 o8 A* f# d2 D1 q# ?
  1177. ; http://php.net/mysql.default-password/ B( w& ^6 R$ a5 L/ H4 Z
  1178. mysql.default_password =
    * U, s$ @" n3 Q$ H& D% o

  1179. ( |' T4 {5 S9 Y
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ) ~2 L: a1 A+ _& Z$ `) J! s
  1181. ; http://php.net/mysql.connect-timeout
    # P# \/ Q. T7 [5 l& r# X0 N& x
  1182. mysql.connect_timeout = 60; P& x& Y& F: j7 {9 K
  1183. % ]7 b" Z) b& c- z
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    4 I0 W( l; G8 \. ^3 g9 U
  1185. ; SQL-Errors will be displayed.
    : j! ^4 p8 c4 w" l- D$ J0 z' g
  1186. ; http://php.net/mysql.trace-mode
    6 q6 }$ P! ]) x& h- X# B
  1187. mysql.trace_mode = Off
      d. J' n: v7 l$ N

  1188. , p$ e$ `2 M. \  C% h* Z
  1189. [MySQLi]
    . ?$ k% L) P- L! A% ]8 V
  1190. 5 c7 |# B/ c! Y: U8 b6 }  y- g. n# T
  1191. ; Maximum number of persistent links.  -1 means no limit.* L. T8 j# C9 ^! o
  1192. ; http://php.net/mysqli.max-persistent  w' \: B3 h& Y2 f
  1193. mysqli.max_persistent = -15 {; v, j' e8 G$ j5 Q* V/ ^' a

  1194. 5 P4 `: b8 ~; y: s3 Y  u) c1 l; N
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & x. ~# d, \' i4 F+ g1 K
  1196. ; http://php.net/mysqli.allow_local_infile2 l" g/ o8 B# m0 y- m' B) R" ]8 B2 d
  1197. ;mysqli.allow_local_infile = On
    2 D" C/ E2 s) j: W/ j
  1198. # z5 `9 @7 S( x9 J$ E# \* D& T
  1199. ; Allow or prevent persistent links.
    9 G; S9 q1 J, I: \. |
  1200. ; http://php.net/mysqli.allow-persistent  P' k3 h" ^4 F' |2 b2 C' K6 j6 {
  1201. mysqli.allow_persistent = On9 O. a4 c; P# [7 P( W8 W. I  v
  1202. : b- e  n# u  Z) C
  1203. ; Maximum number of links.  -1 means no limit.9 b' {3 h. m7 B$ `) g# b5 M
  1204. ; http://php.net/mysqli.max-links. Y- |. ~. u9 w* Y) `
  1205. mysqli.max_links = -1' v& K) }! l# J: ]3 _
  1206. # D. Y' z8 l) y0 z
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      ?) S4 n9 r) i$ c5 U6 J8 g
  1208. ; http://php.net/mysqli.cache_size; E$ E" L+ i5 r8 v" d, `) G
  1209. mysqli.cache_size = 2000% h$ C5 u: ~# p$ K. i- e! G) ^

  1210. , Q- Z( E  e& H' S% e7 }! c' p) _
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 y0 g( d1 \: f0 O
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  {2 Z5 A5 j, g: J+ ]
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look, ^8 P' j! j- D0 m7 r/ z2 z6 M
  1214. ; at MYSQL_PORT.. {0 N# p% r" a( w! P. K8 c
  1215. ; http://php.net/mysqli.default-port
    - [0 b2 `0 y9 p3 U! ^! W
  1216. mysqli.default_port = 3306
    - X8 P4 T8 r! {$ e& U
  1217. . B" @- ]$ o( t5 _7 m; p
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 Y4 D+ `( D7 Q- g9 l: X
  1219. ; MySQL defaults.
    $ R8 N6 e% m) c$ H% @0 Z
  1220. ; http://php.net/mysqli.default-socket
    7 s. O( q. d1 Y1 I) t, A) x
  1221. mysqli.default_socket =. S$ y0 V$ p! l& z" y
  1222. , l8 n+ R. ]# z- v* u! O+ b
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)./ ]0 Q" `+ @" {1 D' ?; X* I. \
  1224. ; http://php.net/mysqli.default-host4 C# q9 u& U& Z' I" D
  1225. mysqli.default_host =7 ]+ D  `% O$ V, ?) }# z
  1226. 1 Z6 w* D: Z8 [! E& Y
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).+ w9 {7 D$ _  P" W
  1228. ; http://php.net/mysqli.default-user
    1 h3 @) P% V( a5 n8 F- [
  1229. mysqli.default_user =, g' `" l# o3 V. ^; H
  1230. 7 G3 j' T7 U9 u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    " {2 j  `& Z- ^) ^: U
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.. D2 |- ]2 Y& P; ~
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    3 f. c6 n" D) e+ ?( i! g
  1234. ; and reveal this password!  And of course, any users with read access to this  M9 D6 L2 o+ P
  1235. ; file will be able to reveal the password as well.
    " Q3 h2 g1 Q# I7 B1 t
  1236. ; http://php.net/mysqli.default-pw% y# K+ Z, T3 m4 H- G" U3 ]$ u8 k2 C
  1237. mysqli.default_pw =
    8 p: p8 P. j1 |6 E3 @" S& p/ u0 M- M
  1238. 2 G0 C# t7 y: M8 ~" A4 h! Z' {/ D
  1239. ; Allow or prevent reconnect
    $ q  T$ E+ V$ _
  1240. mysqli.reconnect = Off) q  [4 }. {/ y, q+ ]

  1241. 1 ~: N" @; i0 X' a0 ]$ `
  1242. [mysqlnd]
    . D# `' a! F! D- W
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ! E. @0 _2 P+ ~9 p6 N. ]  w
  1244. ; used to tune and monitor MySQL operations.
    ' ~# F" r& J9 i& H  s8 U/ U: X
  1245. ; http://php.net/mysqlnd.collect_statistics
    % j$ d  ~9 x1 {* }& _6 b
  1246. mysqlnd.collect_statistics = On" B0 L. U2 n1 E0 Y4 U  K/ L4 I

  1247. ) E* _7 K# K3 s# E* N7 z
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ h; b! c; A: B5 z
  1249. ; used to tune and monitor MySQL operations.
    ! N1 }; U( |' P& O. E
  1250. ; http://php.net/mysqlnd.collect_memory_statistics, h5 V4 `* h0 I2 T1 K( L% X; z
  1251. mysqlnd.collect_memory_statistics = Off
    + {- Z: Z8 r% s3 h) R7 `$ g  `

  1252. ! M, x7 B3 ?3 K& A7 q2 W$ B* y9 a$ h
  1253. ; Records communication from all extensions using mysqlnd to the specified log7 l8 Y# G' e3 B" ~+ Q: X: i
  1254. ; file.8 e5 w& h7 J2 P+ Y0 p; C. @0 |
  1255. ; http://php.net/mysqlnd.debug
    2 @0 B; {1 \/ c/ M% B2 J
  1256. ;mysqlnd.debug =0 v! Z  D, L1 V; y1 A1 B5 @
  1257. 1 G% }# p* G$ P& }& o
  1258. ; Defines which queries will be logged.
    9 r$ j/ x! Y+ x7 s4 v0 _
  1259. ; http://php.net/mysqlnd.log_mask
    " S- @6 ~% V$ s! |: v/ D, o
  1260. ;mysqlnd.log_mask = 0
    8 k" U( H/ D- x4 l9 m- K
  1261. , |6 _# |  p: l8 A% Q9 ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    1 \- z. O3 |- M# `7 l
  1263. ; http://php.net/mysqlnd.mempool_default_size" R& @7 r5 l* o( {
  1264. ;mysqlnd.mempool_default_size = 16000( _# [+ j' ]9 K
  1265. 5 W- j; h! u& g1 B; Y: l* D
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : r& C0 t/ w9 K: o
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size: z+ z3 I+ N6 i& N- [' H
  1268. ;mysqlnd.net_cmd_buffer_size = 20480 F6 [7 Q: p1 |! a" M

  1269. . J- S7 F$ p1 Q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( K+ n+ p0 |0 |1 s. v
  1271. ; bytes.- H, J) B" u7 @
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ' r0 ]- s/ |1 m* M- g
  1273. ;mysqlnd.net_read_buffer_size = 32768& Z2 B) I# |3 C

  1274. ' p4 o/ F. l+ e2 I' e) R- N9 a( |
  1275. ; Timeout for network requests in seconds.2 m2 g7 T6 v0 [
  1276. ; http://php.net/mysqlnd.net_read_timeout
    3 m( v& ^  r$ `
  1277. ;mysqlnd.net_read_timeout = 31536000: n* @0 ~: N$ X, T$ ~

  1278. " a% v) \" i. ]6 p7 B" D( R
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' A, u% e' X4 a
  1280. ; key.
    & l7 u; N7 y' f1 k( _
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : u" R* S- ?0 Y# z6 J7 K# o
  1282. ;mysqlnd.sha256_server_public_key =
    , G* s" J& ~; Y, J

  1283. 4 m/ m5 H0 E' A& F; V
  1284. [OCI8]+ ]1 [& O3 I- x* F
  1285. : g, X: S/ }! ]/ j$ I
  1286. ; Connection: Enables privileged connections using external1 q, F6 ?6 t7 j$ F" I2 {1 a
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    / e9 N6 @! x: Q% F
  1288. ; http://php.net/oci8.privileged-connect: W% T: D, S: H5 p! r3 P
  1289. ;oci8.privileged_connect = Off/ `8 r7 T/ y8 \3 B" ^

  1290. ! ~& d- {: C- w7 y5 U  K8 p: H, W/ N
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    % l4 ^0 G& j7 W. V+ }
  1292. ; process. Using -1 means no limit.& q7 a5 H8 V  o6 M* O& E7 j
  1293. ; http://php.net/oci8.max-persistent
    4 k$ J8 P) y# F0 Q
  1294. ;oci8.max_persistent = -17 W1 g+ F% m$ [' p+ p. ]

  1295. ' s8 N( J; @% l2 N! m/ U
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ; p% n% f, j4 x% l8 F4 h9 a5 q0 \
  1297. ; maintain an idle persistent connection. Using -1 means idle
    6 f1 J; j( i8 l9 [2 ^
  1298. ; persistent connections will be maintained forever.
    $ w/ P5 n3 Z( {
  1299. ; http://php.net/oci8.persistent-timeout8 h* W; I9 @* V. c
  1300. ;oci8.persistent_timeout = -14 W% W7 g+ T* F; w

  1301. , V9 q5 f  D" U' D- t, }% r0 Y
  1302. ; Connection: The number of seconds that must pass before issuing a
    ! x) i; r. _! O7 i+ i: l
  1303. ; ping during oci_pconnect() to check the connection validity. When
    # j5 W# p/ q& b! B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& m' u( D( {7 v# u
  1305. ; pings completely.+ i7 {. J% b- Y9 k+ }  K
  1306. ; http://php.net/oci8.ping-interval
    8 j" r; ?9 D: Q# o0 T
  1307. ;oci8.ping_interval = 60
    % ?! ~+ s7 D4 o
  1308. 4 {1 T' d  C0 Q$ m5 Q1 F3 \3 P5 O
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 |; A" f: ~( |5 x5 z
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    - {* ]# y; j, i# o
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    / |% F  c( j" o9 N7 r
  1312. ; the same string for all web servers running the same application,
    ! ?7 \1 b+ P  x- H
  1313. ; the database pool must be configured, and the connection string must
    # @8 X5 P8 J# V
  1314. ; specify to use a pooled server.
    1 ]6 H7 J, c8 O! q. }+ L; H
  1315. ;oci8.connection_class =3 `9 I! G) j' A5 h( z3 b# u/ R+ J
  1316. 8 k, _) q+ D) Y+ v+ L
  1317. ; High Availability: Using On lets PHP receive Fast Application5 _' ~6 |, i, [6 Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 z3 O% }3 B2 o% g, P
  1319. ; database must also be configured to post FAN events.% N7 b* G4 Z2 d. F, E1 d( o
  1320. ;oci8.events = Off* b* q% P+ ?7 G7 s( H+ q
  1321. : S4 q0 j  {6 h3 k: U% O7 h: A
  1322. ; Tuning: This option enables statement caching, and specifies how
    2 S7 q' p# i, d
  1323. ; many statements to cache. Using 0 disables statement caching.
    9 x0 c1 u7 y* C# U8 D5 X6 w
  1324. ; http://php.net/oci8.statement-cache-size5 I: Y/ x5 j! k9 k
  1325. ;oci8.statement_cache_size = 20
    " R% c! F$ R2 v0 a0 W2 [$ a1 G

  1326. " E1 r7 N8 [" Y  [; J1 x9 J1 D1 F
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    3 i" I! q0 g% D% U; D! q5 w" }
  1328. ; rows that will be fetched automatically after statement execution." W: B3 o& K& _/ F
  1329. ; http://php.net/oci8.default-prefetch+ m" O( y3 s! v3 U* V
  1330. ;oci8.default_prefetch = 100/ r8 c* `; s7 z5 s3 F: t9 K
  1331. & Y9 |: c0 E9 K  ]/ L& C6 v: p3 e
  1332. ; Compatibility. Using On means oci_close() will not close
    8 z) q) `6 a; g6 W$ H8 X( ?1 L
  1333. ; oci_connect() and oci_new_connect() connections.1 c9 C9 ?0 G3 q$ m( K. A
  1334. ; http://php.net/oci8.old-oci-close-semantics
      h8 ^& |& x. L6 j! u- N; p% u
  1335. ;oci8.old_oci_close_semantics = Off% `  q. ]# \/ E, W" \

  1336. / f7 N% {% P% ~1 }& f0 R) M$ r
  1337. [PostgreSQL]
    5 [! I' a7 D9 `0 i. S- n6 ~
  1338. ; Allow or prevent persistent links.
    & m+ t3 ~* ]; ]7 d6 @
  1339. ; http://php.net/pgsql.allow-persistent
    , i0 q3 I7 ]6 [1 P
  1340. pgsql.allow_persistent = On
    " x& B0 C4 Y0 }7 \/ G$ e

  1341. 6 M% D8 n3 ?, h/ W7 ?0 ~
  1342. ; Detect broken persistent links always with pg_pconnect().
    0 T. S1 \4 @. Z" g3 x( w* v) f5 L
  1343. ; Auto reset feature requires a little overheads.' I* g* \" E1 A! Y0 \4 h6 `( h7 w
  1344. ; http://php.net/pgsql.auto-reset-persistent+ y6 ^- o! I$ z' E
  1345. pgsql.auto_reset_persistent = Off
    ) J( m# }2 A6 r) }! L

  1346. 8 w' R& |1 y- d( W
  1347. ; Maximum number of persistent links.  -1 means no limit.2 h5 i9 K+ z1 n4 }# S: s! I
  1348. ; http://php.net/pgsql.max-persistent
    9 c% l% I7 f$ f% S! p  J
  1349. pgsql.max_persistent = -1
    . N/ E% w: @; V8 ?2 x  Y' K, D# T
  1350. 3 T4 k+ `7 n+ P
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 V  A+ y! ~! i9 y" z
  1352. ; http://php.net/pgsql.max-links: T$ S& w: Q% R+ G+ j# {; `
  1353. pgsql.max_links = -13 a( H: z. M4 |4 l! o4 t& h
  1354. + H. `$ B# H5 G8 I
  1355. ; Ignore PostgreSQL backends Notice message or not.
    4 _  f% H/ f! E
  1356. ; Notice message logging require a little overheads.! ]7 T7 S& @4 d3 @$ f4 X9 ]! d
  1357. ; http://php.net/pgsql.ignore-notice1 R; V5 t" v* c& Z* _$ k
  1358. pgsql.ignore_notice = 0
    ) d* {) j; z- S) z; a
  1359. . N! I# Y- H* A- T! S: _, X
  1360. ; Log PostgreSQL backends Notice message or not.
    , b" E2 D+ E! ^0 q) E! N7 M8 Y
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ }& T2 b9 z; d* Z8 \+ i
  1362. ; http://php.net/pgsql.log-notice
    . A" j, `5 S- S& m% `
  1363. pgsql.log_notice = 0; K! b) L/ \+ [  V; L# F

  1364. + B! x" w; o; C8 T3 O
  1365. [Sybase-CT]
    . _: q( h+ P1 ^4 x) Z1 j' V
  1366. ; Allow or prevent persistent links.
    2 v, T' w. @& ~) j6 q
  1367. ; http://php.net/sybct.allow-persistent1 h, [9 w8 z6 E  b+ i
  1368. sybct.allow_persistent = On
    + m. t, B% F4 {2 q
  1369. ' Q; e8 w6 k+ F/ D  W6 o
  1370. ; Maximum number of persistent links.  -1 means no limit.
    3 K" }! R% G7 l8 ^7 y
  1371. ; http://php.net/sybct.max-persistent# W' L2 ?0 J/ u  @, m
  1372. sybct.max_persistent = -1
    9 Z( g6 K1 \4 s# V1 z# @

  1373. ; b' d" `9 B# Z( N
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. t+ ~7 ~9 D/ D
  1375. ; http://php.net/sybct.max-links( f5 \! [) E3 M; N4 H! M- }
  1376. sybct.max_links = -1
    1 q$ W: b5 Q$ X3 P9 C+ |( _
  1377. 6 z& B9 f3 m0 |! ~! p
  1378. ; Minimum server message severity to display.( J; t2 V, J8 C  [! B% c
  1379. ; http://php.net/sybct.min-server-severity- ?" G7 d6 R$ q9 \
  1380. sybct.min_server_severity = 10% w% U' ]" N9 [& W5 H

  1381. ) e# X8 n0 k/ H: q+ t. l/ m
  1382. ; Minimum client message severity to display.& N' Q$ o1 j6 K4 U
  1383. ; http://php.net/sybct.min-client-severity
    6 w2 u' U; k. P0 g9 ]; o" Y
  1384. sybct.min_client_severity = 102 X, H" \' p# e) L

  1385. ! W0 n! s0 x  Q$ K; m- i& h
  1386. ; Set per-context timeout
    1 l9 L& @. e9 V' E8 G, L% o
  1387. ; http://php.net/sybct.timeout+ Q+ q9 u$ i  A3 G) P3 k
  1388. ;sybct.timeout=
    . o) A, A" R( d. D$ O* f

  1389. 0 A: \* D/ t$ H0 b  F/ n7 [" g- y
  1390. ;sybct.packet_size3 W: C( O( K1 n

  1391. ' Z) @" Z/ e+ L: m; r
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.7 ~1 @/ E& k. {: k+ _( ^) G
  1393. ; Default: one minute8 m$ w/ ^4 u3 H) B* _
  1394. ;sybct.login_timeout=
    4 O( |" v2 C( w% w7 u! N& b/ H

  1395. + ]2 p! t1 X0 {6 E3 v: y% ?# I
  1396. ; The name of the host you claim to be connecting from, for display by sp_who., p: R* \( Z9 Z
  1397. ; Default: none; E8 r! x" J3 E! Z& Z
  1398. ;sybct.hostname=  I+ _  c5 B3 Y$ \. F+ Y  C) C

  1399. . X! z- h. \* Y* t( I. A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".2 F! o! X- F- D- m$ {
  1401. ; Default: 0
    & H. H; J2 ]. s  E
  1402. ;sybct.deadlock_retry_count=# \7 h# x; U! G# W
  1403. # C7 Q6 a6 j9 b9 l
  1404. [bcmath]
    2 w+ f4 a) f' g8 \9 [" U% b0 ~1 A
  1405. ; Number of decimal digits for all bcmath functions.+ z( }+ z* l+ C2 U. [+ a& @: T
  1406. ; http://php.net/bcmath.scale
    2 O1 H4 v9 j! d! ?
  1407. bcmath.scale = 0' p  H! w* O1 |* d. M

  1408. 5 f. G% B0 g' F
  1409. [browscap]
    : I3 ?) j5 M2 e; V% B; d
  1410. ; http://php.net/browscap: A2 I$ W% v" m+ A. }
  1411. ;browscap = extra/browscap.ini
    # `: M7 a% x/ B& _  a: V! F

  1412. ( |4 n$ Y* v( g# W7 K/ M
  1413. [Session]
    9 e: K6 S* z4 _4 U  v  ?
  1414. ; Handler used to store/retrieve data.7 A; d' v( f/ ^' j  i( n
  1415. ; http://php.net/session.save-handler- s3 ]# r( d$ a# J  U' J+ w6 Y: \
  1416. session.save_handler = files
    0 S7 d7 @" `' B8 H/ W

  1417. 7 C; l8 N8 B. c2 h& @4 m$ J
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    ( y- g( _% o# ^( n6 ]: W8 v0 v! N
  1419. ; where data files are stored. Note: Windows users have to change this/ A: f) v, Z- [* C' a/ {7 ~1 x+ E& n4 D
  1420. ; variable in order to use PHP's session functions.& U7 H+ ?' `, O# q; }
  1421. ;8 Y9 l% o" T+ r) D" M" d
  1422. ; The path can be defined as:! c5 a# ?7 P* Z
  1423. ;
    & F& k. \5 F1 }- K# z- J! ]7 i
  1424. ;     session.save_path = "N;/path"
    % q1 [7 L- d* H4 ?$ o2 [1 p
  1425. ;
    3 z. E- r! Q  v' `* ]$ t
  1426. ; where N is an integer.  Instead of storing all the session files in9 I0 t& R4 f( R, H2 g) n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    9 `# B2 N. p6 [3 ]+ y+ x8 |
  1428. ; store the session data in those directories.  This is useful if
    ' @, N5 Y7 u8 v, Q; o# g1 a* b; [
  1429. ; your OS has problems with many files in one directory, and is- D6 D/ r4 F7 l/ \6 s) F
  1430. ; a more efficient layout for servers that handle many sessions.5 l, a3 I: ~/ a" y
  1431. ;  p* b3 R$ [* c$ i
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    6 k# \. m; l! w& U- O- c9 `
  1433. ;         You can use the script in the ext/session dir for that purpose.6 B/ j0 `1 L! r1 u3 J
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' M5 p9 _+ N6 U: g0 S
  1435. ;         use subdirectories for session storage
    0 E8 B( v  H5 F
  1436. ;5 W; [% E2 M) Y! s7 b+ A
  1437. ; The file storage module creates files using mode 600 by default.2 Z- D, P( j$ y" K. T( ?- F
  1438. ; You can change that by using& ]5 Z' V+ X, ?# {1 \( s1 k
  1439. ;- h2 J" G# i0 L
  1440. ;     session.save_path = "N;MODE;/path"
    - V6 f: ?: O) o+ m9 p, ^
  1441. ;8 ^$ j1 K/ j  S* R7 o  R
  1442. ; where MODE is the octal representation of the mode. Note that this
      h% s$ G; j  I+ w0 }
  1443. ; does not overwrite the process's umask.! ?2 s: ^; K2 C1 l5 }
  1444. ; http://php.net/session.save-path! }, `+ S1 s- V
  1445. ;session.save_path = "/tmp"1 R4 W* V! L% ]/ e

  1446. 3 q% R& \1 [3 h7 r1 V0 u/ _
  1447. ; Whether to use strict session mode.
    1 Q9 K- R8 g, u3 K6 @2 o
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate0 Z- L$ Z9 ~$ U  V8 K
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    0 l* ?4 V$ `# Y
  1450. ; applications from session fixation via session adoption vulnerability. It is: }. o4 v6 i6 q2 S
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    3 k  ?4 c! F$ s. v" H& j
  1452. ; https://wiki.php.net/rfc/strict_sessions4 {( U$ s5 Z, Y4 Z
  1453. session.use_strict_mode = 0
    ; L' J5 g& k& q! U
  1454. / u. }& o5 X3 M7 ]/ l
  1455. ; Whether to use cookies.4 i4 c- m' g, v7 K# I  H) _9 R3 y& s
  1456. ; http://php.net/session.use-cookies
    ) B# R6 i, Y: G$ p( D- ~. K; e
  1457. session.use_cookies = 1. c( D, k& i0 {+ a+ ~8 N
  1458. . w& b* S- h) x* N
  1459. ; http://php.net/session.cookie-secure
    $ f: N/ C' Z6 {
  1460. ;session.cookie_secure =% I- [4 {3 s+ z9 V1 d* K" }

  1461. 3 j4 W  ]7 _7 b: M  ]
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining% O0 N9 Y+ y' u! n
  1463. ; the session id. We encourage this operation as it's very helpful in combating, k/ S; m- i* _& P( i( ?
  1464. ; session hijacking when not specifying and managing your own session id. It is
    1 s7 J# k+ D: L9 l5 j1 z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.( K4 Y  t  m* f: ~
  1466. ; http://php.net/session.use-only-cookies# \8 J! b3 w. _9 w
  1467. session.use_only_cookies = 1
    3 Y, n" b" V9 L) \) h0 ?4 y% _, n. M

  1468. 8 @7 Y' V: W4 m! c" c) P3 ^0 s+ O( ~
  1469. ; Name of the session (used as cookie name).
    9 s# y6 h  c: S
  1470. ; http://php.net/session.name7 b) d% K: t1 Z: a1 n% J) U- ~+ \
  1471. session.name = PHPSESSID
    : k4 S; ]4 A: \, ]$ y
  1472. 8 B- n; h. \2 b4 S1 X$ r
  1473. ; Initialize session on request startup.
    ( J: ~' X7 \' M" I( C  x! J8 l
  1474. ; http://php.net/session.auto-start
    0 j- C- n  v4 e" @
  1475. session.auto_start = 0* h9 r" {! v6 V6 |+ U7 p

  1476. 8 P- y2 F4 _& N& l& k5 F4 n- U0 k
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * Z, E  z1 C7 a8 r
  1478. ; http://php.net/session.cookie-lifetime
    % o7 v: ^5 T& l' V8 P
  1479. session.cookie_lifetime = 0
    8 L2 n  @( v# c7 n/ h

  1480. 8 _, q' O1 O7 `$ h7 C
  1481. ; The path for which the cookie is valid.& a- E0 V) Q7 X( m7 s, s$ x" H
  1482. ; http://php.net/session.cookie-path  z+ m; b: E4 E5 J+ O& T" `! R: ?
  1483. session.cookie_path = /, q" n$ S! k) |  R8 M

  1484. 8 t  c( d/ @, f8 P* U
  1485. ; The domain for which the cookie is valid.. P- C9 S6 q' A* @
  1486. ; http://php.net/session.cookie-domain
    4 X! Z% C9 j0 [
  1487. session.cookie_domain =
    ' E) G( k# |. q2 t4 w' h: K$ w7 P
  1488. 4 O3 t9 }- M+ P3 g7 g) b# @
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    $ l1 m/ D. u1 C3 B! r
  1490. ; http://php.net/session.cookie-httponly0 Y: o4 R! b) Z. u: ?! U8 G
  1491. session.cookie_httponly =* t- y7 ^$ N/ K7 p& D: K: B+ k

  1492. / O; B9 P7 S( f2 d8 ]% w
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    - ?6 G7 G! m& G, h9 K" S8 ~* J
  1494. ; http://php.net/session.serialize-handler
    " {. `" }. M/ e/ V% G
  1495. session.serialize_handler = php
    5 V/ z& ~" `1 [; \
  1496. . i2 X* U1 l) ]* S3 c% u% s- B  v
  1497. ; Defines the probability that the 'garbage collection' process is started
    , N6 V( {  S' q
  1498. ; on every session initialization. The probability is calculated by using; c* z7 d3 g2 l# p9 h$ ]
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ; Z) F) v% L. L" [2 g& E
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    : [8 L5 z# P* _
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" B2 C: h# Z( ]/ [; }# |+ d, e* s
  1502. ; the gc will run on any give request.$ A0 ~; u* ]2 v
  1503. ; Default Value: 1. a3 X$ c. v6 t, o; ~/ e  q% y
  1504. ; Development Value: 1
    7 Y7 @9 T' I3 J# S3 x8 B4 r) y
  1505. ; Production Value: 1
    ( @  ~3 K& S1 L
  1506. ; http://php.net/session.gc-probability9 o% }1 _2 I& y# B7 L4 V
  1507. session.gc_probability = 1
    8 I8 k+ T, C, ^3 [
  1508. + B+ |$ L- H/ {
  1509. ; Defines the probability that the 'garbage collection' process is started on every" J0 ^+ R3 U" s0 d: e
  1510. ; session initialization. The probability is calculated by using the following equation:
    8 W3 a6 l5 b, ~5 F0 v+ {9 r
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 |; G4 r% U6 X7 O
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 10 u5 U  f8 Y  E% U% g
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 @# i& w0 Q% }, z1 l3 ]+ q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you8 ^- }+ v6 j( |4 k
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ _. N2 ]  N' D. _1 o" V1 |
  1516. ; this is a more efficient approach.! z8 x, |; o! k
  1517. ; Default Value: 100) F3 q% F. j4 I& s5 X! R/ ]$ E
  1518. ; Development Value: 10006 U8 A  u6 T1 X) C* ?( }' k$ |1 l) O6 G
  1519. ; Production Value: 1000: I) Q4 O4 L8 t" u8 T) n3 ^
  1520. ; http://php.net/session.gc-divisor% `! y  s4 w% q: g
  1521. session.gc_divisor = 1000
    2 r. Z. ]4 X$ ^5 h* k1 n& t
  1522. ( v4 ^8 O( v- F
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    - |% _( M* H5 ]0 V7 Y  i; N
  1524. ; cleaned up by the garbage collection process.3 q+ [, b; l7 z0 m5 I$ Q( ]
  1525. ; http://php.net/session.gc-maxlifetime  ]' T4 l, _, {; [
  1526. session.gc_maxlifetime = 1440
    % v' v. G  {; k2 @+ j" n
  1527. # U0 g; |% Z# U9 I+ x' a
  1528. ; NOTE: If you are using the subdirectory option for storing session files5 E- y9 T! x- R6 P% Y4 _5 I# D
  1529. ;       (see session.save_path above), then garbage collection does *not*. P/ W3 J- D3 u$ `0 m3 F
  1530. ;       happen automatically.  You will need to do your own garbage* e- r/ g8 K9 i! |& Z' ], b6 t! @
  1531. ;       collection through a shell script, cron entry, or some other method.
    - E  ?' q" n/ _; A
  1532. ;       For example, the following script would is the equivalent of% P: X( F5 k8 s9 ^0 R! o) h
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, {; r; i8 _# d9 V7 D
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  C% Q" Y4 p3 ~

  1535. % w' i# q/ ?( \) g
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & C+ n1 D) [2 ?1 ~0 e
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 R# v2 w! m4 ]5 }' E# k( O' a
  1538. ; considered as valid.$ U* y. X" [# A8 e9 t# g" `
  1539. ; http://php.net/session.referer-check3 @- y( ?* @, N1 k% R
  1540. session.referer_check =
    - y% @& F3 u. U3 k

  1541. + S+ `% m1 \2 Y/ w  l7 Y2 r, a
  1542. ; How many bytes to read from the file.+ }$ V- S& J4 k1 J" c3 ~
  1543. ; http://php.net/session.entropy-length4 d/ y9 _- ?8 y& E* ~6 J
  1544. ;session.entropy_length = 328 l) _- ~0 ]6 q1 r3 i) S. x

  1545.   E: L0 `, }' c# i
  1546. ; Specified here to create the session id.
    # S  v3 t0 T" b, n2 T
  1547. ; http://php.net/session.entropy-file* b: f' [" T( ?7 S
  1548. ; Defaults to /dev/urandom
    2 Q" ~+ U7 {$ I6 V) \3 @; N
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" D3 H" ?( ?, U) J, _
  1550. ; If neither are found at compile time, the default is no entropy file.
    6 M, Z8 t/ B7 N
  1551. ; On windows, setting the entropy_length setting will activate the! ~- E9 U" f8 ]
  1552. ; Windows random source (using the CryptoAPI)
    ' Q, C9 Y9 z( ?$ q
  1553. ;session.entropy_file = /dev/urandom) `; i' T3 R% j

  1554. $ f' P& z  H; A
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) T# M' v; n/ q# w1 W) L
  1556. ; or leave this empty to avoid sending anti-caching headers.
    / B; y+ ?- |3 e9 {' M0 i- s4 v
  1557. ; http://php.net/session.cache-limiter5 A, p1 v( I' x) M2 ], Y, s
  1558. session.cache_limiter = nocache) Z9 O% l( m) v+ e8 m) o

  1559. / I, S: m0 R2 ]* }
  1560. ; Document expires after n minutes.
    1 I) |1 U1 i, H& `( L
  1561. ; http://php.net/session.cache-expire+ g# X  @* w' }# F/ p4 w
  1562. session.cache_expire = 180
    " o: M* j3 n2 g6 P

  1563.   @2 X5 M1 \: u4 O% G& N, A
  1564. ; trans sid support is disabled by default.0 a3 B6 k7 A% y
  1565. ; Use of trans sid may risk your users' security.
    " v, @* @# f6 t! L; l4 c
  1566. ; Use this option with caution.* ~5 j  C, y2 @( s- u
  1567. ; - User may send URL contains active session ID
    : M. w! Y; _! R( {4 Q3 I1 @2 u
  1568. ;   to other person via. email/irc/etc.; \0 Z$ X: m  F5 E  J
  1569. ; - URL that contains active session ID may be stored
    , @9 g" E+ j! w3 M
  1570. ;   in publicly accessible computer.
    + ^5 u$ _# N: z' k
  1571. ; - User may access your site with the same session ID
    ) M! |/ H4 j& B9 `& ~( V
  1572. ;   always using URL stored in browser's history or bookmarks.: C/ O5 z" f1 ^2 a1 b0 ~: D
  1573. ; http://php.net/session.use-trans-sid
    ' B4 m7 p$ o1 @1 V/ O! N: T
  1574. session.use_trans_sid = 0  ^! w6 l  ]: k6 b
  1575. - v. O- v& J9 P0 W( A2 E: \
  1576. ; Select a hash function for use in generating session ids.6 y" m6 k) |& ?
  1577. ; Possible Values1 s1 H5 z5 i! T4 w; C; x2 X
  1578. ;   0  (MD5 128 bits)
    3 `- Z; L( r% o( E. q
  1579. ;   1  (SHA-1 160 bits)
    $ N4 H. U& X8 \9 ]7 R
  1580. ; This option may also be set to the name of any hash function supported by
    * F0 v$ ]6 F$ P  J8 ]' p
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()( G& A' e1 \2 ]) m" n1 B- P
  1582. ; function." e/ |# h* r: y- |6 Z
  1583. ; http://php.net/session.hash-function
    3 H- h" `, u' S$ E0 a7 R
  1584. session.hash_function = 0
    . B% u* Y+ {4 k7 ~
  1585.   a7 h1 ]  N" \/ K# T- |" A3 f: V, R
  1586. ; Define how many bits are stored in each character when converting
    " o5 u5 c1 U. Z8 Y
  1587. ; the binary hash data to something readable.
      |4 s- S" d* n$ V
  1588. ; Possible values:
    2 q1 w. f% `1 K: ~: t2 ~
  1589. ;   4  (4 bits: 0-9, a-f)# J- q( ~- v( m$ _; ?0 |! t
  1590. ;   5  (5 bits: 0-9, a-v)
    8 [9 \, ]7 Q  u7 e9 k
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" k3 @/ |7 Z, m! `# v- S
  1592. ; Default Value: 4
    & N: t+ q* C( Y2 r, _& C* f
  1593. ; Development Value: 5
    6 h0 _8 l" |& K6 I9 t
  1594. ; Production Value: 5! j, a: g7 h) u$ A, z
  1595. ; http://php.net/session.hash-bits-per-character* I5 y) ^$ p' t0 G- c1 ^
  1596. session.hash_bits_per_character = 5
    7 H5 X1 J+ m* c
  1597. 3 H, M& c. Q9 h* ]
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.; |9 C6 G6 Z) e; U1 y4 r- d
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    7 ?1 `7 \: x" N( K! r
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 S: r4 v  b: R' i1 G) J% d4 M/ y
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.( \3 z: S* O6 ^' W& W' ]
  1602. ; Note that all valid entries require a "=", even if no value follows.& z- m. G  W- z. y0 j0 O
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 \: l3 t; |! }- q
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ p: d% x# e" |/ |. G; O1 ?2 [
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") F6 d- C9 _1 d6 a
  1606. ; http://php.net/url-rewriter.tags: p3 D7 H* P% x% g& V4 s
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' D" [0 M$ n' G* w
  1608. + C$ ~/ w* }# P! d, j5 k
  1609. ; Enable upload progress tracking in $_SESSION8 M7 W! y7 V1 N) R, ~: m
  1610. ; Default Value: On
    ! ^. F6 I+ n3 u1 w7 r' z( v  c
  1611. ; Development Value: On& I9 Z5 I* p# g) M2 X
  1612. ; Production Value: On. u5 N  K5 `: ?
  1613. ; http://php.net/session.upload-progress.enabled3 f6 V6 k: P) E) ]9 c
  1614. ;session.upload_progress.enabled = On
    ( [& |, B/ s0 \/ x& ?8 @9 V

  1615. ( h. Z+ D5 u! K1 {. d$ }# R
  1616. ; Cleanup the progress information as soon as all POST data has been read% Q3 Q4 L: @+ ~6 w
  1617. ; (i.e. upload completed).7 }' ^! B, n4 U2 }! t# W' t0 Z& [/ y4 R
  1618. ; Default Value: On0 u# N8 M9 I! M$ a
  1619. ; Development Value: On% c5 P$ E  D$ H( o3 E
  1620. ; Production Value: On
    7 I& A- c& a2 Z  @, u! g# f
  1621. ; http://php.net/session.upload-progress.cleanup
    : E: I( Z" K4 w( V9 D* ^! }
  1622. ;session.upload_progress.cleanup = On' o5 u) t% E8 i1 C& u) o3 p3 f

  1623. 9 i' V: y. h5 K- v% g; ?
  1624. ; A prefix used for the upload progress key in $_SESSION
    6 |; v3 x# }9 @: l0 j( F
  1625. ; Default Value: "upload_progress_"
    0 V& t) [9 r" T$ R4 k2 K: c2 v
  1626. ; Development Value: "upload_progress_"  _' {& M( S1 D1 _$ l2 u
  1627. ; Production Value: "upload_progress_"9 G( M. e0 [3 S& F+ R1 t9 I9 l% W, K1 ~3 T
  1628. ; http://php.net/session.upload-progress.prefix* z1 O- t: C' E# L" d
  1629. ;session.upload_progress.prefix = "upload_progress_"
    . u0 J/ |+ q/ M8 L6 I7 x" N
  1630. - V4 X& j5 j5 S7 I* e5 r+ z
  1631. ; The index name (concatenated with the prefix) in $_SESSION: M4 Q3 g0 W: }, J
  1632. ; containing the upload progress information
    / z, R3 F# G6 V2 b
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") E. k4 Q5 p: q# H
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 x# j* k% C/ f9 b, _0 G
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + d8 X8 ], t% Z% y% ]9 L
  1636. ; http://php.net/session.upload-progress.name
    3 b5 G$ J" j3 Q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * O1 d( T6 O9 e; r/ O

  1638. 2 l% {: G9 X/ z1 I/ \
  1639. ; How frequently the upload progress should be updated.0 o9 R' o$ `% T: W! ~3 r! {
  1640. ; Given either in percentages (per-file), or in bytes3 J  x1 d6 R- m% w& r
  1641. ; Default Value: "1%"# L# L) Y2 J: A3 J/ |! j
  1642. ; Development Value: "1%"+ c( p$ s2 ]$ s9 Z9 J' l) x2 C* y
  1643. ; Production Value: "1%"
    0 x$ |1 G: f) X3 N
  1644. ; http://php.net/session.upload-progress.freq
    8 U9 V$ k9 X5 H6 N+ H+ c. b# g
  1645. ;session.upload_progress.freq =  "1%"
    % _( j6 Y( ^# C: Q+ B

  1646. & X3 d" G+ ]6 y5 N# v* ^. w
  1647. ; The minimum delay between updates, in seconds7 J4 w- B5 q* D  T: w" O# F
  1648. ; Default Value: 14 B3 m% ^' R, C/ ?$ k/ z) u
  1649. ; Development Value: 1
    " K8 s6 R1 J5 @7 A% ?; D; m
  1650. ; Production Value: 1" d$ G2 {* l3 E  m; |, U( {2 M
  1651. ; http://php.net/session.upload-progress.min-freq
    ; V8 n( U, B: ]7 S
  1652. ;session.upload_progress.min_freq = "1"
    3 s: g1 `8 r+ b0 D+ j
  1653. 7 f) g4 v. b9 Q. s+ _
  1654. [MSSQL]" v& ~! B& _# ^' P2 y+ ^
  1655. ; Allow or prevent persistent links.
    $ ~  L( M  {# j
  1656. mssql.allow_persistent = On. g& A; Y: x5 ^# g/ E5 r
  1657. 1 ?7 O4 x+ Q6 o9 _
  1658. ; Maximum number of persistent links.  -1 means no limit.
    ; B1 E, X: }0 y" p- j2 F3 x) A6 r7 s
  1659. mssql.max_persistent = -1
    0 `1 M, o. s! F+ J! g
  1660. 3 Z6 b! o# c$ t' c0 l, ]- @
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # T4 `7 a. ^& Z+ H+ m6 k* @! f
  1662. mssql.max_links = -1+ e  w$ {! p! @0 T
  1663. , s5 _" A( ?% W- [! A& Z* B
  1664. ; Minimum error severity to display.7 |2 E8 v; s4 L5 S; d& O) g# s
  1665. mssql.min_error_severity = 10
    8 v4 x/ W# k1 r

  1666. 5 \$ `) r3 B  H& G4 k0 f
  1667. ; Minimum message severity to display.; i3 K" E7 ~& _9 a5 Y9 ^8 D% q
  1668. mssql.min_message_severity = 10
    3 B) i7 c) N# A9 M2 O

  1669. + V: P, |) u# |3 @/ J
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ; G( s' J! O! Y3 G7 `+ U
  1671. mssql.compatibility_mode = Off
    , B, b( I. A9 `- _0 s

  1672. * T- N/ z5 N5 E6 S2 a
  1673. ; Connect timeout
    5 F6 w: H7 e- H8 N# `$ t8 m3 M8 @
  1674. ;mssql.connect_timeout = 5
    & g% r  t, H" Q% e# c$ v
  1675. 3 b; |5 i4 P. k% Q! I
  1676. ; Query timeout
    # G5 ]" r9 @7 M# \& T6 P: c
  1677. ;mssql.timeout = 60
    2 l  K6 H7 j4 Q$ u+ t& g
  1678. 6 s0 r$ b8 n$ c
  1679. ; Valid range 0 - 2147483647.  Default = 4096./ d& ^" H* {, a# L) E( V
  1680. ;mssql.textlimit = 4096
    0 \8 _- m0 ?; x
  1681.   e$ J/ x" g5 t! t* A
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    4 {! x2 k" q  O- T. A8 N3 X
  1683. ;mssql.textsize = 4096( n3 A5 G7 x7 z4 X

  1684. 9 j* G* M% e1 d! ~- ]$ V
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.: B5 T3 y: P$ d% Y# O+ B
  1686. ;mssql.batchsize = 0% U0 r* r2 Y& o* `1 x9 x' j- A$ B9 o

  1687. . z& W/ c1 X: D
  1688. ; Specify how datetime and datetim4 columns are returned
    ; G4 }# X6 w$ z8 q9 v0 ?2 {8 Q
  1689. ; On => Returns data converted to SQL server settings' o, C2 w& U2 T5 U& L' ]$ H9 Y+ M
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    2 g$ l' L' h% j) x! Q
  1691. ;mssql.datetimeconvert = On
    . L7 P) p1 w8 C

  1692. $ w: e# k6 @8 b
  1693. ; Use NT authentication when connecting to the server
    * {/ R; ^) `, L, r! X+ J
  1694. mssql.secure_connection = Off* P/ y4 r: _, i, u9 |

  1695. ' k+ j+ y9 `- v& M7 K- q0 v
  1696. ; Specify max number of processes. -1 = library default
    ' E4 z8 \1 [8 E
  1697. ; msdlib defaults to 25
    . |$ c/ C# q) V. N- M5 v# y
  1698. ; FreeTDS defaults to 4096
    4 y3 I& {/ {# c1 j( ^
  1699. ;mssql.max_procs = -1! l! S5 {0 h, R+ y  w6 Q4 k; l
  1700. $ @& M7 r5 O* h/ ?6 J
  1701. ; Specify client character set.$ X$ n, F+ s# C, g7 j
  1702. ; If empty or not set the client charset from freetds.conf is used
    * r, I8 k1 T& Y6 m
  1703. ; This is only used when compiled with FreeTDS7 B9 L. I8 Q" B  r& |- I# C
  1704. ;mssql.charset = "ISO-8859-1"
    ( h3 P6 [+ V  C$ S, c

  1705. * ]( R/ K6 x3 w% G. d0 Y& }
  1706. [Assertion]! x- u9 X4 ~8 c3 q  \5 C' c9 s
  1707. ; Assert(expr); active by default.0 G! B; N# V5 d: R8 P
  1708. ; http://php.net/assert.active2 U/ ]! s2 v9 e, W5 e
  1709. ;assert.active = On& g1 c  U8 H& X$ s( R+ R
  1710. 3 u! i( z$ U. ~4 @2 D" K
  1711. ; Issue a PHP warning for each failed assertion." r2 s0 @5 \6 S  h* ]
  1712. ; http://php.net/assert.warning! ^1 U- }3 z4 I  J9 n2 s/ p4 `
  1713. ;assert.warning = On' z  d+ {$ j1 A! K: n! k4 b, M

  1714. ' N$ f* x6 m8 o( X4 \9 Y. U
  1715. ; Don't bail out by default.7 A; a) t6 m* X( k
  1716. ; http://php.net/assert.bail
    . ^8 ]% D% e  q* D" ~
  1717. ;assert.bail = Off
    ! w6 c5 z- a, F) P
  1718. ' @/ f: g2 ]( V  k% ?  C  J
  1719. ; User-function to be called if an assertion fails.$ Q7 X6 t; Z# r5 m5 g4 J, x
  1720. ; http://php.net/assert.callback4 j; M% [- _# r2 H+ v  C$ k  v
  1721. ;assert.callback = 0* R* u( A" ?8 o& f
  1722. - W7 \' w% X; V
  1723. ; Eval the expression with current error_reporting().  Set to true if you want0 h1 a1 ?4 H! c' X
  1724. ; error_reporting(0) around the eval().
    , }$ H0 I7 L: O1 M+ n* h
  1725. ; http://php.net/assert.quiet-eval
    ; v! U  g! T1 Q2 {* V* H, a
  1726. ;assert.quiet_eval = 0
    6 C9 w4 P% U# f& G

  1727. % s) X/ @" w2 Z2 f5 C
  1728. [COM]
    * E6 U4 i! f- \6 M: `9 n& z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, s) Z) H; h$ C* _$ ~4 x3 s0 O
  1730. ; http://php.net/com.typelib-file
    / i" I& W+ q8 r( X: Y: w8 C' @
  1731. ;com.typelib_file =/ F3 {4 f" [6 A& Q) Z* A' Z! I

  1732. , m: s: i! l) i+ Y$ E' E8 _6 Z
  1733. ; allow Distributed-COM calls7 J& `4 @' J! C
  1734. ; http://php.net/com.allow-dcom& M0 n  s+ x# k
  1735. ;com.allow_dcom = true
    $ v: Z$ E9 t; `3 K, y: q) B( q
  1736. 5 S4 k2 u4 n" C6 [
  1737. ; autoregister constants of a components typlib on com_load(): d3 B# S; e/ Q4 M$ C
  1738. ; http://php.net/com.autoregister-typelib
    % L" t$ G9 O! N9 A1 s  ], F3 c' X: l
  1739. ;com.autoregister_typelib = true
    " J0 f$ Z' R, E7 b

  1740. 3 `. A' X' X5 N1 R$ l, M% D
  1741. ; register constants casesensitive
    ' B( q3 U* ?2 V
  1742. ; http://php.net/com.autoregister-casesensitive
    8 R8 ^: _, k- n- |! _1 R
  1743. ;com.autoregister_casesensitive = false
    ( [6 w3 B# |+ B/ o) Q! f3 a- ]# A
  1744. : m. a+ t2 q' U9 V4 G+ |
  1745. ; show warnings on duplicate constant registrations% c* K" V3 e: I0 [5 |! W; F& v
  1746. ; http://php.net/com.autoregister-verbose  W2 k: l3 [1 r; G- m  V9 N
  1747. ;com.autoregister_verbose = true9 V( g# k8 c3 Q9 W# A
  1748. & x7 U" h) n/ Q, ]3 S
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ; N3 ^' x. Y) |" e$ [8 c
  1750. ; Default: system ANSI code page; G: o* w  c5 a6 r6 n
  1751. ;com.code_page=
    ) p& H$ ~/ k0 @' z# V$ N2 H
  1752. . u; ?9 k5 h( L1 }
  1753. [mbstring]* \9 `9 K+ K2 B
  1754. ; language for internal character representation.
    * h2 h+ _7 N5 Q6 O- l5 r7 V
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    / Q9 q! ~9 T) x5 u) C
  1756. ; http://php.net/mbstring.language+ x) y" l# q/ _6 ?8 {/ q8 V7 K! \
  1757. ;mbstring.language = Japanese0 S& ^" O2 B8 F2 {8 R: K
  1758. + c/ [% e; \4 p# |( W; i" {7 Q5 b
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead., q* B5 [3 h% ~& u+ @  Q: Q2 z
  1760. ; internal/script encoding.3 _  W  g9 e4 p) [
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*). i' e8 y, v6 w
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ I9 z! Q& M8 A9 N7 P; r, U
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ; s9 z- M/ x: T( @* v. [* x$ S
  1764. ;mbstring.internal_encoding =
    3 Y  D) Z3 |( g, `7 i
  1765. & W6 H% Z& A5 A! s* E3 y; d4 P
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ G0 W& Z9 v3 @. \
  1767. ; http input encoding.
    9 H, _. l* C* W5 s
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 U0 d& H1 \1 d( j
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
      }) Q8 Q: |9 R* V) X9 z/ J
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * O2 j: E0 }* i2 X% T$ F1 j! n
  1771. ; http://php.net/mbstring.http-input
    0 |9 }$ P3 ^* G5 P4 d" H/ M& J" t
  1772. ;mbstring.http_input =- i0 W8 G4 ]4 ~
  1773. 3 q6 o$ |% ?% q5 \# z
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 Y- J2 {5 M9 \' b+ G, e' s
  1775. ; http output encoding.
    ; g: [9 M3 u4 Q! A- ?
  1776. ; mb_output_handler must be registered as output buffer to function.' Z$ N& y2 E4 v. |$ p. s
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    5 g& {; t# y% [2 h! Z% ]
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ ]% N/ d/ f$ _# B0 S
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    * l. J, K9 Z% J' Z5 t* K/ ~( ]! Y0 }
  1780. ; otherwise output encoding conversion cannot be performed.
    # Z7 S4 B/ m9 G& W3 y# H
  1781. ; http://php.net/mbstring.http-output
    & g! i- I( O) I: B, C4 y) k
  1782. ;mbstring.http_output =
    , V/ s" u" @% d- D6 O

  1783. ( C5 S8 p2 S: b
  1784. ; enable automatic encoding translation according to" @3 i, a' J7 ?- @
  1785. ; mbstring.internal_encoding setting. Input chars are
    $ ~( R5 |7 z9 g% P0 r$ [/ l
  1786. ; converted to internal encoding by setting this to On.) e5 E( y$ J' l& E& Q" k0 n6 P
  1787. ; Note: Do _not_ use automatic encoding translation for4 F9 s% P% g7 N" Y
  1788. ;       portable libs/applications.
      ^. ]. P( H0 n% k- p; k
  1789. ; http://php.net/mbstring.encoding-translation
    4 s/ @& h* I# ~$ ]! M4 N7 k1 h, X
  1790. ;mbstring.encoding_translation = Off+ H& G5 f7 U2 f* P
  1791. * B% y$ h$ c' F3 \
  1792. ; automatic encoding detection order.$ o( J6 l# H; f7 Z
  1793. ; "auto" detect order is changed according to mbstring.language
    4 w0 b) A3 k0 J2 ?1 o+ j
  1794. ; http://php.net/mbstring.detect-order& f. v6 i4 _* y! Z
  1795. ;mbstring.detect_order = auto
    % G% ~% X( O4 D$ {  Z
  1796. 7 M0 w5 i7 S, w) F
  1797. ; substitute_character used when character cannot be converted
    + a; X! w5 l, z* v! G% H6 z
  1798. ; one from another8 d( l0 @+ ^7 K0 B5 Z: _1 ?  D5 h
  1799. ; http://php.net/mbstring.substitute-character& ]2 L/ N5 y6 [. s# X& A) f  L
  1800. ;mbstring.substitute_character = none
    8 z1 X- @) r3 Y# v+ ^1 G( y+ A
  1801. 3 R$ P( t/ c; `( r# k
  1802. ; overload(replace) single byte functions by mbstring functions.% J/ K% p( n6 p' e) {" a* N
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),: z, F8 u& g1 `
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + w# a+ @9 t3 I0 T) H, D; x
  1805. ; For example, 7 for overload everything.
    1 u1 k/ B+ g( ]& u3 h% e( T3 X3 K
  1806. ; 0: No overload
    ; n& L: a- R3 J9 `0 [3 i
  1807. ; 1: Overload mail() function
    8 D) l+ U' ?( C: P' U, |
  1808. ; 2: Overload str*() functions# ~) D* r6 x, Q) A5 p' n% m
  1809. ; 4: Overload ereg*() functions: D& t- n/ O3 T5 {
  1810. ; http://php.net/mbstring.func-overload
    # V5 ?  i# R8 t3 j9 R  y# O
  1811. ;mbstring.func_overload = 0
    / P# I- ~+ z9 ~% D7 n! V7 G
  1812. 1 g9 j) q* k$ M' h3 b
  1813. ; enable strict encoding detection.4 `! N$ I+ Q& D5 o% o" x
  1814. ; Default: Off
    2 n( B7 k$ x4 J6 F% Z3 K9 R: q) y3 m
  1815. ;mbstring.strict_detection = On' |: \  p7 _$ p7 c
  1816.   F, l! ]2 |5 [! a, u
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 B5 ]- s( t( Y# t
  1818. ; is activated.
      r7 E1 I- f  C( y& U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ( `) K6 h2 p$ f$ G  I# U
  1820. ;mbstring.http_output_conv_mimetype=
    8 a* L  ^& |% ]% O1 u* p

  1821. ; ?! U: M- E  w
  1822. [gd]3 x/ R/ P; G# H7 c9 y
  1823. ; Tell the jpeg decode to ignore warnings and try to create" U3 L+ h* o3 j8 L% E+ @" ~( M5 l6 R
  1824. ; a gd image. The warning will then be displayed as notices
    * ^. d3 |! o+ w1 o
  1825. ; disabled by default( f9 [1 H' O3 s8 {) P
  1826. ; http://php.net/gd.jpeg-ignore-warning
    4 p' M2 t. t9 ~( e1 L- l& e
  1827. ;gd.jpeg_ignore_warning = 0+ f9 q* A0 X& S% R
  1828. * `3 ]* t+ N' t. |9 n3 t8 R9 }
  1829. [exif]2 j" L- n% b9 W* w) M7 y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% ^. |0 k) Q2 a* s# v7 q& \
  1831. ; With mbstring support this will automatically be converted into the encoding, i& i6 Q1 ~0 P. I3 h; Q. D/ S" A
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding! Y5 K5 W% K7 B, E9 ^& v5 y9 Q( M
  1833. ; is used. For the decode settings you can distinguish between motorola and
    3 H2 m' D6 s& c& \
  1834. ; intel byte order. A decode setting cannot be empty.
    * S( X+ I9 e- M* ~: w+ M
  1835. ; http://php.net/exif.encode-unicode
    5 F4 ~7 C9 G- n; Z
  1836. ;exif.encode_unicode = ISO-8859-15
    , y* ]3 t1 q/ e* W) f
  1837. # k5 `1 D$ k* m+ Q" O
  1838. ; http://php.net/exif.decode-unicode-motorola, ^% }0 s$ k7 s9 Z- O, m  a- f
  1839. ;exif.decode_unicode_motorola = UCS-2BE% B4 `# L. u# F. \1 |
  1840. 9 J+ r* c2 T# S7 z2 C1 A, p! e0 I
  1841. ; http://php.net/exif.decode-unicode-intel7 c( @/ ~( X* t9 @" ~2 M$ n) y! O
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ) h; a4 Y  Q# l' |5 }

  1843. + G6 r7 K' l1 ^& a1 g" Q
  1844. ; http://php.net/exif.encode-jis
    ! r7 S$ V# y" ?( L7 w8 ~& V8 z- S
  1845. ;exif.encode_jis =) j4 G9 y# l" ]) d4 t: G# w; G
  1846. 5 {8 h; J! z. ^$ A, o8 p
  1847. ; http://php.net/exif.decode-jis-motorola9 q0 L& {# c. C5 i' h! S2 `3 o- @
  1848. ;exif.decode_jis_motorola = JIS
    3 C4 S9 `+ y" J  h+ M8 s- G

  1849. 9 v- G6 Y8 Y) N  `! x
  1850. ; http://php.net/exif.decode-jis-intel. u' w; h: \  R7 F' ~6 ?
  1851. ;exif.decode_jis_intel    = JIS
    & b) E/ O& H/ H/ \

  1852. 4 b) j# j- L7 {9 |
  1853. [Tidy]
    & U' g+ J! c6 B* F- \
  1854. ; The path to a default tidy configuration file to use when using tidy
    5 s+ M6 l- [- w, k7 J0 s
  1855. ; http://php.net/tidy.default-config
    ) x; z$ P1 m0 J1 E8 I
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg: v9 b' G( Q# I

  1857. # ^$ k* N( X( W
  1858. ; Should tidy clean and repair output automatically?0 i+ E& {+ _8 X
  1859. ; WARNING: Do not use this option if you are generating non-html content
    8 j* [% U5 D3 a* W' H1 Y( @
  1860. ; such as dynamic images
    / N, v3 b% u5 ]; w: A
  1861. ; http://php.net/tidy.clean-output
    ( U! ]2 ~* _" d. I
  1862. tidy.clean_output = Off
      J1 x: R+ A. O
  1863. # B1 O, J9 w6 Y  T! m" ]
  1864. [soap]
    8 q6 j3 X6 g+ k7 U) ]
  1865. ; Enables or disables WSDL caching feature.
    2 ]. x& C1 V/ B8 V! o
  1866. ; http://php.net/soap.wsdl-cache-enabled
    * b& m& q7 D' \& o8 O% m& h: z2 I
  1867. soap.wsdl_cache_enabled=1' O/ @( P! v* T( R: r
  1868. $ y! r8 V! L, k' z5 H$ g
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' m1 z  I* m" [  [" e7 x5 B
  1870. ; http://php.net/soap.wsdl-cache-dir
    , I) O0 A1 k. z" R0 E- @& W# T
  1871. soap.wsdl_cache_dir="/tmp"0 E- f, l# _& G  }& h

  1872. , O. e8 z; x1 j
  1873. ; (time to live) Sets the number of second while cached file will be used1 K; _9 L5 o/ c- I6 u
  1874. ; instead of original one.$ {( D. s, E/ F4 C4 l
  1875. ; http://php.net/soap.wsdl-cache-ttl
    4 U& e9 \/ }- e6 u* X( d9 X6 r
  1876. soap.wsdl_cache_ttl=86400& y, S% u$ B% c4 R9 r' a

  1877. 4 j  x- X$ {6 P! x8 e$ a8 E% I
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)" g$ K' e: x! _/ r( m
  1879. soap.wsdl_cache_limit = 5+ h2 f% O* g6 \) @! `+ B" a" X

  1880. ; U/ f+ ~0 ]' A) V% u  T
  1881. [sysvshm]
    $ b& J: V! n6 z1 K
  1882. ; A default size of the shared memory segment
    6 z5 i9 c/ _, S, @+ P1 T) ?
  1883. ;sysvshm.init_mem = 10000) Q6 g# V4 q: ^8 Y
  1884. . f- X& x/ ]  @6 r  Y  K
  1885. [ldap]
    $ m* R- `& K- j) m1 [! A2 S; a" D# m7 m
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    # v5 w$ y/ T  p0 i2 V( t* B
  1887. ldap.max_links = -1" K; w  |6 v( g. e6 a$ l# i

  1888. ) _( z8 Q; z9 F8 a5 T
  1889. [mcrypt]
    6 d: M- V( e+ [7 j3 s
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 L2 f9 S: V& F# m2 _! U

  1891. + B* p  N. x+ w, c4 W1 n( B
  1892. ; Directory where to load mcrypt algorithms. Z# W' R% t0 m* A2 P3 e
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 H; |) [) W6 T6 E' t4 {
  1894. ;mcrypt.algorithms_dir=4 M7 P6 r, Y: `5 N- m

  1895. : |$ J6 n3 E4 `0 p
  1896. ; Directory where to load mcrypt modes
    9 G5 i( W6 {* G; N; x* Q7 _  w, [
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 p6 F* B/ p1 B0 ~, N  `. D/ \6 H/ v
  1898. ;mcrypt.modes_dir=
    $ N+ \1 E/ c( p* P3 ^3 |

  1899. 5 D8 z  s: W! X5 d5 f3 @
  1900. [dba]
    , r* X& U& X/ ~- k
  1901. ;dba.default_handler=
    8 r) Y  j7 ^& ~+ S/ s7 E3 q
  1902. & z) g5 Y) @2 k' {1 J& F7 q
  1903. [opcache]
    ' @6 ?. C' b6 x* b& |
  1904. ; Determines if Zend OPCache is enabled) ?) P4 ], k8 I# g* t
  1905. ;opcache.enable=0
      h( R  h. Q! o+ r" y

  1906. 8 |& b/ v4 m# t: z! R4 e
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 Z1 m8 e" J4 X, L
  1908. ;opcache.enable_cli=0+ K4 O& Z. e" Y3 r: q5 L

  1909. + [7 K% y0 Z) _7 Z  |0 H
  1910. ; The OPcache shared memory storage size.( n0 [8 [5 B4 {2 m( i3 i$ Z  G
  1911. ;opcache.memory_consumption=64
    : W# |5 d: |$ z, G0 x
  1912. 4 T  s6 e7 W4 r
  1913. ; The amount of memory for interned strings in Mbytes.% q; @! e0 ?. @+ z, v6 ~# a# d
  1914. ;opcache.interned_strings_buffer=4
    / {/ O2 c& B, @* m; R
  1915. 1 W2 i% `, }2 r" ^9 P+ f
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.9 M. c1 i4 C6 O' Z2 \5 i
  1917. ; Only numbers between 200 and 100000 are allowed.+ [! h8 @  j& I& h
  1918. ;opcache.max_accelerated_files=2000
    6 A# O3 F; k9 `9 e6 w' h+ p
  1919. 9 m! G2 ~3 ~" l8 t) K; r
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    9 q% i- o5 m/ X* a3 ?0 w# t# r
  1921. ;opcache.max_wasted_percentage=5! T3 v, r- G' ^( M+ e: A0 F

  1922. 6 S. k  R" Q* _0 V. B# D& i- y
  1923. ; When this directive is enabled, the OPcache appends the current working
    8 ?. J% K) {6 b- {
  1924. ; directory to the script key, thus eliminating possible collisions between
    ( K7 P+ W8 O$ U' l( B1 x
  1925. ; files with the same name (basename). Disabling the directive improves
    ) B% B# J2 C1 E+ q% l$ l  x
  1926. ; performance, but may break existing applications.
    3 b/ P3 t- X9 |& ~/ L" f
  1927. ;opcache.use_cwd=1
    7 S' Z+ Q, {1 q- J; X9 H

  1928. * q# O6 f; x5 v) a1 z% k; c$ w
  1929. ; When disabled, you must reset the OPcache manually or restart the
    : Y& W% L0 q4 c& m
  1930. ; webserver for changes to the filesystem to take effect.
    + [0 v& O9 x5 ], q
  1931. ;opcache.validate_timestamps=1
    2 x% m  B) _$ J, D  `
  1932. + P6 U3 R9 S5 d
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    # Z7 V# v% i( P  e9 s, a. H; @
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    / g$ ^' {% E9 |% i) k! R; s0 L
  1935. ; once per request. "0" means always validate)
    ; E! G' H2 _/ u& T  h6 m9 ~
  1936. ;opcache.revalidate_freq=2" D9 S+ Q2 d5 g+ ~( J4 q

  1937. ( m9 o& [5 y, u) [/ _
  1938. ; Enables or disables file search in include_path optimization
    ! H5 `( T- a2 e/ A% {, O4 D! |
  1939. ;opcache.revalidate_path=0
    * T+ h( Y) k# K& {. ]9 j
  1940. ( _: D9 {( r0 I+ K" O
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; i- J: P* m; H3 B7 ?
  1942. ; size of the optimized code.
    ! ^' V& D3 J0 Z( I+ J- S4 I  s) F
  1943. ;opcache.save_comments=15 u4 M' B0 T1 J' Z

  1944. 9 p' j' t+ ^) A2 b2 K0 t- p
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments": W+ B4 v5 P1 P  [$ q/ E" u0 S
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    " u6 @( h- g5 O& g
  1947. ; that don't need them anyway.
    & F: S) V$ t$ J+ s# n# P
  1948. ;opcache.load_comments=1
    5 l4 o: z; r$ f! F8 _* L* F0 Y9 j
  1949. ( b1 T" Y9 s- o) T1 E: O5 ~- `
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code4 y# j- f6 C& ?. Q9 j
  1951. ;opcache.fast_shutdown=0
    : n, {) K1 {/ X! J% P
  1952. 0 T- H$ I2 M: A! `1 p: g
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    $ U8 e4 V& x) l7 Q/ N6 N
  1954. ;opcache.enable_file_override=0
    ) H- b6 M: J  I; ^$ h
  1955.   {) r7 h5 q9 r5 c. M' V
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: Y8 `4 @$ |1 ^, Q2 O4 S
  1957. ; passes  M! `1 y5 y2 M0 n& e& [8 n
  1958. ;opcache.optimization_level=0xffffffff8 q9 T4 I% {5 |
  1959. " r8 T; H6 r1 `) p; h
  1960. ;opcache.inherited_hack=1
    9 n$ W9 {6 m' \4 r8 A& v* R
  1961. ;opcache.dups_fix=0) X; d. Z% T/ }" Z
  1962. . J8 L  j- V$ z
  1963. ; The location of the OPcache blacklist file (wildcards allowed).7 F3 F( v# N4 O% |4 N8 L7 c
  1964. ; Each OPcache blacklist file is a text file that holds the names of files: A7 @* O3 Y; G* x& [( l
  1965. ; that should not be accelerated. The file format is to add each filename# f5 J  \5 I% Z5 k' c) w7 `
  1966. ; to a new line. The filename may be a full path or just a file prefix
    1 w) r# O& O/ g' z- y7 c7 a
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 Y$ s- j, Q+ B; E* K& |& _+ @* W  L3 t
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ Q" q: @- e: A' N* |/ ?
  1969. ;opcache.blacklist_filename=$ ]  i# }3 z: f9 V% Y8 G" U
  1970. # K/ O. {' a1 i6 Y* w! K& b
  1971. ; Allows exclusion of large files from being cached. By default all files1 m( k$ u1 f6 s3 r8 J
  1972. ; are cached.7 x/ I8 C8 A! e
  1973. ;opcache.max_file_size=05 k& `6 \4 C0 M; J

  1974. : A& P. u  C+ D2 M& B8 i* \; }
  1975. ; Check the cache checksum each N requests.4 G) q6 K. V! Z0 L! R8 W. [2 _7 K
  1976. ; The default value of "0" means that the checks are disabled.3 _4 I/ Y1 `: h* i- d6 |) H
  1977. ;opcache.consistency_checks=0( E% u! E" f0 [$ P) }

  1978. 4 a, U& f( T8 y8 u% P& K3 d5 ^
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache! V4 m  i" g1 P. l
  1980. ; is not being accessed.; y9 ]) u+ t8 g
  1981. ;opcache.force_restart_timeout=180. q) C; q8 |1 h, G0 B! n% }# g
  1982. # r/ ~" S* |* ]6 \0 D3 D) h( y
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ' H& A8 K# h8 _  ?6 {1 p/ J9 C3 Y; p
  1984. ;opcache.error_log=
    ( s. k( n5 @0 |
  1985. 9 ~: _1 V0 N4 @
  1986. ; All OPcache errors go to the Web server log.: M! z" k: Q7 d( b  @) j
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged." D$ j9 f7 d" ]4 r- f
  1988. ; You can also enable warnings (level 2), info messages (level 3) or) }  t4 J* l- c0 q
  1989. ; debug messages (level 4).
    $ S, F- j# e! r. I1 ?* e% y
  1990. ;opcache.log_verbosity_level=1
    $ F1 G- x$ `; N8 }! s! y6 [

  1991. ' S7 y# o3 i: z- w
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 Z1 Y. I# x& I% \% c
  1993. ;opcache.preferred_memory_model=
    " v, f% J  h# A2 ]
  1994. * ~5 p' B) c4 t1 {( }# L
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ; M  s( _! ^; k0 F+ ^
  1996. ; Useful for internal debugging only.
    0 ^' K3 L/ P' X( P& q) b
  1997. ;opcache.protect_memory=0% C4 j* D3 y/ M0 W* x* b
  1998. : |1 b6 s; k% H; \
  1999. ; Validate cached file permissions.' W" p( h% }2 l( J/ ]
  2000. ; opcache.validate_permission=0, J0 P' k. t7 m- D: J" P
  2001. 4 R' c7 v2 a, C) I8 {! m
  2002. ; Prevent name collisions in chroot'ed environment.& S4 E) x- g; b
  2003. ; opcache.validate_root=0' g. w+ W! D6 v: o, n/ U% g! b

  2004. & ~6 V/ A7 V  |8 y7 w+ W. T3 P
  2005. [curl]4 r  `$ t' R4 T& s: w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 I* r6 H% O) s) H( V0 T
  2007. ; absolute path.
    0 b2 e  q8 I2 F5 p5 `
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 A" Q7 w: z- H
  2009. 4 x9 P- h% U; R* _3 }+ h
  2010. [openssl]
    : X& s, s+ p$ }: R" v- Z
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# ?9 v6 s$ t6 ]! y  G
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    / u( l( q6 C4 T! I6 p
  2013. ; not specify a value for this directive as PHP will attempt to use the& z2 H2 {0 R/ a" R7 {5 o* l1 J
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 ^: B- K1 ?/ n3 _7 T* O
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context5 Z" F8 ?& e* X) I5 J4 v) _
  2016. ; option.
    6 A" O' C- P. X( ]' G
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 u: m, M, l. Z

  2018. ( s, Y# S/ W$ c, b# i7 L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! w9 `8 v8 k6 P- k% C
  2020. ; directory pointed to by openssl.capath is searched for a suitable5 X; |. b4 Q- ?5 _
  2021. ; certificate. This value must be a correctly hashed certificate directory.$ M  }- H( k9 D% E4 S* l  J/ |/ l
  2022. ; Most users should not specify a value for this directive as PHP will
    - [3 a# D7 L5 q' z3 h9 N: w
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ) ]: O, `/ X! U( P3 g- D
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    - }/ }- T9 L, [$ N0 p
  2025. ; SSL stream context option.; V2 ?1 n' g3 p  l8 Z: [
  2026. ;openssl.capath=  |, O3 x2 z6 F8 I( f4 v% }

  2027. 0 q9 ]0 }6 \, P& @$ N* x
  2028. ; Local Variables:
    $ Q, g! p7 u: S$ J- I# V
  2029. ; tab-width: 46 Q* j6 ]0 v% B& p; T
  2030. ; End:: B, S2 _/ t8 S+ |* _3 [& |4 a
  2031. & w* |; t1 C/ i4 u
  2032. ;eaccelerator
    & ]# z! w$ a  K1 ^  I2 O

  2033.   ]) t, _! u4 I) d1 K) _
  2034. ;ionCube
    : v( b* w+ [. m2 U/ [5 v
  2035. & J# Q: @! {% [- D
  2036. ;opcache
    , r& a( r- r. S) k) R
  2037. 3 W( t) j$ j# E. b
  2038. [Zend ZendGuard Loader]7 G/ N. J+ \- l7 {5 v
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    6 f4 r  b: z. p9 l0 ?0 v
  2040. zend_loader.enable=1
    . C! k/ R& Y; V+ z$ K
  2041. zend_loader.disable_licensing=0
    0 ~# E  Q) ]3 l$ Q2 e: P
  2042. zend_loader.obfuscation_level_support=3& @' L2 d7 e; S7 s8 y
  2043. zend_loader.license_path=  F7 J  @: J/ P) [7 D
  2044. 4 P' K8 ~- O- W& {- m) ]" ^2 T; i
  2045. ;xcache# M/ i! H# Z) c, W8 y( O

  2046. : j5 D& i1 Q3 |, x- J
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
. Z- e7 L+ n! O, X0 J
7 M  g3 c- _. J5 V/ K, d/ y  W4 E( f' y$ W9 f; J1 f
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. N8 C. ^* N0 C8 `- q) R4 u( ]+ M. @
- ]7 _/ u" F" [" I0 n/ I3 K$ ^Discuz!程序版本选择:$ O1 O6 I8 D  X8 Y+ o. r
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,7 C( ?8 h+ o3 ^8 y
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
2 ~% o& o: O% y( a4 X8 uDiscuz!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。' y/ q7 o4 N) p1 _7 z
6 K3 f* M% {* c+ g- G+ o6 c
Discuz!插件模板版本选择:) g/ Y% f0 q) ~& c* p- b# i
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,4 w4 K5 q9 Q7 \( {7 s; R# Z% N2 u
针对这个问题做个统一的普及:. Q' a5 U* {; b& l
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
3 i2 s8 v' P9 [3 c4 M0 g1 O3 I  V! v; @2 a
所以; [& H" i8 `$ H5 m/ U8 y" J
适合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的二级域名。" M1 t0 Y; M" `& [! D
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
, V! x* Y1 R4 K, A) l注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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