分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
# i4 n! k8 ^# Q) v( t
! s7 g. y( o* _# X
  1. [PHP]
    ) h  N/ e9 ~1 e9 M
  2. - ~1 W; V& i9 R4 p9 R8 |
  3. ;;;;;;;;;;;;;;;;;;;
    , p, N5 i7 C1 S- s8 ^, X3 X
  4. ; About php.ini   ;
    $ H) q* d$ F9 c- j! V
  5. ;;;;;;;;;;;;;;;;;;;
    * {. i( X! `# x7 G; ]1 f, Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ q! B6 _1 v8 g1 M! ~8 g
  7. ; configuring many of the aspects of PHP's behavior.
    & p  t8 H* G# h, Y" Q7 u
  8. 3 }5 G8 P4 b4 ~8 g* u
  9. ; PHP attempts to find and load this configuration from a number of locations.7 h1 u- s" ^" Z! I
  10. ; The following is a summary of its search order:( L. X( W* W2 N' d
  11. ; 1. SAPI module specific location.
    - k3 `2 L) n! M( r2 x+ j6 X% ~
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- S% H  F9 t4 I5 V4 S& b
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + m+ |; V- ]5 J" ~: ~
  14. ; 4. Current working directory (except CLI)4 ^! p9 a+ c, g- [; N: j& m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    0 I0 \" o% s6 b$ ?. D- `' J4 B- K
  16. ; (otherwise in Windows)+ `8 `) N/ N& N5 s6 c, W' _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    0 c8 p# s8 G( }7 m* j
  18. ; Windows directory (C:\windows or C:\winnt)
    : E: y% T9 h; `1 _! `0 K% p
  19. ; See the PHP docs for more specific information.
    9 M" V+ H) A, ?0 _2 D. f2 _
  20. ; http://php.net/configuration.file
    ) G$ j4 W. C9 d6 n* v; {: b
  21. 3 O* X' F7 Z% i# u# g' P8 b
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    / Y/ i. U; X" p" q" A. Y1 S4 N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# D" l, B1 y* L1 `- l( n3 N
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though2 ?/ }7 `; m" e4 h: C; C3 K
  25. ; they might mean something in the future.
    : S+ W% x. |3 K  S9 m( c
  26. 6 U) w2 U3 Q3 i1 ^9 z# Q
  27. ; Directives following the section heading [PATH=/www/mysite] only+ P" L- s/ m% Z3 Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives. L1 t' N5 g- x3 K
  29. ; following the section heading [HOST=www.example.com] only apply to
    0 z; a5 {2 U/ m9 _/ u* g4 P
  30. ; PHP files served from www.example.com.  Directives set in these; d$ g! g6 S3 \% S' m
  31. ; special sections cannot be overridden by user-defined INI files or- L) i" M: e0 d9 U, _% U  f
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    0 N/ G4 E; Q7 [  N( M) O, i/ s
  33. ; CGI/FastCGI.8 J2 h6 h4 E, P4 P: N  r2 p
  34. ; http://php.net/ini.sections
    " R% S/ X) x% ~7 Y/ z- L; T

  35. 6 C7 t7 m# p' [+ n. e1 J5 P( t- F
  36. ; Directives are specified using the following syntax:
    ( L6 \, U5 u0 s$ o
  37. ; directive = value2 f9 F" o/ |( i
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ! H' ~+ @% M+ w; o
  39. ; Directives are variables used to configure PHP or PHP extensions.
    6 M. q0 v7 h' r* A* O$ T
  40. ; There is no name validation.  If PHP can't find an expected
    : A- f/ t1 ^- p; _5 c
  41. ; directive because it is not set or is mistyped, a default value will be used.
    - U9 r& t* `. W$ \5 p$ O2 ?

  42. ! _' m; |+ W  {! b8 w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 G; b# d5 B' {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    & o+ O$ C& K2 r6 l8 i! ?+ c
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' K9 G/ ^/ m; ]+ Q0 }. ~; F' [
  46. ; previously set variable or directive (e.g. ${foo})
    4 h) m) w: X, {6 h0 B% y7 n; R5 W6 v( @
  47. 9 ~9 M: Z6 C/ r8 @- z; t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    1 q' Y! c1 Y6 E
  49. ; |  bitwise OR
    : i/ v- j6 Y5 i: v
  50. ; ^  bitwise XOR
    4 T+ s" N' {- `. l, \& X% g8 W
  51. ; &  bitwise AND) j7 R$ Q3 C) R5 C! V* b+ S8 r
  52. ; ~  bitwise NOT
    # z& F) H6 o# S2 Q
  53. ; !  boolean NOT
    - R" w5 l. c0 |- a9 {5 x9 E" _
  54. ; S6 p! p6 _" C, l! z3 h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 i- N! x, Y: I/ y( x. A- u
  56. ; They can be turned off using the values 0, Off, False or No.
    " X" W6 J9 V9 }

  57. ' m' e/ m6 k9 x; Q6 H8 }
  58. ; An empty string can be denoted by simply not writing anything after the equal+ V: D4 \$ T# p( H$ G
  59. ; sign, or by using the None keyword:
    * V7 e; v+ _+ y9 b) M

  60. 2 K2 U9 x1 J* a1 Z
  61. ;  foo =         ; sets foo to an empty string% f! O) ?* e- G% K4 z
  62. ;  foo = None    ; sets foo to an empty string
    % e' {5 c+ X8 U2 S# n& A  q0 p
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / l* G  l# x; L3 a2 l7 f

  64. * p8 t% F$ b; f0 Z' v4 w- @$ r
  65. ; If you use constants in your value, and these constants belong to a
    * }) F2 N1 X2 \% S% E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),* c. l3 `* d3 r
  67. ; you may only use these constants *after* the line that loads the extension." O4 d2 I0 Y" _7 X' z' y
  68. # U1 `$ f  {& W4 K$ r- M
  69. ;;;;;;;;;;;;;;;;;;;/ G/ O1 V5 Q$ w
  70. ; About this file ;
    " D) W7 Q& ?( \' a+ C7 h
  71. ;;;;;;;;;;;;;;;;;;;0 S9 p* A* C" a) ~0 l- x0 h: w
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! a+ X* z* l7 Q  p
  73. ; in production environments and one that is recommended to be used in8 K3 \1 j* j1 U
  74. ; development environments.
    7 z1 \9 Z% B  }0 k1 q
  75. 5 \+ N+ x" Q! d  ~% G
  76. ; php.ini-production contains settings which hold security, performance and
    " w9 y$ ?4 @8 ~$ v
  77. ; best practices at its core. But please be aware, these settings may break( i4 s9 ^  o1 o
  78. ; compatibility with older or less security conscience applications. We: B" V$ }1 Z7 F+ @  w
  79. ; recommending using the production ini in production and testing environments.0 \' I5 l, E" D
  80. # ~$ z& Q! y, Y/ ]) M
  81. ; php.ini-development is very similar to its production variant, except it is
    # Y, x9 a  m, n: x: e- r: v$ ~
  82. ; much more verbose when it comes to errors. We recommend using the
    , A& n  p; }( y% Q9 T/ o
  83. ; development version only in development environments, as errors shown to& o) ?' Y2 b+ ?4 l
  84. ; application users can inadvertently leak otherwise secure information.+ Y& p3 q$ r% \4 J! f+ _" k; C
  85. / K9 u6 G  ~7 g$ _) v( P, }3 A3 h# O
  86. ; This is php.ini-production INI file.
    9 X5 Y. y3 Y: x+ ~3 s* y- n
  87. 2 _1 ?" Q" O: H$ q1 T6 ?# [# j, y
  88. ;;;;;;;;;;;;;;;;;;;
    , c8 M6 z# h, l, k% X2 Q& ]
  89. ; Quick Reference ;( d0 ?5 L/ ?' O
  90. ;;;;;;;;;;;;;;;;;;;7 x3 U5 i; w% E$ N  ~" ?: c7 \* Y
  91. ; The following are all the settings which are different in either the production
    9 H/ h2 F. L& ^* I
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    8 |% ~0 G5 g) w
  93. ; Please see the actual settings later in the document for more details as to why2 h. z- n6 C; |, h
  94. ; we recommend these changes in PHP's behavior.' |2 C$ G  F) ?8 w/ l* N- Y& W
  95. % b% E" B$ K$ y, n3 Z- X' v
  96. ; display_errors
    # R& q7 X, ^8 R3 ~: c) s
  97. ;   Default Value: On
    4 b1 K2 K/ f$ ^: z5 r
  98. ;   Development Value: On
    : x9 [  B; @% @
  99. ;   Production Value: Off
    - e+ q$ ]0 W3 @) @- T7 @) O( d

  100. 7 f5 G: R' J$ D& X
  101. ; display_startup_errors# e5 m! Q4 U) ~7 X% k
  102. ;   Default Value: Off1 i8 Q8 f4 r* w$ B: p+ P
  103. ;   Development Value: On% l- e- C; N# ?8 T6 C
  104. ;   Production Value: Off
    , @6 H5 j: A9 J  ?. a) y
  105. 7 H% H3 ~! i: B# l: i" E9 o. b
  106. ; error_reporting
    ; a( B4 ~- l1 G. i/ [1 a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* n; _8 G% X( I. T, X
  108. ;   Development Value: E_ALL
    & l! E3 L/ f$ w  o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* p) K! p; V, m& v
  110. & K( K+ e8 O9 S$ `- H
  111. ; html_errors
    9 L/ m6 G+ d5 E
  112. ;   Default Value: On+ ?, V; y0 X3 c* l
  113. ;   Development Value: On4 h0 X) }6 h9 u4 F
  114. ;   Production value: On
    ! S6 P5 y& w( Q- |& J

  115. 1 v8 c; a1 M9 b6 H/ f/ k9 q
  116. ; log_errors6 d- b4 @& h0 ~) X6 O
  117. ;   Default Value: Off
    $ z) W1 e! _! T$ e4 g
  118. ;   Development Value: On7 v. x- P' H3 o( t2 k
  119. ;   Production Value: On
    # v8 c. ~' U' \& A

  120. ) ]( q: o8 R1 U' w0 C
  121. ; max_input_time
    4 L, ~0 r- P! b( ^4 m
  122. ;   Default Value: -1 (Unlimited)1 j$ c# d# g9 E1 H' c) Z& K
  123. ;   Development Value: 60 (60 seconds)
    + I1 n0 b! D+ H! N" q% M( q5 g
  124. ;   Production Value: 60 (60 seconds)
    0 B9 {' M( [6 Q. y. V: }* `$ Y
  125. & n2 Y( T+ u: S, c/ X) f
  126. ; output_buffering
    ) q  u2 D# W; D: b8 k! d8 _
  127. ;   Default Value: Off! w7 P/ M3 S: w. D
  128. ;   Development Value: 4096, `% {( e/ `' Z' W' z
  129. ;   Production Value: 4096& S% y9 v. H! t- Q6 Q

  130. 1 ?1 }; R7 ]& x
  131. ; register_argc_argv
    . n- H2 n! }, c
  132. ;   Default Value: On, e. N0 t3 P; V% |( M3 i5 C
  133. ;   Development Value: Off% A5 c0 ?6 Q; f- B" Z9 F
  134. ;   Production Value: Off
    - M6 s* Q1 L2 y* F: Q8 t5 m2 \

  135. 9 p: j% B& y0 h; b4 p
  136. ; request_order- X; {* ?  z: O$ i, _% a. E/ N
  137. ;   Default Value: None
    $ `+ p+ n% ?5 x% r5 r8 w' m
  138. ;   Development Value: "GP"5 K/ h" Q) r7 V3 S
  139. ;   Production Value: "GP"
      K; i1 Z2 _, p. d  l+ c: f; `  r

  140. 2 l1 R- T3 H, P  p, v
  141. ; session.gc_divisor8 [6 m9 o/ z* x* ~
  142. ;   Default Value: 100
    " k( F7 l1 B' K7 O1 A3 g6 E
  143. ;   Development Value: 1000/ L% ?: _4 D9 d) [
  144. ;   Production Value: 1000
    % Q) u' c% M8 |) [

  145. - U4 ]. F/ j/ p3 w
  146. ; session.hash_bits_per_character
    5 X4 L; U& _9 R5 P" X! q
  147. ;   Default Value: 4# A$ h) z4 ^7 H3 H
  148. ;   Development Value: 51 v: l! a  |" K* m
  149. ;   Production Value: 5; H. \, j% T8 V* s5 I4 I  @+ @
  150. * ]' u7 w6 A# C6 D6 T, O4 C
  151. ; short_open_tag
    & G  j, r- F+ a) c$ K
  152. ;   Default Value: On
    ) K9 R" f( y( K: u, l  g9 F5 N
  153. ;   Development Value: Off
    2 {! z- T$ K5 S8 t1 g+ x: k
  154. ;   Production Value: Off" c# w3 v* H! f2 J  _6 `
  155. 0 P6 J9 \9 E$ Q
  156. ; track_errors7 z  Z8 j0 V4 l. l
  157. ;   Default Value: Off
    4 ?9 x! i; Q+ e6 O
  158. ;   Development Value: On
    ; \7 i. F4 t6 f! {2 y1 I! l1 \' [
  159. ;   Production Value: Off! O& Q; w0 w5 z4 }
  160. 6 S5 R4 ?2 N6 ]5 M* |8 h' Q: n
  161. ; url_rewriter.tags
    # x, B( `& u0 E. j
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="' M6 b* `0 Q4 a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 ~1 G4 w9 P1 P& I9 E. h
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 n1 v7 c6 n6 v5 `+ }1 o
  165. % w; G" X* C, ?  w) ]5 x
  166. ; variables_order( f: ]: U7 P& t. _- n# C
  167. ;   Default Value: "EGPCS"! I- S6 v) @0 O5 l, s
  168. ;   Development Value: "GPCS"
    6 I- {" R$ T0 v* d, i5 L
  169. ;   Production Value: "GPCS"4 ]* Q# U( F, s$ |

  170. 0 A' K' i0 b7 J: @7 G" ^
  171. ;;;;;;;;;;;;;;;;;;;;! ]5 w# W& s- d- o1 `
  172. ; php.ini Options  ;/ z& U  P7 y9 y; g0 t- |! O
  173. ;;;;;;;;;;;;;;;;;;;;8 b% k, o: u0 v! \! n; R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; D7 D# y0 E/ k6 L* N: ~2 h. V: `$ l
  175. ;user_ini.filename = ".user.ini"
    ; X$ B7 a7 x0 F7 M, g% D

  176. ! m+ }0 V/ k' W+ B% O' V/ I* q
  177. ; To disable this feature set this option to empty value
    0 _% U5 E  [" S) {
  178. ;user_ini.filename =
    7 I+ P/ R  v" X8 b) ^
  179. ; R6 d2 j9 Z. h$ A1 m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 w5 y( `0 E& E2 U" [6 z( D0 z
  181. ;user_ini.cache_ttl = 300
    6 v8 c* o  p5 j1 x# |" C6 ]

  182. . j4 F7 D! b) A* ~/ K0 N
  183. ;;;;;;;;;;;;;;;;;;;;
    - L( a/ T, i2 C. Z3 K
  184. ; Language Options ;1 q- W: O2 `4 N; b
  185. ;;;;;;;;;;;;;;;;;;;;+ X2 k1 Y$ h" Q- p6 S
  186. 2 P6 _) ?1 k; Y; ^; t- l
  187. ; Enable the PHP scripting language engine under Apache.
    & U' v+ _$ a( ?- N8 W
  188. ; http://php.net/engine1 I% U. g" n+ }/ h9 S! G  l
  189. engine = On
    ! B1 H4 Z2 C3 h( j" z. A
  190. 8 k1 a1 e) `* }$ D: O) k. {6 E
  191. ; This directive determines whether or not PHP will recognize code between% M7 }. X+ w5 s; f  F8 k1 ^+ v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    9 a' B: j0 i- k: P. e
  193. ; generally recommended that <?php and ?> should be used and that this feature
    . H$ d. U2 y7 P: o8 b
  194. ; should be disabled, as enabling it may result in issues when generating XML2 v. U: f3 S  H& ?' o9 L
  195. ; documents, however this remains supported for backward compatibility reasons.# w4 I0 k* K" s
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ g9 T; `, Q9 p0 c  U
  197. ; used regardless of this directive.
    # ~' Y  ]8 g) O5 a
  198. ; Default Value: On* a* D: P) ]0 f
  199. ; Development Value: Off
    " u; E6 p; b. U1 W5 f6 d+ r7 ~/ |7 ]
  200. ; Production Value: Off
    & h6 {; U* M% R" U6 s# W
  201. ; http://php.net/short-open-tag
    9 @0 V& V: R* i% U% T. x5 _- o
  202. short_open_tag = On9 }$ C1 g* k( n/ X6 _7 g1 |

  203. ) G) }" P6 n6 e, O7 n
  204. ; The number of significant digits displayed in floating point numbers.
    - K+ p* W/ i; I( \
  205. ; http://php.net/precision
    ( P( j3 F/ o/ E' y
  206. precision = 14, ?% |- l: M/ B0 }

  207. , U4 t) c4 g/ \7 ]
  208. ; Output buffering is a mechanism for controlling how much output data4 v* g) I) |4 T8 ?# {. F
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that3 u- \& K7 ?% V: t3 Z/ W! I% L; {3 V$ Q
  210. ; data to the client. If your application's output exceeds this setting, PHP/ ?3 \/ r, x. o9 e0 F7 ?& J" w6 @/ G
  211. ; will send that data in chunks of roughly the size you specify.
    ( w, O! S% Z+ n% }( Y( ]' J: v
  212. ; Turning on this setting and managing its maximum buffer size can yield some- b8 V- t4 k5 S! Q0 ?! J8 @
  213. ; interesting side-effects depending on your application and web server.: z. E+ _6 [) F6 a. Z/ z+ V
  214. ; You may be able to send headers and cookies after you've already sent output6 @" M2 F1 S% L" g4 c
  215. ; through print or echo. You also may see performance benefits if your server is# b) e  g( ~: A, @
  216. ; emitting less packets due to buffered output versus PHP streaming the output7 U3 N) W) w6 L- E. G8 K$ {
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ( t1 t9 k% w5 \! \" D$ S
  218. ; reasons.0 ^- X& H9 ?" X3 C' S" c7 I
  219. ; Note: Output buffering can also be controlled via Output Buffering Control/ h. G) A6 p% e
  220. ;   functions.$ e" o' U  h% W. ?4 H
  221. ; Possible Values:
    3 f" C3 u6 R7 ^2 u
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    3 G, r- o# C. r. i& r+ U' M/ D' t/ }
  223. ;   Off = Disabled
    ) s6 U" o& m- Y& M% B
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * R3 G6 l' {5 ~" l( s
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
      i5 z/ f: ?, `( \
  226. ; Default Value: Off( D4 `( k+ Y  Y. r
  227. ; Development Value: 4096$ M; b. [4 i+ J; C
  228. ; Production Value: 4096
    9 O* w/ n- t; R. n% r5 }% y" D" H
  229. ; http://php.net/output-buffering
    : M/ v- Z$ n4 v8 T5 S5 V$ V
  230. output_buffering = 4096
      o) O0 t, h( `* T3 z. F. v+ k$ s# h
  231. + a! A- x( N8 M* }% I, C2 [3 U
  232. ; You can redirect all of the output of your scripts to a function.  For
    1 u/ I# q5 m8 V! H7 a2 p
  233. ; example, if you set output_handler to "mb_output_handler", character
    8 O5 X3 n) ]9 @9 {; x+ `
  234. ; encoding will be transparently converted to the specified encoding.- _1 o5 ^2 h+ R0 g) ]* A
  235. ; Setting any output handler automatically turns on output buffering.3 K1 y' V: m5 P
  236. ; Note: People who wrote portable scripts should not depend on this ini4 `( w) C9 D* D( O2 A6 q
  237. ;   directive. Instead, explicitly set the output handler using ob_start().; e! {3 ~. Q$ h, s( E0 C) N8 B
  238. ;   Using this ini directive may cause problems unless you know what script
    5 y8 x5 O0 k, R: s$ A3 g
  239. ;   is doing.
    - j0 j/ K# W. e3 |. Q. T( V3 ~
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 V, X6 F" F, y7 a' ^% Y# T) E
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 F4 K' b6 ^/ |. X- _+ H
  242. ; Note: output_handler must be empty if this is set 'On' !!!!3 `* w2 T; B7 l5 H5 @- O# C4 D& e
  243. ;   Instead you must use zlib.output_handler.
    ( |' v7 ~5 Z( t8 x8 Z! V
  244. ; http://php.net/output-handler
    ' q) N# J" J8 }# L. z- T3 F7 i! P
  245. ;output_handler =$ X+ H. B/ S( _- l
  246. % e: T: }7 b9 W2 L5 A2 ?2 G
  247. ; Transparent output compression using the zlib library
    0 I! A% l/ K# L& G7 ~+ D6 E
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size% E! d) r' v1 r: a+ j
  249. ; to be used for compression (default is 4KB): _* P* i6 e. Q* b
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 k# M* |: n7 a
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    2 K1 t+ z# z' ~2 S' t0 t; m' J
  252. ;   compression. If you prefer a larger chunk size for better. f" t8 F& E( Y4 r  o/ g. z% v
  253. ;   performance, enable output_buffering in addition.
    8 E' b; {. }" |! I* U
  254. ; Note: You need to use zlib.output_handler instead of the standard) ~: u- q" i2 z/ k% C# d
  255. ;   output_handler, or otherwise the output will be corrupted.7 M$ ]8 s2 N4 I/ [) _/ [
  256. ; http://php.net/zlib.output-compression5 H, w. S9 u" V( z- N: w0 C, r
  257. zlib.output_compression = Off. B" C3 E: V4 S! f

  258. ( ?2 P, ~( P5 r- e' h" C2 X
  259. ; http://php.net/zlib.output-compression-level, n0 r3 Z# L8 Y9 ~  ^
  260. ;zlib.output_compression_level = -1
    ( |# @  l+ {4 K. T3 J
  261. * a' A8 t3 O4 g
  262. ; You cannot specify additional output handlers if zlib.output_compression' {9 M% |1 z* j/ ^! @$ ~# ^
  263. ; is activated here. This setting does the same as output_handler but in
    / h) d: K  y- H2 L. `
  264. ; a different order.
    1 s1 W) J1 ^' d- ]$ A- K: v4 @/ x
  265. ; http://php.net/zlib.output-handler
    3 U' M- q  ]) ^
  266. ;zlib.output_handler =
    6 Y9 i; I! h2 P

  267. 5 \+ h: v% m' |* E0 H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself7 R' v% P# y1 i8 G! F
  269. ; automatically after every output block.  This is equivalent to calling the( R1 U" q2 T  Q" s; I( w' [
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ) t7 d: ]6 t: `$ r
  271. ; and every HTML block.  Turning this option on has serious performance0 [& H1 b+ S4 j) K$ V6 W
  272. ; implications and is generally recommended for debugging purposes only.
    9 o! ?. `  w* \0 G& Z- k
  273. ; http://php.net/implicit-flush
    0 G9 Y$ d) l+ I! Q1 T9 Q& `/ K
  274. ; Note: This directive is hardcoded to On for the CLI SAPI) k" @" O+ H9 h9 _5 B
  275. implicit_flush = Off3 K* G9 Z& F! c7 W# s0 m

  276. 7 f" L& ~: H0 a2 [
  277. ; The unserialize callback function will be called (with the undefined class'+ h7 E, `% l1 H% J* F- Q
  278. ; name as parameter), if the unserializer finds an undefined class) B# Z6 x9 T- e' c9 [
  279. ; which should be instantiated. A warning appears if the specified function is
    + V* a4 H0 m% t( h* M7 o
  280. ; not defined, or if the function doesn't include/implement the missing class.' r. p+ o" o, k4 \
  281. ; So only set this entry, if you really want to implement such a
    3 j. s$ w9 ?- g) O& G' g. o4 Q
  282. ; callback-function.2 {; q; z& w+ W$ A+ ]
  283. unserialize_callback_func =
    * {7 B0 y/ N& z. q( }6 s; @5 l
  284. $ w" M  Y/ W* m. P
  285. ; When floats & doubles are serialized store serialize_precision significant
    * r7 X& O% n2 R3 }, a( j  e
  286. ; digits after the floating point. The default value ensures that when floats" {6 q; ]% \. F0 @: `6 a: T
  287. ; are decoded with unserialize, the data will remain the same.
    ) W& o, r4 M" o: a8 f2 P
  288. serialize_precision = 17* T) ^" Y5 ]6 C5 I
  289. # \* w  D( G& K9 d+ W" P0 }' d- l
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 Z/ a8 g' B# l0 r+ ?0 L
  291. ; and below.  This directive makes most sense if used in a per-directory8 H3 |) y5 Q+ B1 o3 u
  292. ; or per-virtualhost web server configuration file.
    3 V- C& `( X1 g2 ?! y6 g
  293. ; http://php.net/open-basedir: I0 w6 u/ r0 C( y4 T
  294. ;open_basedir =9 }  X% m5 I& c; ]# U1 M" t- i

  295. % _9 p% O0 v2 K+ o1 K4 D- C
  296. ; This directive allows you to disable certain functions for security reasons.
    3 ~' d3 z+ c! ?5 l( A: ~. W
  297. ; It receives a comma-delimited list of function names.; H$ ?/ M% Q# g! R3 \: J
  298. ; http://php.net/disable-functions3 D* n! f: Q/ u! u  b
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ; h: f: R0 n: ?

  300. # V- ?* T" ~2 i; Q
  301. ; This directive allows you to disable certain classes for security reasons.! g3 `! N! m( H! r' T
  302. ; It receives a comma-delimited list of class names.* a& e( c5 g+ J/ v
  303. ; http://php.net/disable-classes
    ' T, }) m- M( q# d
  304. disable_classes =" [8 R+ ~" s5 H

  305. ) |1 x) H1 X" M1 ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 a0 d: y3 V  x6 {, s) z
  307. ; <span style="color: ???????"> would work.
    4 E' G2 W* F9 p4 _" B
  308. ; http://php.net/syntax-highlighting  t/ s" w  m# f3 N* Z
  309. ;highlight.string  = #DD0000" L) h! B6 [5 N- p
  310. ;highlight.comment = #FF9900
    ( f3 f! ?; }7 Z$ j! M% @
  311. ;highlight.keyword = #007700
    : P' Z/ z$ X& i& J" L
  312. ;highlight.default = #0000BB
    $ l, T5 B5 k) Q( M% q& K; M
  313. ;highlight.html    = #000000
    ! R1 C  C3 q& c# a# l2 e

  314. / I, c7 J* g7 K3 P% b& a$ }
  315. ; If enabled, the request will be allowed to complete even if the user aborts  ]3 C0 R/ ]2 @1 R& [
  316. ; the request. Consider enabling it if executing long requests, which may end up
    ; `0 O$ L+ T1 V/ s- E* z
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    $ i  F3 X9 ~6 T  G
  318. ; is to disable this feature.
    7 s% \- |* |& }+ k6 _
  319. ; http://php.net/ignore-user-abort3 k) i* W7 Y4 c; c  G
  320. ;ignore_user_abort = On
    3 L% U& D  T7 A# R/ y
  321. 7 o4 x- x0 P9 P) a4 z+ u
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 M$ S7 z" |% s$ }2 q5 _+ ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of; M0 g- i3 e" C0 F- }
  324. ; the file operations performed.
    # j- d! {* \  |
  325. ; http://php.net/realpath-cache-size
    * V+ M* P3 h. o* i
  326. ;realpath_cache_size = 4096k6 a  O% M- m1 |* p! k

  327. : f/ R! R6 M6 H: X& [: V
  328. ; Duration of time, in seconds for which to cache realpath information for a given+ ~# {9 d+ h4 Q" J
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    + D/ V7 O8 P. W3 {
  330. ; value.
    2 X" H7 D  e) J: f3 ^. X# Q
  331. ; http://php.net/realpath-cache-ttl$ b4 L: R. l* D( Q9 V5 n# t
  332. ;realpath_cache_ttl = 120
    - Y- b; v9 b4 t5 k3 E) d

  333. - r$ Q2 }6 [. b" @: U
  334. ; Enables or disables the circular reference collector.
    6 [0 X0 V: w* d6 ^7 G1 ]3 I/ e3 o$ t
  335. ; http://php.net/zend.enable-gc* _8 o$ `0 l  z/ o  ~: _
  336. zend.enable_gc = On6 n# L& H/ Z0 }

  337. 3 _( J1 }. ~. Q$ ], M
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    8 g7 J4 B" z" g1 _7 v3 k
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; x& r- t5 X* l: V( C8 r2 B) L; H
  340. ; encodings.  To use this feature, mbstring extension must be enabled.# i" V; o, x1 u; R! F+ X  {8 r
  341. ; Default: Off
    5 @. P' E1 I8 m
  342. ;zend.multibyte = Off8 U; d+ D5 F5 Q$ d* r$ s# U& S
  343. * C, {* |) I; D. X' c8 I' T
  344. ; Allows to set the default encoding for the scripts.  This value will be used# S$ T: l. p! s9 C. r' j, W1 ^0 Z
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( ]& V  I0 f, m  M  f) p3 `
  346. ; Only affects if zend.multibyte is set.& r6 j9 M# p. c* [: Q) a( ^
  347. ; Default: ""- [/ a' x6 Z6 v2 @
  348. ;zend.script_encoding =- B- l  B1 ]: b0 Y! g" e1 @) T

  349. 9 n% ?  y$ h# y& B
  350. ;;;;;;;;;;;;;;;;;! k, l9 C7 N2 n) B. @+ U/ e
  351. ; Miscellaneous ;
    2 d. y1 D7 f# m
  352. ;;;;;;;;;;;;;;;;;
    4 a2 H1 h$ a# I, o5 Q3 `  K" K

  353. 8 T* R, a( ?8 k8 Q1 d4 ?
  354. ; Decides whether PHP may expose the fact that it is installed on the server* C. y7 S( @8 Y( P! x
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* b  |. I& R4 U' v' o4 z# S' ~
  356. ; threat in any way, but it makes it possible to determine whether you use PHP) S! r1 I! F! t; h. c) u
  357. ; on your server or not." p9 w6 j4 t7 ]2 _: {- B
  358. ; http://php.net/expose-php/ D4 q  L6 A" w/ y) s5 z1 U* Z! q
  359. expose_php = On6 K' l9 N) u- f
  360. & ~* K4 Y2 c3 H0 z' |+ g( O
  361. ;;;;;;;;;;;;;;;;;;;9 M! b/ O- ]% r/ ?0 C  |2 R
  362. ; Resource Limits ;
    9 ^7 K( [7 y6 D4 x
  363. ;;;;;;;;;;;;;;;;;;;3 I( ?  l( ~/ [
  364. 1 u; U1 F; w* _) o: ]( Z
  365. ; Maximum execution time of each script, in seconds
    9 M: L* d% K6 K9 g* r$ x$ n
  366. ; http://php.net/max-execution-time
    1 M8 @/ Q5 ^% z2 u3 @* _
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & m- j' \: a$ y' v9 c+ ?
  368. max_execution_time = 300% P) {' O# Q6 U
  369. 2 M8 k: n4 q+ t) w( v8 {! P
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    ; ^- Q5 m0 u+ @+ ]9 }
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) _4 ~& P, ^6 k" W( |: {, v- o
  372. ; long running scripts.( p& N3 a2 j8 \. f, {9 ~& v
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 F' m3 \3 c4 X, e
  374. ; Default Value: -1 (Unlimited)
    ) ~0 \6 f  j' s) ?
  375. ; Development Value: 60 (60 seconds)
    7 z+ v* `7 O9 t
  376. ; Production Value: 60 (60 seconds): G/ d2 @1 r! a4 S8 ?- ?
  377. ; http://php.net/max-input-time
    5 J+ E* I. I' @& Q2 O3 [7 u' M) j
  378. max_input_time = 60
    9 s. N% ]6 F- z  F! n

  379. - `0 f4 J9 ^# }9 o; d3 `! s
  380. ; Maximum input variable nesting level3 C: h9 }! M; q8 r( e* Z
  381. ; http://php.net/max-input-nesting-level
    * j7 A: Q* K9 K: G
  382. ;max_input_nesting_level = 64
    6 ]" w% R" Z4 c! D9 H
  383. & d  A: I; C" ^! D
  384. ; How many GET/POST/COOKIE input variables may be accepted- E2 e9 b( n2 g
  385. ; max_input_vars = 1000, d3 A6 A5 N+ x( {7 ]' p) S

  386. ; X) D/ y& `$ d' u5 q
  387. ; Maximum amount of memory a script may consume (128MB): h3 {9 L4 K9 W6 w3 y
  388. ; http://php.net/memory-limit: A) O$ ]* p! c+ a# V- P5 q
  389. memory_limit = 128M
    0 l6 ~* f8 w9 ]; N4 M& C

  390. ! a  \2 ?: p: y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: l* ]: N, n* T  a0 I, p# h
  392. ; Error handling and logging ;
    # V% c2 J0 m/ ^7 q. ~
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ I# ]$ P# y( b6 P; z
  394. " O0 o6 i' N0 [2 k; Q6 _
  395. ; This directive informs PHP of which errors, warnings and notices you would like5 |5 e- A5 R5 P0 f, T
  396. ; it to take action for. The recommended way of setting values for this
    3 W- |7 h$ b# [  K* G1 v2 Q
  397. ; directive is through the use of the error level constants and bitwise5 B# L+ p2 M3 F8 N3 g
  398. ; operators. The error level constants are below here for convenience as well as  Q7 |4 i. D; T$ M& r5 e
  399. ; some common settings and their meanings.
    5 c) I( H% c, R. ^( t# \
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ! C* B( g7 r/ H) `: J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' Y$ Q+ a2 @0 p& G+ O
  402. ; recommended coding standards in PHP. For performance reasons, this is the4 `1 N/ P- {$ d9 R) x+ e- F
  403. ; recommend error reporting setting. Your production server shouldn't be wasting# C' D/ L& \. i8 Q. H: p+ C
  404. ; resources complaining about best practices and coding standards. That's what) q/ X+ C- X2 f* q' C% {
  405. ; development servers and development settings are for.
    3 Y2 d3 L$ _' J2 {2 L" n% u, h& {
  406. ; Note: The php.ini-development file has this setting as E_ALL. This6 S+ \7 `; C" \
  407. ; means it pretty much reports everything which is exactly what you want during( N0 q; }4 Q; m5 p( r
  408. ; development and early testing.
    # {6 S4 @! @& ], `8 ^
  409. ;
    ! a8 E% V0 N! x1 t9 W) N! i6 w
  410. ; Error Level Constants:. Z; r( u  D$ p% N0 C
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)1 b: K. K0 U9 t- b2 f4 t. v
  412. ; E_ERROR           - fatal run-time errors
    ) s" q) L0 S7 c  v2 f; }: ?" M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: A2 g5 M# R+ i! P6 q& w5 ~% I
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 r' i8 [# i' Z7 S$ d6 X
  415. ; E_PARSE           - compile-time parse errors$ q: t' ]6 s8 y; U: S
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    4 h  C" k3 N$ B# m/ r
  417. ;                     from a bug in your code, but it's possible that it was, `3 Z2 `/ ]4 n$ {
  418. ;                     intentional (e.g., using an uninitialized variable and
    & U( X8 I+ c  U  H: v& [& A/ u: |
  419. ;                     relying on the fact it is automatically initialized to an
    ; e& d: S/ d0 }7 c' d1 x% |
  420. ;                     empty string)
    + X7 o/ M  |+ j3 ?& `
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      d( O: V. W6 }# [+ U# G
  422. ;                     to your code which will ensure the best interoperability; Q1 r9 X5 ]% z8 z; j. H4 d
  423. ;                     and forward compatibility of your code
    . d2 t. [7 I; S0 [
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    6 X( w* X* ^% D- R1 N
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 B2 k" B2 v) Z; S6 t' e
  426. ;                     initial startup
    7 [, I  \+ g$ b8 j; x8 _0 x
  427. ; E_COMPILE_ERROR   - fatal compile-time errors/ P& z3 F- O& n
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors): t8 [& `* X3 F  Q9 o" L5 L
  429. ; E_USER_ERROR      - user-generated error message
    8 b; A2 F; o7 B. c/ l+ e/ j4 T5 g
  430. ; E_USER_WARNING    - user-generated warning message
    ' d3 q% J7 {0 J
  431. ; E_USER_NOTICE     - user-generated notice message
    ) h3 g4 S9 ~, }
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 B* ]0 a; v0 o  [( F' C
  433. ;                     of PHP
    5 {  M- p! ~+ S  ]+ v1 c/ A* v4 z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings' @3 q! k, Q! X4 U; Z% t3 u
  435. ;
    . K& `- K% Q$ ^& [0 q
  436. ; Common Values:2 S+ g# I$ u1 t  l- L) U4 a9 Z
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 h1 U$ p2 D7 H
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ' y& M. p' v- q2 e
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    . w) J/ x3 s6 x7 ^" c- t. W6 k
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( N! {0 |. ]! {0 Z9 b( [# j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- U% {3 l2 C- j0 U! u0 a2 j5 l
  442. ; Development Value: E_ALL
    % b% y3 B/ u# K( w/ g# V$ _
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - M: ?# Z* U# G2 n& D# l1 Z6 m; A: ?
  444. ; http://php.net/error-reporting
    9 P4 H% J7 w- \+ N# y
  445. error_reporting = E_ALL & ~E_NOTICE
    / m6 F: y1 u+ F$ {! m
  446. 7 ^6 j; g- u/ H  \' ?3 z/ x( c
  447. ; This directive controls whether or not and where PHP will output errors,7 r3 I6 V7 w% l; \* D; r4 e8 v
  448. ; notices and warnings too. Error output is very useful during development, but, f" F+ i" _7 I( D' f, O. s
  449. ; it could be very dangerous in production environments. Depending on the code! K0 K& i1 ^* a$ o; ~: W+ ]7 P5 y* i% p
  450. ; which is triggering the error, sensitive information could potentially leak. i9 K: p' \5 Z' F* c6 w) Q$ e
  451. ; out of your application such as database usernames and passwords or worse.: V7 d1 C7 |) B$ ]7 G  f
  452. ; For production environments, we recommend logging errors rather than
    5 p9 a2 `& o& J0 j" D9 d0 A* r
  453. ; sending them to STDOUT.' H# p6 f1 d: n
  454. ; Possible Values:
    ( w! Y$ T( b1 z8 d0 H( U
  455. ;   Off = Do not display any errors
    % J/ G" c* ^& t5 z! A2 V- y
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ G* p! i! G( w) }4 T
  457. ;   On or stdout = Display errors to STDOUT* k$ r. @7 r5 J
  458. ; Default Value: On+ I1 q  e) M, @# h+ v, w4 e% V
  459. ; Development Value: On
    9 p, q9 c! s' z! p
  460. ; Production Value: Off
    6 i. i1 a6 p/ L$ M! l
  461. ; http://php.net/display-errors
    , |: Z  q6 O; p8 U
  462. display_errors = On
    " _) }1 d! {$ o( m) _( D; R4 k& m
  463. ; }( U/ a" n9 ~
  464. ; The display of errors which occur during PHP's startup sequence are handled8 X" m/ [# G% r# i9 L3 u
  465. ; separately from display_errors. PHP's default behavior is to suppress those4 f  W: c- r( G+ X
  466. ; errors from clients. Turning the display of startup errors on can be useful in5 I$ R+ h0 r9 k# d% ^% D
  467. ; debugging configuration problems. We strongly recommend you; q! i% c) P% ~, l6 F- \( P/ K# P
  468. ; set this to 'off' for production servers.5 d! n5 y1 S- @  t. ?
  469. ; Default Value: Off. [% J/ U6 T0 J4 |  i( L9 o
  470. ; Development Value: On
    ! [' P- n; r% h$ V. y1 L0 \* g
  471. ; Production Value: Off$ D. Q: {, t- A9 w5 r7 z' [% T
  472. ; http://php.net/display-startup-errors
    ! H3 K1 A! P( y7 f7 p4 ]
  473. display_startup_errors = Off, y- A; u3 q) K  z. k$ X
  474. 6 R" \# n9 Y3 c
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! Z# [; Y( _$ S& |9 e% W7 n
  476. ; server-specific log, STDERR, or a location specified by the error_log5 [/ D4 m$ J  ?! |+ r) Q
  477. ; directive found below. While errors should not be displayed on productions
    . w' N5 k/ J& m7 l3 h7 Y
  478. ; servers they should still be monitored and logging is a great way to do that.0 r- e8 r! G) f. O* {2 G/ j
  479. ; Default Value: Off
    # B7 D# \+ m- X2 `8 k3 q
  480. ; Development Value: On
    2 @5 m" z- R# m$ [0 L4 v  p
  481. ; Production Value: On
    ' @" F) H9 Q  V5 {+ B# B
  482. ; http://php.net/log-errors- ^- ~3 c4 R1 [8 f
  483. log_errors = On" f; T% ?* B: \
  484. $ c( {" q0 A4 k$ C1 g5 _
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ; `# P- X0 a) a6 t
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.9 u8 I7 {" o) W# W- h' A: X9 B
  487. ; http://php.net/log-errors-max-len
    ( {' \4 F( T# U  g3 Y* W3 z& ~$ y
  488. log_errors_max_len = 10249 a% w# J# @$ ?8 B- v$ V4 M* R
  489. : g2 l: L( I. ^/ U, e4 h
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : y4 S2 [0 m, w
  491. ; line unless ignore_repeated_source is set true.
    : ], r1 o$ x5 [
  492. ; http://php.net/ignore-repeated-errors
    , Z1 @* Y. Z0 G2 A/ Y
  493. ignore_repeated_errors = Off% B2 K0 x; _* J4 }; m# m

  494. ( b3 `0 }! Y; X  O3 Y: l% ~1 j
  495. ; Ignore source of message when ignoring repeated messages. When this setting+ g8 U5 I3 _' q% Y8 x
  496. ; is On you will not log errors with repeated messages from different files or9 P" F% J% S7 F
  497. ; source lines.
    6 O4 i, `( I( o; \. k2 e9 f/ p
  498. ; http://php.net/ignore-repeated-source
    + l+ _7 \0 ]' R
  499. ignore_repeated_source = Off
    0 _7 h! v# p) F1 D% x. K" ~  ]

  500. # d* f" y' B- ~. }  e  r$ I
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    : f0 o6 D! i4 P
  502. ; stdout or in the log). This has only effect in a debug compile, and if9 O! m1 ?2 s; _# i2 z
  503. ; error reporting includes E_WARNING in the allowed list. q3 b3 I* ]4 i; ^' O
  504. ; http://php.net/report-memleaks
    * }/ B6 h: |  i9 H& E
  505. report_memleaks = On/ j2 R4 a, o, [5 E. D5 n4 F  N

  506. 6 P# ?, |! ^5 l+ ^) o' H  h* B
  507. ; This setting is on by default.
    ' q7 D6 ?+ E7 O2 [+ V+ S( h: d
  508. ;report_zend_debug = 01 S' `% q. c* X1 g

  509. / i" i0 j0 B; N' e" [$ z  J
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value, V( n: J& U' c& I0 U# ^+ l
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    2 a  d2 y) F* N) b9 A
  512. ; however be disabled on production servers.
    6 s1 J1 L) U+ D: r$ ^+ _
  513. ; Default Value: Off& b; X0 t) V2 M. j& C" S
  514. ; Development Value: On
    " p1 s0 ~$ n, J. }
  515. ; Production Value: Off
    4 v* ]7 N& E5 C; m8 e. i
  516. ; http://php.net/track-errors
    & C  T% c& V. |3 U7 V
  517. track_errors = Off' m# o3 u3 r: w
  518. , D: {& T5 P2 s/ i+ f9 S
  519. ; Turn off normal error reporting and emit XML-RPC error XML' m2 ^) D+ u! Q9 g0 d9 S% m: G0 B' ?; N
  520. ; http://php.net/xmlrpc-errors- j1 H! _* t  j3 \, W. |! ~
  521. ;xmlrpc_errors = 0* _( T. Q7 u! C$ e4 H" O1 x
  522. 4 p) r2 Y) b8 q, b2 G! c. x
  523. ; An XML-RPC faultCode" q/ E1 V5 r- Y& E
  524. ;xmlrpc_error_number = 0
    3 B7 `) M* h$ @5 @& T1 D/ `8 L
  525. & c( T9 [4 _- t& |4 ]: V0 D
  526. ; When PHP displays or logs an error, it has the capability of formatting the5 e3 C: V' h8 k: U' J0 O' B0 ]
  527. ; error message as HTML for easier reading. This directive controls whether6 L2 k3 h+ l+ F" X: i. ]- m
  528. ; the error message is formatted as HTML or not., K* z+ [, Y3 c. j0 k
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI0 e3 ?* Q* l, R; N+ P
  530. ; Default Value: On
    ) d6 |; W% n6 n! ?5 I
  531. ; Development Value: On
    9 d, \% X  {0 C' X7 I$ r
  532. ; Production value: On- e( q; G2 p7 A" {+ P: E" L
  533. ; http://php.net/html-errors/ H6 S  O7 D; D* c  C" W
  534. html_errors = On
    / [* e2 K" J$ B; a. P
  535. 9 L+ n) P; H) _% e+ C/ ~
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . O! e5 n/ B7 u1 p! Y
  537. ; produces clickable error messages that direct to a page describing the error
    . V: d9 M( n3 N) m: m4 K+ d
  538. ; or function causing the error in detail.
    / C5 K! ]' k6 d, [9 u/ w
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    , |$ d9 I6 Y8 C- o5 ^
  540. ; and change docref_root to the base URL of your local copy including the/ Y) a, E, }0 L% x1 U/ C* |
  541. ; leading '/'. You must also specify the file extension being used including! E, }; W/ O; P% `& a
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    3 c4 u, y( i, a4 x0 `* J8 y1 H+ b+ }
  543. ; case no links to documentation are generated.7 X& _0 `5 ]& Z' x# ?6 V# e8 n
  544. ; Note: Never use this feature for production boxes.4 q1 `; I' w. R' a- K
  545. ; http://php.net/docref-root
    ' y. A/ v2 m$ }. ^1 f  Q
  546. ; Examples
    ( \) b" a" W# Z$ J% e
  547. ;docref_root = "/phpmanual/"+ V. G  \/ G5 r2 N* S* m

  548.   W3 d# t0 A" R; m
  549. ; http://php.net/docref-ext$ }0 w- q- M. |# r3 w9 _
  550. ;docref_ext = .html
    * i- _& i& j/ |0 ^6 @0 p

  551.   ]! N3 i/ n; W% P# d3 J, D2 P
  552. ; String to output before an error message. PHP's default behavior is to leave
    2 _& [) x0 I: s( U, H* J& s
  553. ; this setting blank.
    1 J5 b3 N& m) `
  554. ; http://php.net/error-prepend-string6 v4 f! Z' I% S7 W
  555. ; Example:. p  {: ]  v- G8 x7 X
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % U5 n+ x9 l4 N/ p5 B1 }; j. c9 ]2 D

  557. & t8 j0 z% ]# w- H
  558. ; String to output after an error message. PHP's default behavior is to leave- k' Z4 l* g4 N: O$ Z' d1 |3 p1 F, C
  559. ; this setting blank.
    # `; C$ p6 ~+ a9 |
  560. ; http://php.net/error-append-string
    6 J1 g5 B3 Z# M. R
  561. ; Example:
    , i3 i2 ?6 M3 [/ }
  562. ;error_append_string = "</span>"
    ; E5 e( d/ X2 I+ d
  563. - s5 V' H  u3 n0 P& |. w
  564. ; Log errors to specified file. PHP's default behavior is to leave this value4 j* r: j. O2 h: Y9 z
  565. ; empty." z; N. T& p8 |* s
  566. ; http://php.net/error-log
    2 O0 P5 q# b0 {
  567. ; Example:' W# Z9 L7 n" Z2 K1 l7 t- H
  568. ;error_log = php_errors.log
    ' h0 T2 b) N0 t0 H0 q* b0 v
  569. ; Log errors to syslog (Event Log on Windows).; R4 b  t; X  a) L. a
  570. ;error_log = syslog
    5 S7 m" ]2 C! ^" A
  571. 9 o8 ?5 \3 R2 L0 {- l
  572. ;windows.show_crt_warning7 ^0 s% Y5 n0 @" X0 h
  573. ; Default value: 0: `5 A7 Q4 r9 v/ e' t5 q
  574. ; Development value: 0  ~& v- \7 j+ T& G( K
  575. ; Production value: 0% L: c& I2 h# Z$ O# p
  576. 2 c+ L6 c+ L  C% S1 Z
  577. ;;;;;;;;;;;;;;;;;
    3 e$ {0 q8 V5 G. N, j
  578. ; Data Handling ;
    ' }# Z1 n4 R% b5 w2 V4 R6 c" `# o
  579. ;;;;;;;;;;;;;;;;;" Y, ?. B' R/ W3 @8 ]# d; ^' t

  580. # |4 N/ q% V9 `* q4 X5 Y  x/ Z
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 u1 }  F" c, q7 A
  582. ; PHP's default setting is "&".
    9 a+ ~  |6 m/ c. l7 r; r
  583. ; http://php.net/arg-separator.output8 U* p4 R; T! {. o9 ^& X
  584. ; Example:
    6 z) H( q1 n( |+ d  w
  585. ;arg_separator.output = "&"  @8 _+ P, w$ s' h

  586. : {$ N4 a2 y; |2 f/ b4 a6 a
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    0 a  b6 E+ ?# ^$ }; ^
  588. ; PHP's default setting is "&"." O" J1 a' o0 f* _5 u4 f* {5 L
  589. ; NOTE: Every character in this directive is considered as separator!
    " `; s8 Z6 Q* c' S- Y
  590. ; http://php.net/arg-separator.input
    2 B) @/ ], m  f" B
  591. ; Example:+ u9 v% B# N/ `! ~6 @
  592. ;arg_separator.input = ";&"
    : z; p+ p% a2 P: W9 J

  593. " P* q, o$ Z9 v% g) H( x
  594. ; This directive determines which super global arrays are registered when PHP
    1 M# h6 k3 I9 P' }0 s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 v8 h" z- s4 g( b" e* ~1 [0 e: p( _) H
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    1 O* M' q" E2 Q2 e6 O6 q" F
  597. ; paid for the registration of these arrays and because ENV is not as commonly" S5 e3 X" R+ x
  598. ; used as the others, ENV is not recommended on productions servers. You" V( n# k! g0 G& d  u# x
  599. ; can still get access to the environment variables through getenv() should you$ g6 _0 B) O0 e/ v% ^
  600. ; need to.* q- {: q1 M4 G7 {# ]
  601. ; Default Value: "EGPCS") ]+ c) y/ Z+ m
  602. ; Development Value: "GPCS"
    1 U6 A. h: _# i3 J
  603. ; Production Value: "GPCS";: J- F% |- [  Q( N3 P1 s
  604. ; http://php.net/variables-order
    4 F7 L( b7 l2 ^& d+ s; ^
  605. variables_order = "GPCS"7 C! l$ o+ D- r

  606. : c0 W# E# r# D5 S1 E: h7 s
  607. ; This directive determines which super global data (G,P & C) should be6 v. i  O8 n& V
  608. ; registered into the super global array REQUEST. If so, it also determines" [0 M" h& }) X, L2 G
  609. ; the order in which that data is registered. The values for this directive
    " c$ I+ E: J2 o; g) K9 g7 d
  610. ; are specified in the same manner as the variables_order directive,  c  ], f  E- |9 K
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& @: |5 ~3 k' B# ]; C; N- o! j
  612. ; in the variables_order directive. It does not mean it will leave the super
    + F( q! t! i) e1 ~8 t9 g
  613. ; globals array REQUEST empty., ^) W# ]8 q& b
  614. ; Default Value: None
    ) e1 O1 e1 \6 s
  615. ; Development Value: "GP"
    4 ^2 s0 d! t6 l
  616. ; Production Value: "GP": v) s1 O4 a9 @2 m1 u# B$ `. f
  617. ; http://php.net/request-order: ?! h# Q! R1 ^& \& J5 r) v
  618. request_order = "GP"# m' y, W. K* i2 e+ G; h

  619.   e4 e; ?3 ?0 ~! y: n7 d
  620. ; This directive determines whether PHP registers $argv & $argc each time it9 e! L0 X! C6 Z8 o. x% |/ M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 ~2 C0 m  c, w4 C9 k* i% G
  622. ; is invoked. $argc contains an integer representing the number of arguments4 u1 Y6 Z. X# S% O5 a' l* i
  623. ; that were passed when the script was invoked. These arrays are extremely7 l& ~. r( G+ P3 `- Y) l/ z
  624. ; useful when running scripts from the command line. When this directive is  S' S6 o. ~2 q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time6 O3 G# @; q+ R/ v
  626. ; a script is executed. For performance reasons, this feature should be disabled
    3 o9 x" b/ E1 i! E- X; ~* C
  627. ; on production servers.0 x6 L' W- r- C1 k
  628. ; Note: This directive is hardcoded to On for the CLI SAPI  l/ ]+ R  M7 c$ O% r) V# p
  629. ; Default Value: On
    / Z# @  L: j2 H9 ^7 D
  630. ; Development Value: Off
    " l2 b# g% F' W3 u# l
  631. ; Production Value: Off" [: k' \; ^* ], g% W" V" C/ ?8 n
  632. ; http://php.net/register-argc-argv
    7 |6 K6 O" u$ [$ E
  633. register_argc_argv = Off
    ! W+ n/ H3 T5 k/ G- _: j

  634. . v: I. S$ ]' E1 ^% P
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' X9 ^$ T; F# V' o# E- Z/ O
  636. ; first used (Just In Time) instead of when the script starts. If these
    ! ]6 ]& e2 n7 w0 g1 M
  637. ; variables are not used within a script, having this directive on will result: P7 J# }$ f+ M. q" E+ P, f
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 s7 G: g+ s* G6 m1 k9 E7 F
  639. ; for this directive to have any affect.
    $ b! Z  ^' {, B2 B0 b  W, g, i) ?" B
  640. ; http://php.net/auto-globals-jit& q* h$ h7 l) c4 v" U
  641. auto_globals_jit = On
    , _' e- s5 W: d6 ]
  642. 1 M; w5 Y1 G# \" _+ e& @
  643. ; Whether PHP will read the POST data.
    ( O: I3 }0 j7 Z( o8 [: V- [
  644. ; This option is enabled by default.% _0 R9 r; o8 }5 o  X% ]' K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST3 S' g% @' l2 q6 {* m
  646. ; and $_FILES to always be empty; the only way you will be able to read the
      E6 T/ R; q; c0 J1 o
  647. ; POST data will be through the php://input stream wrapper. This can be useful+ ?9 ?! j( o3 S: |
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 X% v/ c5 j# L7 X: j5 ?4 _2 [
  649. ; http://php.net/enable-post-data-reading: o' R$ i. F! E" p% ^; u
  650. ;enable_post_data_reading = Off
    0 _. B: H- b1 ]1 M- H$ Y% s4 b
  651. 1 s$ g- Y! w( o  _1 ~/ `8 y
  652. ; Maximum size of POST data that PHP will accept.: }0 r6 r. h7 k
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ! e3 E! u9 G8 k1 D5 B* ~
  654. ; is disabled through enable_post_data_reading.8 i* I6 W7 o9 e
  655. ; http://php.net/post-max-size* {  a8 Y7 N' R5 R
  656. post_max_size = 50M) O+ V1 f/ ~3 t! g

  657. + c5 q3 M& i9 r" t/ @. S
  658. ; Automatically add files before PHP document.
    8 s2 Z! D, Z( J/ j' J' O( ?
  659. ; http://php.net/auto-prepend-file1 a4 _! G* e2 H  J
  660. auto_prepend_file =0 ?. f& J% P. u$ B& G

  661. 2 {2 m. u% i3 q9 A' m
  662. ; Automatically add files after PHP document.
    # y& s' b+ f" E, p* E6 g
  663. ; http://php.net/auto-append-file# p- ?7 L0 f+ o1 F+ `
  664. auto_append_file =
    ! P2 l$ k2 N) o4 t+ T+ ?
  665. 0 E2 ~, @$ L7 m2 I$ g$ A8 f
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 A5 l, O: {  W/ R; Y
  667. ; disable this, simply set it to be empty." X) i. D0 c. `
  668. ;/ V+ ~. h  `: d' _
  669. ; PHP's built-in default media type is set to text/html.
    6 l3 i. |% S% O
  670. ; http://php.net/default-mimetype
    % g# ^) X& [# l7 `! I$ E
  671. default_mimetype = "text/html"1 E' @& E- o9 D$ y" @/ j" K4 a

  672. ) k% M7 G: o5 N4 W
  673. ; PHP's default character set is set to UTF-8.
    . O3 k: ]" U9 a3 m/ C0 U. P: Z
  674. ; http://php.net/default-charset
    0 b$ a; Q. F8 r  E
  675. default_charset = "UTF-8"
    7 q7 q6 }+ t0 p: B: Z- g
  676. % U9 ]/ t+ ~2 v
  677. ; PHP internal character encoding is set to empty.2 v, ~5 K9 s; n1 P- C
  678. ; If empty, default_charset is used.
    7 |5 m, X$ g0 X- @) {. r$ T
  679. ; http://php.net/internal-encoding$ G- H2 y; K/ d: \
  680. ;internal_encoding =: p# t- }# S7 O8 X  K8 m
  681. * x3 ]9 v, G& d
  682. ; PHP input character encoding is set to empty.1 m; I8 x! i, l6 o
  683. ; If empty, default_charset is used.
    + y/ l3 C( o9 @! o
  684. ; http://php.net/input-encoding) v# c- v8 S6 v! {" F+ g+ w" T5 g, b
  685. ;input_encoding =
    4 C. ^8 u$ y. Z5 W

  686. ; P& }5 b6 s" \: K2 M- {  w4 H5 S
  687. ; PHP output character encoding is set to empty.* d' g; y2 I6 `
  688. ; If empty, default_charset is used., V' Y1 Z6 ^* L* c
  689. ; See also output_buffer.; x1 f: ~1 `: F0 [$ Y) `' k
  690. ; http://php.net/output-encoding
    # r. N( B! e6 U$ }& k
  691. ;output_encoding =2 u1 q9 p1 @/ K4 M

  692. $ Q9 x$ i/ O# ~/ I: {' |6 ^% e
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % }! I7 H! e% g$ i% _6 k3 I& N
  694. ; Paths and Directories ;  N& v/ k! |( H
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;- p( C' f6 f8 H! O2 _/ r

  696. 2 M1 k2 ^7 `, H+ r) s2 g3 O2 n6 }
  697. ; UNIX: "/path1:/path2", g- J2 x4 s: Q& h6 n" O1 k- K+ u. c
  698. ;include_path = ".:/php/includes"
    $ m) ?6 V: ^6 s
  699. ;
    7 n; H& ^7 c6 q$ Q7 {
  700. ; Windows: "\path1;\path2"
    2 b- [: ?0 P2 c+ |; w
  701. ;include_path = ".;c:\php\includes"
    & y9 ?* V6 [9 D- _6 g7 E$ j" t
  702. ;8 k. {# R) K& h2 d9 N% j4 c  N5 _
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"0 c  t% C( R2 j5 P0 X
  704. ; http://php.net/include-path
    4 ^3 |1 t- `& D9 ^8 l
  705. 8 I- U4 ^5 O; U* X8 Y6 D( F
  706. ; The root of the PHP pages, used only if nonempty.% I5 \& o- c7 x
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 ^2 V( f! R( Y( j5 [
  708. ; if you are running php as a CGI under any web server (other than IIS)/ Z. }: }' R! N: i
  709. ; see documentation for security issues.  The alternate is to use the
    , {+ X2 _$ e" q( o& P3 `) E# n
  710. ; cgi.force_redirect configuration below9 |: |3 k6 f9 O) \/ s2 Z. t1 W
  711. ; http://php.net/doc-root- Z6 K8 ^6 F9 B
  712. doc_root =: k* t! G5 p; ~) k" z

  713. 4 J* W* `. _, }# R. a+ k
  714. ; The directory under which PHP opens the script using /~username used only: c2 q! L; D7 ~
  715. ; if nonempty.
    & `% J9 s) G2 x. {2 t" B& h& L
  716. ; http://php.net/user-dir
    2 R3 P/ t& ^8 ^! r( J4 H
  717. user_dir =
    9 z- J' l9 o8 K) A
  718. 7 `% o: _2 n$ k! m0 \" L
  719. ; Directory in which the loadable extensions (modules) reside.% R3 E# l$ d8 t4 J2 }& b
  720. ; http://php.net/extension-dir
    1 O; T8 H, @0 {" m. {& g, l
  721. ; extension_dir = "./"
    8 k0 y) E0 R% i8 v
  722. ; On windows:
    0 U% z* f' A; a" Q1 K
  723. ; extension_dir = "ext"4 I4 j' }, ?, d6 H5 W
  724. ; j# @4 N- D8 E3 P5 c1 T# ~
  725. ; Directory where the temporary files should be placed.5 X7 O2 B* L2 j% `6 Q* k0 h. r
  726. ; Defaults to the system default (see sys_get_temp_dir)
    & a  g3 c5 v7 U! H3 [) Q/ s: \
  727. ; sys_temp_dir = "/tmp"( X" v9 X" u# |' ~# D  w
  728. 6 C4 M+ e( p/ b: _5 n8 H
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 A/ Z' G/ _" h
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    + D0 \0 D! E4 l# P' k0 ]1 s% B- O+ B6 A
  731. ; disabled on them.# v% m5 J1 ^4 J1 [  v
  732. ; http://php.net/enable-dl( }7 Q: J3 J* c1 a$ S1 t2 L7 D
  733. enable_dl = Off$ Q/ g1 g/ b# l7 J8 p
  734. " r# Y4 ]# P7 M* v1 ~- n
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under5 o8 r5 d8 T" R1 h
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can$ p7 h/ N0 E  W
  737. ; turn it off here AT YOUR OWN RISK1 p+ u4 e1 I+ N1 Y. N0 ?7 Y
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 A' @8 ~, k) B# s
  739. ; http://php.net/cgi.force-redirect+ Q: m2 f9 w& p& Y% q
  740. ;cgi.force_redirect = 1
    ) q5 l0 j' z/ O' i8 a

  741. & f0 a* F/ c3 B& E
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    7 Z$ G2 \" S7 C- e9 r+ [3 Y; {
  743. ; every request. PHP's default behavior is to disable this feature.
    ; }; j1 f! {* A* v$ {% X3 S
  744. ;cgi.nph = 1, e! s( Z9 ?$ Y8 ~

  745. & Z8 I. x( O- A; \9 k
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape0 U3 @3 B$ E! ?
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP* s9 q+ S8 s0 |" B
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    - k7 N- [' B8 F- Q
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- g7 @  M! x2 D6 W) S
  750. ; http://php.net/cgi.redirect-status-env+ i5 W( T0 Y+ R' @0 p; b; S' b- W
  751. ;cgi.redirect_status_env =
    ( Q* C; K/ j7 s" C* Q
  752. " R, Z* V2 U3 f8 e7 G' j0 e( W# R2 C
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' p7 U* A  G& o- L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 ?4 Z% T# n: k" p! m
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    , X$ _" _4 `2 o( K3 u3 Y
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 ?( \% Q0 c: Y- Y) @! T3 b
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) _6 H+ s: U5 F5 K
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ n% |9 F  G( z$ z% U5 x* ?' p# O' J7 ]
  759. ; http://php.net/cgi.fix-pathinfo
    ' d1 L# S4 J1 v7 }
  760. cgi.fix_pathinfo=1
    5 i- q' {4 [! A# `8 ]1 w$ n1 P6 \

  761. 2 e+ A7 M. e& A* I! \' v4 [
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  l" T! m6 {/ m/ \% B" s. i9 L
  763. ; of the web tree and people will not be able to circumvent .htaccess security.: y* i" l+ x; |& g& v
  764. ; http://php.net/cgi.dicard-path' G1 }9 C+ q* C# d$ P+ X
  765. ;cgi.discard_path=1$ S7 s* C3 b9 |4 r! x
  766. % i  \5 c- L: s8 Q! C1 l6 b
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( ~& @# d/ J  v5 Z& Q
  768. ; security tokens of the calling client.  This allows IIS to define the
    6 h, Y& s* F) [+ V- U7 }& S
  769. ; security context that the request runs under.  mod_fastcgi under Apache1 N( e0 K  z+ F) {
  770. ; does not currently support this feature (03/17/2002). v' |2 Q0 d' A; o4 I2 i
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 s; J3 K2 f# O
  772. ; http://php.net/fastcgi.impersonate' D* E: Y. c, g' Y: t5 R& L
  773. ;fastcgi.impersonate = 1% t/ b2 K$ ^1 [
  774. 7 r2 Q3 U& F$ W2 |* g* Y$ Z" ?
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) m$ G0 I+ N1 z% a
  776. ; this feature.& ~# h# n! T- ^& C- P
  777. ;fastcgi.logging = 0. `9 A+ X! b1 V2 y4 d2 g. p" h

  778. 4 J5 f! ^- l% ^9 K  u- u
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ) p2 x1 s/ K, B% w7 r& B! @' G) C
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      o, T( k8 o9 x$ L1 a5 V: j
  781. ; is supported by Apache. When this option is set to 1, PHP will send' T) C  G( ~$ E3 F
  782. ; RFC2616 compliant header.$ m- l4 b2 D/ M6 c; H
  783. ; Default is zero.
    , P& |; o1 z/ s( C' ]: j
  784. ; http://php.net/cgi.rfc2616-headers
    ! g& S# t/ [6 A0 R! x0 C) I3 E& c
  785. ;cgi.rfc2616_headers = 09 W  E# ^% P  y, [4 x8 W
  786. / i( N4 _& l* F3 f# x0 M
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- D3 v7 n2 e/ ?; B: T
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ( G4 ^. h: D6 F# @
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    0 n" e) }- x2 x4 `
  790. ; mode skips this line and ignores its content if this directive is turned on.# m' E+ L% j0 H8 n
  791. ; http://php.net/cgi.check-shebang-line
    ! A; v6 g$ H! {! h% y. H
  792. ;cgi.check_shebang_line=16 v- o: t0 F* a8 X# I
  793. + o; f& ^( A) h+ K( r
  794. ;;;;;;;;;;;;;;;;& a: X1 c" j' y# f0 U& W
  795. ; File Uploads ;: d, U5 Q# \6 f% N: I) ]
  796. ;;;;;;;;;;;;;;;;
    # Y; t4 X" l) Y8 o0 i$ V# @& `

  797. : Z  {) ?" S$ a0 j' ?2 k
  798. ; Whether to allow HTTP file uploads.; B7 E& u0 J( l
  799. ; http://php.net/file-uploads; X% T( v1 `; t! D& S+ |7 ]* V. z2 Z
  800. file_uploads = On
    ! k, G# ?2 e; S" y
  801. " C- Q/ Q& l9 U! z
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ; o& M, n. n, R) {* r
  803. ; specified).+ v( n* Z# N6 H$ K, X
  804. ; http://php.net/upload-tmp-dir
    5 m4 d4 @6 F/ r$ B$ F' F
  805. ;upload_tmp_dir =( w  Y( W- x5 u; I* n/ f0 z

  806. 2 \. S; B' V9 g% z
  807. ; Maximum allowed size for uploaded files.5 v" y: p7 W8 E, W6 V  e) Z: j
  808. ; http://php.net/upload-max-filesize6 R! i. ]$ y8 P7 W
  809. upload_max_filesize = 50M( Q" [9 Y* b: w2 G

  810.   M  y& R, p  a' j6 i
  811. ; Maximum number of files that can be uploaded via a single request
    + z7 A6 C: I, x9 x
  812. max_file_uploads = 20, W! l7 s! D' q- u3 P& `( a# m

  813. 4 L+ B7 K- S& k. A5 g& M0 i+ ^
  814. ;;;;;;;;;;;;;;;;;;
    " j' c! M( ^: O* q
  815. ; Fopen wrappers ;0 n& e* K$ A1 V$ d3 X$ p
  816. ;;;;;;;;;;;;;;;;;;
    - C% u8 s, t' Z

  817. - m7 P) }* n2 X1 l, l: o; K9 f
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." n' r! T7 K) p% h/ I
  819. ; http://php.net/allow-url-fopen* j+ l# k/ C4 C) ~4 z0 e
  820. allow_url_fopen = On
    9 J0 a! F7 n" v% \' m" i( h
  821. 6 \  b/ T& {8 X/ l# O* Y' a
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & m7 \: Z" H% q4 y7 Q6 u& |
  823. ; http://php.net/allow-url-include
    ) V" r6 J- c2 c
  824. allow_url_include = Off
    5 z9 {+ {% C/ l; o1 ^1 B

  825. + y. P; V6 F4 j7 n# z2 V
  826. ; Define the anonymous ftp password (your email address). PHP's default setting2 E% O6 j5 u" T" Q' |
  827. ; for this is empty.
    8 g2 j8 `1 b- q; C% ~$ c
  828. ; http://php.net/from+ a* {; ?4 `8 R' B& p2 d5 J+ l
  829. ;from="john@doe.com"
    + Z% u/ d+ f5 f( S) P" y: ?

  830. 5 {1 l9 y0 r8 i8 m. J: _" L
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    4 b- _. W  [  D6 z: T: U; J
  832. ; http://php.net/user-agent7 `4 |: U  Z. l8 V) k+ w
  833. ;user_agent="PHP"( Z: ]* y5 i+ v5 F8 D( _

  834. & D6 o  C) J3 F9 C! B
  835. ; Default timeout for socket based streams (seconds)
    ! t7 l% M- j: p+ z& V
  836. ; http://php.net/default-socket-timeout1 M$ j" J! L& w: b3 Q
  837. default_socket_timeout = 60
    ' g+ @% L& Z4 t1 g5 u4 N

  838. 7 A  C- L" ?+ {! ~) J
  839. ; If your scripts have to deal with files from Macintosh systems,2 T# J  w8 o; m
  840. ; or you are running on a Mac and need to deal with files from
    ) j0 ?2 R9 d/ |
  841. ; unix or win32 systems, setting this flag will cause PHP to- q& u! y8 }6 Z7 J3 [7 \
  842. ; automatically detect the EOL character in those files so that
    6 z- `7 Q& _  L. b( l$ H% @
  843. ; fgets() and file() will work regardless of the source of the file.& U$ x- V6 c5 U
  844. ; http://php.net/auto-detect-line-endings
    ! N3 R' b; O6 V
  845. ;auto_detect_line_endings = Off
    ( I: C' z: {2 b! A

  846. ' D" ~2 O2 g7 K) o
  847. ;;;;;;;;;;;;;;;;;;;;;;
    - ~4 h% q! _' _( |
  848. ; Dynamic Extensions ;" D* S+ Q9 I0 G* n9 s$ b
  849. ;;;;;;;;;;;;;;;;;;;;;;
      o6 S4 X! x3 N% b2 @

  850. ' e& R+ H/ J5 N# A: A
  851. ; If you wish to have an extension loaded automatically, use the following8 F# |5 v; X6 P  p  E7 f: A. n
  852. ; syntax:) K  Q' t, A0 o( l. s0 Y
  853. ;* v* Q; x, {( x/ k/ x
  854. ;   extension=modulename.extension
    ) w! F6 `+ M. ~5 |7 l* r
  855. ;
    1 c2 u. u  t5 N( g
  856. ; For example, on Windows:
    / T, U  z8 r  ?, C$ V4 m( G4 p
  857. ;' Z# {# R3 `' c( m: w
  858. ;   extension=msql.dll
    3 l! h$ _$ x9 g% ~6 x" ?% f
  859. ;- p5 z8 S7 E1 \, ^3 X7 H/ v; v; G$ n
  860. ; ... or under UNIX:
    , {$ ?) i3 _0 G$ F$ I( s4 O
  861. ;
    4 l& }% W, ]7 o/ p0 S" m7 m, O
  862. ;   extension=msql.so
    + F+ z5 G% E4 G6 [5 U" o
  863. ;
    $ M6 M" t2 l% G  z
  864. ; ... or with a path:. j* x; s3 q! ~! M( J0 s& w
  865. ;/ t& d% ]( ]  l0 r
  866. ;   extension=/path/to/extension/msql.so. x) r: L. L6 t) d
  867. ;
    2 ?! l  f/ B) w8 ^# }* g$ u0 C8 W
  868. ; If you only provide the name of the extension, PHP will look for it in its7 s8 r( G4 R6 G, S1 A
  869. ; default extension directory.
    ; [$ @) @7 n* L! `6 M6 m- J! W1 D
  870. ;
    " H$ @; I. O* C6 J& U; j
  871. ; Windows Extensions- A) k6 }% o2 i, z  `5 ?
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ' w4 `" q) L% Q* {7 R7 h
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    5 Y6 N& K2 k' M  J! {% F  P$ A
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ; A0 g2 f- W- r
  875. ; Be sure to appropriately set the extension_dir directive.
    + s9 U6 `+ X5 ?. e+ m, D/ w  [
  876. ;
      X& m+ u2 P5 r, h
  877. ;extension=php_bz2.dll
    & o2 j7 T9 I: P$ V" ^
  878. ;extension=php_curl.dll
    $ |# q7 e% u& l1 c. S
  879. ;extension=php_fileinfo.dll  ]4 Y/ ]2 T5 t6 Y3 Y
  880. ;extension=php_ftp.dll- i( b3 o" Z2 B+ l" U  b
  881. ;extension=php_gd2.dll
    ; v, G" I; C0 }
  882. ;extension=php_gettext.dll* Q# }4 M9 [* T: v( q/ Q
  883. ;extension=php_gmp.dll
    9 I( i- @. c. D) C
  884. ;extension=php_intl.dll4 \# X2 {& j; U% x
  885. ;extension=php_imap.dll) x8 B$ ^" C5 |6 o+ ]% `
  886. ;extension=php_interbase.dll
    , R" Z+ P5 `2 n$ W8 [; N$ A" W
  887. ;extension=php_ldap.dll
    ' t9 h0 p$ u% y6 @
  888. ;extension=php_mbstring.dll
    / p$ b0 s/ J; B5 |; L
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 L: l8 w: ]# x+ b% _
  890. ;extension=php_mysqli.dll# B3 q5 S+ k4 Y/ U( e  i
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client8 Z2 _' e* Q  Q# V9 X/ \
  892. ;extension=php_openssl.dll3 Y2 o3 [6 t+ j$ |* H; d# s" C
  893. ;extension=php_pdo_firebird.dll- ]7 p3 I# N0 {# b' g: i' v
  894. ;extension=php_pdo_mysql.dll& ?* Y! a5 P, V+ J; ^1 H
  895. ;extension=php_pdo_oci.dll
    7 S1 ]. V8 A7 r/ B% l
  896. ;extension=php_pdo_odbc.dll/ }% I, }) a7 J( e% y& p
  897. ;extension=php_pdo_pgsql.dll
    1 k0 s3 E1 [3 z
  898. ;extension=php_pdo_sqlite.dll
    , f0 z- p$ P( o
  899. ;extension=php_pgsql.dll
    : T7 R! }/ I# j5 h1 y- O
  900. ;extension=php_shmop.dll
    ( K7 H! q( F. g" d, E0 V4 e

  901. 7 z* w; K' J5 @5 ~
  902. ; The MIBS data available in the PHP distribution must be installed.
    ( }9 A2 e0 K  Y( C
  903. ; See http://www.php.net/manual/en/snmp.installation.php: r0 o; f' X3 J# m% K  a0 e
  904. ;extension=php_snmp.dll8 R1 n% o0 j6 D) [" w
  905. 7 Q) f) w9 Q+ ~* P& ^" m
  906. ;extension=php_soap.dll
    ' [% c' m  b- w4 c7 M+ h+ @8 z
  907. ;extension=php_sockets.dll' q3 i5 X- V. U
  908. ;extension=php_sqlite3.dll- b' I  G$ j* K+ Q0 l) M7 \. y
  909. ;extension=php_tidy.dll
    , u$ {. `: a  r4 z( @
  910. ;extension=php_xmlrpc.dll" }2 X7 J- c2 k# ?" o
  911. ;extension=php_xsl.dll
    $ f, L; `6 o# k' ?2 V9 m" J+ }

  912. : F: O4 K: Q% [5 r
  913. ;;;;;;;;;;;;;;;;;;;
    + g* i1 ~# }- g7 r: m
  914. ; Module Settings ;
    9 X( y4 i. y8 u/ _8 F' \
  915. ;;;;;;;;;;;;;;;;;;;0 M. J# C9 X+ X0 {- [
  916. % I. h% E  `# Z! X( j: p. I
  917. [CLI Server]
    5 a- v8 f6 V9 k* x" a' x$ [
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.7 h4 @6 u$ m& O, M8 a# r
  919. cli_server.color = On
    1 ]0 K/ i) I* i' I/ n
  920.   h1 Z6 [0 }. ~1 S
  921. [Date]; A. z+ z" X6 o0 [* j% s. \9 C- C  V
  922. ; Defines the default timezone used by the date functions
    ' v% v/ Q- r! t9 T/ f  a. D
  923. ; http://php.net/date.timezone
    7 A. R4 O5 W, {1 a
  924. date.timezone = PRC* t7 r) y8 r- E; S& c

  925. 7 @' }0 {6 Y/ a8 ~9 p- m
  926. ; http://php.net/date.default-latitude
    " ~# r( [+ L& h5 Q( t
  927. ;date.default_latitude = 31.7667
    7 ?. r6 Y9 v1 H
  928. 3 O7 S: [8 G8 A( q
  929. ; http://php.net/date.default-longitude
    0 i  o! s1 j. p. k
  930. ;date.default_longitude = 35.2333
    # d9 t8 r5 l7 O/ C  o/ |% y
  931. / ?. C% R- h0 |+ \5 B0 l, X
  932. ; http://php.net/date.sunrise-zenith
    / z0 a/ x8 {- K  Q: p
  933. ;date.sunrise_zenith = 90.583333
    ' h6 |' {9 K) T( N
  934. ' @! R% T( J2 H" Z$ _( l% ?
  935. ; http://php.net/date.sunset-zenith( ~5 d9 u9 ?0 U9 f! i7 ?
  936. ;date.sunset_zenith = 90.5833339 N% h" i' y! }' W  Q* s
  937. 9 o* R# t' J% J" Y2 e( T
  938. [filter]: `4 _& x  G4 ]
  939. ; http://php.net/filter.default" N# L" G! O/ L5 W. D/ l. }: I
  940. ;filter.default = unsafe_raw
    5 s7 i6 V, _6 V! _0 Y' v# P
  941. ( j+ f3 d8 s$ O' Y3 e
  942. ; http://php.net/filter.default-flags
    " J# X9 ?; B" F2 n, {) X% N
  943. ;filter.default_flags =6 B, U, u8 j) Y' R

  944. + ~4 w6 E2 J! e' o( X! c
  945. [iconv]
    0 n3 q8 }1 b. f1 F& \! U4 A
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - H2 g- Y$ e4 o& b3 c2 I
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & @3 w. e4 o% A; z  i# {4 T# Q
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    1 x. ?9 y& ~' |* L
  949. ;iconv.input_encoding =8 k9 u. a- |9 {; s

  950. 0 ]' ~! x" D* C! Z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 }- q$ x9 S% U$ x8 [) d
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  v/ r! c) |* Z- }' u2 Q3 U7 [* |; k
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! V. F8 F+ {6 E& {- E/ z+ f
  954. ;iconv.internal_encoding =
    / W" b' o5 u, h! t& m4 t

  955. & Y7 q4 {7 |: ^" v5 z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    * Y! O6 ?8 [' s9 E; k, G$ ?* J; u
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.9 ?8 H2 k( _* _7 w% e
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    / _6 ~' j% j- m9 j8 o9 {! A
  959. ; To use an output encoding conversion, iconv's output handler must be set) Y8 t6 b0 O# H' ~( L% h. g# p
  960. ; otherwise output encoding conversion cannot be performed.
    , U% F# I$ b2 ?$ ?0 m
  961. ;iconv.output_encoding =& M. X/ h6 n6 ~' X2 K9 f

  962. 7 h/ L- U# X/ Y0 W5 V) K
  963. [intl]$ \: U; Y9 k& _* V& G. T
  964. ;intl.default_locale =6 [  |% b. N. O6 w4 _. D( o" X
  965. ; This directive allows you to produce PHP errors when some error
    " Z6 I' U6 ^2 O( W4 j; V1 L" _& E
  966. ; happens within intl functions. The value is the level of the error produced.2 D; ]  Y* _6 m8 ]
  967. ; Default is 0, which does not produce any errors.& E$ f9 e- G9 x  b& Z5 ^9 K: A4 X
  968. ;intl.error_level = E_WARNING
    , P9 v, Q3 x5 |* [
  969. ;intl.use_exceptions = 0
    ( _2 z. }  ]! n; s, s

  970. ; O" B0 Z9 p3 u  p
  971. [sqlite3]
    ' K7 R- b! U* @% C
  972. ;sqlite3.extension_dir =
    1 J5 I8 Z  O, c/ @
  973. 2 R/ V6 x; ?4 H1 \) h4 t, H
  974. [Pcre]7 D, ~2 X. W: _
  975. ;PCRE library backtracking limit.: a0 l. Y+ c" c- F* ?/ v, A7 k
  976. ; http://php.net/pcre.backtrack-limit
    # n" w9 U1 g% V  |7 E7 b
  977. ;pcre.backtrack_limit=100000
    % I( j1 Q$ u4 U5 s+ ]! t7 k7 P
  978. % {4 G. Y4 t# F5 }; q
  979. ;PCRE library recursion limit.5 v  V( S3 D/ h* g
  980. ;Please note that if you set this value to a high number you may consume all0 j8 u0 m% e# K9 V& n
  981. ;the available process stack and eventually crash PHP (due to reaching the9 a; m5 A" f: A2 j) a+ {
  982. ;stack size limit imposed by the Operating System).9 P) W8 F( N+ P/ y
  983. ; http://php.net/pcre.recursion-limit( ]! _$ J0 ~/ Z6 M
  984. ;pcre.recursion_limit=100000+ ~# J- F: n) X5 `

  985. 4 P1 Y* L: I' L- _% t
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " W) C  t, W. X3 R0 S0 r2 s7 N
  987. ;library to be compiled with JIT support.
    4 T, L4 Z/ O+ z( ]( T" z: B
  988. ;pcre.jit=1, K' ^$ E# T6 \# ], B$ v

  989. 3 @' y+ c+ l3 \1 W# }
  990. [Pdo]% Q1 [4 a! R7 q$ h& S: Y
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' B* C4 a: {+ v, B/ e5 g! o! e. _, k
  992. ; http://php.net/pdo-odbc.connection-pooling: Y; P9 r$ q! q3 Q$ k3 g1 Q
  993. ;pdo_odbc.connection_pooling=strict1 A) ?5 r; [5 D& m! U

  994. ' N! H. `9 R) w; a1 W1 Y
  995. ;pdo_odbc.db2_instance_name; Z: z' B& [+ k, r9 F
  996. 3 S+ I" m: K( @2 s( A
  997. [Pdo_mysql]
    + K: y- q7 m. |7 s+ n
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; ~- M  F% n$ M4 a$ j: b
  999. ; http://php.net/pdo_mysql.cache_size
    1 J; D1 K$ N4 [+ O# j3 T
  1000. pdo_mysql.cache_size = 2000* D' W/ p% ^* w& d

  1001. & N4 m$ J0 o! ]! }8 r, O/ E( b
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in& ~4 a8 Z9 W" c* j
  1003. ; MySQL defaults.! u% y0 y; U0 r/ p) _4 O% V
  1004. ; http://php.net/pdo_mysql.default-socket
    / W* W: a2 q6 Z
  1005. pdo_mysql.default_socket=8 o+ V! o" t% _3 m# o6 e6 Z! j' O1 G
  1006. ( O4 W' }6 U/ _1 X" G0 T3 m& M# o
  1007. [Phar]- d# F! l6 Q- E
  1008. ; http://php.net/phar.readonly
    ! I4 n$ b+ s* [/ C4 B
  1009. ;phar.readonly = On; L& u- h' f' }* M- l1 w* j5 T- K: b
  1010. 7 y) ]( E% o5 l
  1011. ; http://php.net/phar.require-hash$ }% _2 k+ f  d6 a# Z) T- d
  1012. ;phar.require_hash = On" a* {% m8 X+ Q( C  Z
  1013. . n7 i* }: W6 s: [2 f; G, P6 c
  1014. ;phar.cache_list =
    4 H6 S' `8 J- D: A8 n4 H
  1015. 2 c- |! _6 z9 v1 O+ Q% T! [
  1016. [mail function]% }/ Y. p" q% a+ ~- c3 y
  1017. ; For Win32 only.& Y5 J* _7 E; u1 s' g/ q
  1018. ; http://php.net/smtp, b# W# i2 }" s! m/ v
  1019. SMTP = localhost
    + G$ J) N8 }% g# ^+ v0 ]
  1020. ; http://php.net/smtp-port9 ?8 C2 W5 b& P' j% x
  1021. smtp_port = 25
    4 V% n& I) A9 G# ~

  1022. . x* g7 d. i/ B: @3 \2 F- {6 O
  1023. ; For Win32 only./ z: S1 d" W+ `7 T% P
  1024. ; http://php.net/sendmail-from
    $ f, ^2 x7 [# L6 Y1 G
  1025. ;sendmail_from = me@example.com
    ' @7 q  ]( O1 V% O" I/ w
  1026. 8 W/ H! S5 V8 a* H9 T
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  [) R' N" G5 A; p/ d; u# V
  1028. ; http://php.net/sendmail-path! a5 X  y9 @/ C/ W
  1029. sendmail_path = /usr/sbin/sendmail -t -i+ v+ r# [& Y( ^3 K7 \, [
  1030. 5 h! g" X3 S" V0 y; N0 d5 Q
  1031. ; Force the addition of the specified parameters to be passed as extra parameters3 c* B" }1 D$ C5 p- ]
  1032. ; to the sendmail binary. These parameters will always replace the value of
    8 Z6 _! K( N1 y+ M; r
  1033. ; the 5th parameter to mail().& c8 ~. ], g1 e) P0 ?' N
  1034. ;mail.force_extra_parameters =" }) }& B. H) f" a: l0 }1 M+ @

  1035. , n1 s" v- f7 o) t, e) J2 C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! u7 w# g) g" J
  1037. mail.add_x_header = On
    - I$ G1 m/ b7 e+ i

  1038. ' b6 s  g# c$ Y9 u- y0 T% G/ S* s: c
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    . g9 c! A; n4 w0 G0 c& n; r% l5 }/ \
  1040. ; the full path of the script, line number, To address and headers.+ n' v  z! [2 k' `% p$ _
  1041. ;mail.log =: t  c5 Z5 C6 }# M* u; ~
  1042. ; Log mail to syslog (Event Log on Windows).: x9 Y/ b0 A! ?5 @5 n
  1043. ;mail.log = syslog
    4 H$ k5 r9 a+ j- b7 U
  1044. , i9 l- }/ j' ~* B7 G
  1045. [SQL]
    0 c- ^' _! W$ M- n% Q7 p
  1046. ; http://php.net/sql.safe-mode& |1 N. m: x! T5 V; y
  1047. sql.safe_mode = Off
    * T/ F& Q+ Q% d2 {' Y
  1048. + {3 A6 `1 V% w2 Q7 M
  1049. [ODBC]4 Q3 e; ~; I+ i( ?/ H6 g
  1050. ; http://php.net/odbc.default-db
    ! m7 A' y0 [: M4 F
  1051. ;odbc.default_db    =  Not yet implemented
    0 ?! a! ^' P, j
  1052. # l% T  v' S6 Q+ `+ v$ `3 T
  1053. ; http://php.net/odbc.default-user
    2 U' w8 [5 t8 ^, k1 J! P
  1054. ;odbc.default_user  =  Not yet implemented
    1 {. V* P, G! C$ x9 [; m
  1055. 6 R% S- w% C( W" P6 C1 \! Y
  1056. ; http://php.net/odbc.default-pw
    * w$ q' j7 Q$ [% P% ?- G% y
  1057. ;odbc.default_pw    =  Not yet implemented  d4 s: r5 L& g# _' T# T

  1058. 8 u- ?5 S/ U8 @5 b7 ]
  1059. ; Controls the ODBC cursor model.* U. T( D7 e6 `
  1060. ; Default: SQL_CURSOR_STATIC (default).( ~, h# p) ^& V
  1061. ;odbc.default_cursortype
    ( y6 R# C9 {4 G* W/ N

  1062. ! N. H" M+ m% c+ k3 n/ e3 s/ p. ]
  1063. ; Allow or prevent persistent links.; y4 L/ Z& K' s* z" ^1 t& C( J) [+ d$ T
  1064. ; http://php.net/odbc.allow-persistent7 X: v# F4 \6 \, D& k1 P, u0 I* n& h
  1065. odbc.allow_persistent = On
    8 c. e& T- b: `0 Q
  1066. 0 H5 p7 B8 F3 z/ n
  1067. ; Check that a connection is still valid before reuse.
    # k. F- }, x3 p
  1068. ; http://php.net/odbc.check-persistent9 ^5 U& k, L1 E+ i" f3 \8 i# {; y$ ?" M
  1069. odbc.check_persistent = On- i: `9 I  D% ^
  1070. % ~5 M. C: n, L+ ^: p& @
  1071. ; Maximum number of persistent links.  -1 means no limit.
    , _4 D: k* _% D# s5 W# x2 G( w
  1072. ; http://php.net/odbc.max-persistent
    % q: P+ M4 {% c, h
  1073. odbc.max_persistent = -1  g) D$ F3 B) x. @' k- a$ T
  1074. 4 M. Y# Y$ b" v: w/ j
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    3 `( E9 E, T( e0 I% F$ y+ N
  1076. ; http://php.net/odbc.max-links
    : w* \$ Q. ^9 ^' z) J5 P
  1077. odbc.max_links = -1, u7 g  P- f. F9 ~
  1078. - J+ ?/ n5 Q% b! B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    7 l% I$ j- z& \* ^$ u3 p3 ?. {
  1080. ; passthru., k6 [! c0 P- ?& b. j: B6 t$ V
  1081. ; http://php.net/odbc.defaultlrl
    + s, D. L# O* g$ ^- [
  1082. odbc.defaultlrl = 4096
    5 Y* e' ?! _; q

  1083. 0 x) r$ d0 C2 h, Q, X9 L8 D
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - J3 Y1 ^2 g. N% u  n
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ! S1 h5 ?$ D9 _  O& Y5 ?* O
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode4 q$ s7 J7 {6 {2 a& i. J
  1087. ; http://php.net/odbc.defaultbinmode
    ( E) t1 {* o5 Z' I: L
  1088. odbc.defaultbinmode = 1
    & U8 z5 F; F1 ]' t$ V

  1089. + {" _: w6 e. @' i+ `7 c5 N
  1090. ;birdstep.max_links = -1
    9 @! a% G6 W( [. L$ [5 t+ l4 c. y

  1091. 4 Q' ?# b; V$ z. F7 O4 z
  1092. [Interbase]
    1 _8 L  C. D5 ~3 p5 N4 Y" X
  1093. ; Allow or prevent persistent links.
    9 y! P# C- H1 q% G
  1094. ibase.allow_persistent = 17 Q  d: T- n- Z! w7 e& k
  1095. # |8 l$ X9 h, m2 o' E
  1096. ; Maximum number of persistent links.  -1 means no limit.- t0 h( m0 X! Q' e
  1097. ibase.max_persistent = -1
    5 k4 l9 I" ]! O7 X* u$ d; X
  1098. . X, w/ d$ _! |% Z; @
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 \  ]: ~8 V/ c% f9 a9 k
  1100. ibase.max_links = -1: z  M. E% g+ W1 t
  1101. % j7 e3 U3 T6 w+ r1 `: ?
  1102. ; Default database name for ibase_connect().
    . o; c, N, S1 A" Y* ]  a6 H; @+ Q
  1103. ;ibase.default_db =  p# D+ f- r' L. F' N9 ?3 h+ N
  1104. " X3 b  U/ b0 y4 @' B/ K% d
  1105. ; Default username for ibase_connect().
    8 i" w" X. J+ i' b  g0 o, ~
  1106. ;ibase.default_user =) y5 ]0 \5 N" D6 u! V/ N

  1107. & v+ X, h; A0 L+ p9 Q
  1108. ; Default password for ibase_connect().
    & L& K- x6 c: d! `$ f
  1109. ;ibase.default_password =
    % P( f. ]# Y* Y7 i  \* h; T
  1110. ( m+ c. _+ t: x3 q9 q
  1111. ; Default charset for ibase_connect().
    - S. N5 n' \- f1 k
  1112. ;ibase.default_charset =
    ' K, ^2 q; P% E# L& a4 X; x* m

  1113. ! {5 {5 ]! _4 T% f8 r
  1114. ; Default timestamp format.
    ) ?: E: b7 M) N3 b
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ ^' z. J. k) ^5 z9 y- O1 ^7 j7 F
  1116. + T0 \8 V/ Y$ U) }
  1117. ; Default date format., r7 f) z6 }# Q* }
  1118. ibase.dateformat = "%Y-%m-%d"
    7 r# J$ K+ {* A  O

  1119. 2 }0 s3 T& f  E6 G" o
  1120. ; Default time format.
    9 X! F7 z8 h. c( A+ p& b% V
  1121. ibase.timeformat = "%H:%M:%S"
    - K" ^, [, C+ W! _/ Z; l

  1122. 9 H) }  Z* w& U+ x9 d0 H. n
  1123. [MySQLi]: `( F# h8 S' O) C2 N7 \! D
  1124. 1 M6 U& F  v% x2 Z0 b4 P9 Y9 Y% C" F
  1125. ; Maximum number of persistent links.  -1 means no limit.9 i2 D# V- E4 u
  1126. ; http://php.net/mysqli.max-persistent& ?8 Y( y  }* }* \2 Q
  1127. mysqli.max_persistent = -1+ Z% r4 R, U( P' s/ E: m5 ]
  1128. 4 `: j0 k) s- f9 R) y
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 U- |( d! C/ u% l1 p$ R) \( X0 N
  1130. ; http://php.net/mysqli.allow_local_infile2 l8 z1 a/ a% j6 B' h! n
  1131. ;mysqli.allow_local_infile = On! ~% L! ]+ s' S" R# k

  1132. % B. z1 D1 W9 _8 ]( E! P
  1133. ; Allow or prevent persistent links.0 a' F, A7 A2 q
  1134. ; http://php.net/mysqli.allow-persistent
    6 \9 K: M' P& h. G# x1 T
  1135. mysqli.allow_persistent = On
    ; A/ T* g+ D/ m$ F: a2 f( G9 Y

  1136. 2 a/ j5 {' ^3 X" t
  1137. ; Maximum number of links.  -1 means no limit.
    * N. P9 i) V, r2 C. t
  1138. ; http://php.net/mysqli.max-links: b+ B0 e, f( t. X1 D
  1139. mysqli.max_links = -14 S) Q+ h/ @0 `

  1140. . v+ c. O% @7 }- X
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . Y% L1 }6 P) {% f/ [
  1142. ; http://php.net/mysqli.cache_size) ^1 u" c# T5 B8 ?) S! o
  1143. mysqli.cache_size = 2000  X3 H4 n6 S6 k4 D6 C, a: D
  1144. " ?8 i4 W' |2 u: i( t, c7 U& L
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    * j, H. q3 ~( G& p# f
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 s, r: I) j1 Y  D1 p4 I! a
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 |2 {. k2 M4 B, B2 ^% s0 L
  1148. ; at MYSQL_PORT.
    - m. h: D, `% R& A/ v  [3 k
  1149. ; http://php.net/mysqli.default-port* w% a6 E* T$ i# l
  1150. mysqli.default_port = 3306
    / ~3 @  |7 _% C% c9 f/ U

  1151. % n4 U' X' z. A" `* Y- i; [0 F
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ j. S1 |& J$ m+ d
  1153. ; MySQL defaults.( `. ~% n( s1 I* b0 s& a
  1154. ; http://php.net/mysqli.default-socket: u! p7 t1 B  U6 k* ?
  1155. mysqli.default_socket =
      V, _" R" i- E* I' w
  1156. 0 \7 d- C8 ?; j# Q* w# P& ?# k
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).; p, y& A7 r/ a7 l
  1158. ; http://php.net/mysqli.default-host' W% i& v- y/ v* o" J
  1159. mysqli.default_host =
    6 }% h% C" z2 R6 f, e5 s
  1160. 2 M6 R& U3 u3 l+ x  [: M/ ^2 J0 J
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
      i4 e* U% |5 Y6 |# V8 g  ]
  1162. ; http://php.net/mysqli.default-user, y* L9 e; ^: r: |$ `6 T
  1163. mysqli.default_user =
    ' ?# }! D* a( N5 ]' T% ?

  1164. / a- J! \' A6 t2 j
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).2 m* v* F8 s9 ?$ L
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.8 X! E# d- t5 r9 `
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - v/ i) K3 G( d* A) y
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 V: Z$ g# `) s
  1169. ; file will be able to reveal the password as well.
    ' X, r; r5 L, ^0 x
  1170. ; http://php.net/mysqli.default-pw3 u2 r8 D# \& G2 T7 E+ P; D
  1171. mysqli.default_pw =
    * t/ a8 y; Q1 l- p6 k: Y- F) Q$ z
  1172. $ z$ R, i5 m7 ^2 \
  1173. ; Allow or prevent reconnect
    ( J* o8 j+ a" B) ^6 ?+ s7 j
  1174. mysqli.reconnect = Off
    * M4 h2 D* U- w+ J4 _% ?0 P6 _
  1175. + m# v9 t7 @" |6 U  g
  1176. [mysqlnd]; `( |" b9 @0 f. N% O, |
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be# T7 o: _/ ^, h( l" E+ \* s
  1178. ; used to tune and monitor MySQL operations.
    , O8 d/ f: |  z; I& g/ w( Y
  1179. ; http://php.net/mysqlnd.collect_statistics3 z; k1 c& F4 _5 A. \
  1180. mysqlnd.collect_statistics = On
    & y# ?& k! y" k7 _# Z' i* Z  D

  1181. 2 g5 [4 W/ ^! q5 l
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ u+ W8 j+ o* ?, J0 j! j  G8 J5 e
  1183. ; used to tune and monitor MySQL operations.: m' A" n. E' b2 f- M% O# v
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 \/ P+ Y9 I/ s- y
  1185. mysqlnd.collect_memory_statistics = Off) Y6 Q; T( r! K

  1186. 1 K/ |" d* B+ _- M
  1187. ; Records communication from all extensions using mysqlnd to the specified log- e9 |6 f1 H# T7 f, I
  1188. ; file.
    " |/ I# e1 q5 ?& m9 H# @4 I
  1189. ; http://php.net/mysqlnd.debug
    ( G4 D; v6 m4 G* g6 ^& u
  1190. ;mysqlnd.debug =
    ! b8 Z; M: X8 i& A+ v
  1191. ; v4 }9 f( Z4 a  ?, v
  1192. ; Defines which queries will be logged.7 m$ P" \6 ]! g- d
  1193. ; http://php.net/mysqlnd.log_mask' K+ m, U% u0 g7 c2 d& }3 Q; Q7 q" L
  1194. ;mysqlnd.log_mask = 0
    4 e6 N  ]2 ~! V" x9 V1 E4 _

  1195. 2 H5 P9 Q) I" q5 d! d( P
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; r7 z0 O8 }1 i' e
  1197. ; http://php.net/mysqlnd.mempool_default_size) L4 s4 ]* |' E8 b9 O: d& x
  1198. ;mysqlnd.mempool_default_size = 16000. }: v% k0 u. L6 l/ L

  1199. " B. U, L. T9 w1 \
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ ?1 u- ^( M) f! J
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size) ?4 j/ o) W8 m. I9 D% b
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    6 d. X/ T: B, a: j  j/ [

  1203. & V0 G5 C+ I1 u' p
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    , t3 B: ]6 K9 ?2 f* f
  1205. ; bytes.$ k1 n+ y! Y7 c  f/ a* n
  1206. ; http://php.net/mysqlnd.net_read_buffer_size0 M, F, P& j, o+ [
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 t$ Q8 E. ^2 G7 y! k6 v
  1208. ' Y2 W! |2 i  d( m# [9 _
  1209. ; Timeout for network requests in seconds.
    2 U0 b+ l( d6 S" @$ H/ a$ t0 a
  1210. ; http://php.net/mysqlnd.net_read_timeout
    1 Z, Q/ e1 m+ {0 @# H! M
  1211. ;mysqlnd.net_read_timeout = 31536000
    $ @% r1 k+ U( `, I. C- Q) H5 w  C; k
  1212. : E  i; B& A$ P7 e5 Y
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      _6 U- k. B* N  H
  1214. ; key.
    0 d' x" a( V7 t; H& u( A1 Q- @. n2 D
  1215. ; http://php.net/mysqlnd.sha256_server_public_key( A- K1 g; \- S9 b
  1216. ;mysqlnd.sha256_server_public_key =
    3 W' ]- U1 L$ g1 g# Z
  1217. * v5 i6 o8 G. j  o' R' Q
  1218. [OCI8], _* H% S+ i: p% ~, t
  1219. % a$ e& Y9 l% b
  1220. ; Connection: Enables privileged connections using external
    7 `. c1 o) Y! c4 g
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)8 V5 s! A3 d! [+ @, B, O
  1222. ; http://php.net/oci8.privileged-connect# }6 N; X* ?3 M- B$ G
  1223. ;oci8.privileged_connect = Off  ^% X9 ~1 a! s9 E

  1224. * q& Q8 O; J5 r  Z5 m
  1225. ; Connection: The maximum number of persistent OCI8 connections per. J2 _2 y: D% G( f9 Y
  1226. ; process. Using -1 means no limit.
    - G8 u' i! F; t- i6 D' E
  1227. ; http://php.net/oci8.max-persistent1 E0 w' e; a. b  L
  1228. ;oci8.max_persistent = -14 B3 i7 G1 B0 \- [; m
  1229. $ L& a+ _# D: D) Q7 q
  1230. ; Connection: The maximum number of seconds a process is allowed to
    3 S. E- y* q& J  R( ?( Z7 s* `
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ! e7 }- M3 p" H5 ]* T% `# R
  1232. ; persistent connections will be maintained forever.
    0 n$ F6 ]2 D! M' O
  1233. ; http://php.net/oci8.persistent-timeout
    / m. ^: ?: I+ g" z3 j) Y
  1234. ;oci8.persistent_timeout = -1
    - r2 A* f% y+ \1 G5 }& j$ c

  1235. 4 O2 o$ w. y8 L3 j% z0 S: k3 c: j5 r
  1236. ; Connection: The number of seconds that must pass before issuing a
    ' ]8 F" Q8 x4 d& H  `
  1237. ; ping during oci_pconnect() to check the connection validity. When3 F- f- k0 n3 o" d2 o
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; \' I3 s& B' O, D
  1239. ; pings completely.
    , P' l* `. E7 ?* f  H
  1240. ; http://php.net/oci8.ping-interval7 U0 o; j- V' m- P: E
  1241. ;oci8.ping_interval = 60; p: Q9 ~  e  o3 h( s

  1242. & K$ I  r6 `  A
  1243. ; Connection: Set this to a user chosen connection class to be used
      z; ]. A" a% y* d8 a# {) J
  1244. ; for all pooled server requests with Oracle 11g Database Resident/ F8 q/ i' L1 o3 i
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 _  c5 V5 |( N4 f. D
  1246. ; the same string for all web servers running the same application,
    4 ]+ C1 _4 g+ n* }
  1247. ; the database pool must be configured, and the connection string must
    : {6 m+ E8 o) ^) o! @
  1248. ; specify to use a pooled server.
    " ~/ x  V  n* g3 B$ T3 ]1 I
  1249. ;oci8.connection_class =
    7 S# r: c& X% |$ v; C7 y3 y

  1250. 7 C( d/ i, Q% T8 J, b
  1251. ; High Availability: Using On lets PHP receive Fast Application
    + h9 ~0 U3 l4 T' U! r
  1252. ; Notification (FAN) events generated when a database node fails. The
    # e# }1 S: i, Q! D0 C7 S% _
  1253. ; database must also be configured to post FAN events.
    * S# A8 l0 U& G2 i
  1254. ;oci8.events = Off: k: o, j  @: R
  1255. 5 j, M3 U( V9 c( Q  t7 w$ g* ]
  1256. ; Tuning: This option enables statement caching, and specifies how
    ' a  ]( X/ E. i! A! D, b  o7 c
  1257. ; many statements to cache. Using 0 disables statement caching.. p: \$ Z! M" U, l3 P- k. `
  1258. ; http://php.net/oci8.statement-cache-size
    ( g6 c" {1 P* Z9 e! [$ l, a
  1259. ;oci8.statement_cache_size = 20; E/ G% M  G0 E& F
  1260. 9 k+ z( h; T6 c- j
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 L- C0 a, q8 Y" {8 {# h; d3 K# S+ @
  1262. ; rows that will be fetched automatically after statement execution." y3 }. N$ x5 |6 J
  1263. ; http://php.net/oci8.default-prefetch0 @) u4 {5 u# u( M6 ?' g
  1264. ;oci8.default_prefetch = 100. l& M9 K% A- w0 L* {

  1265. ; b# i, c. @4 U! T5 `; B
  1266. ; Compatibility. Using On means oci_close() will not close3 N/ A  `2 y+ L4 V. F& ~
  1267. ; oci_connect() and oci_new_connect() connections.) m' f! j6 D7 `5 k/ P, L
  1268. ; http://php.net/oci8.old-oci-close-semantics9 v; M, q+ u  i+ T4 \2 d# x3 }
  1269. ;oci8.old_oci_close_semantics = Off
    . T1 u6 e. y/ a/ A9 O% g8 w
  1270. + o4 _  j$ }% c' X8 j
  1271. [PostgreSQL]: u5 P: O# k$ _+ `" d2 P, z! y
  1272. ; Allow or prevent persistent links.
    ) w0 B+ n* K  b4 J) i" y  {1 K
  1273. ; http://php.net/pgsql.allow-persistent
    * [# s% G! _+ {( E: w
  1274. pgsql.allow_persistent = On
    ! h" S' e/ y7 o5 X/ H# Y! C0 ^
  1275. ) F& u* R$ g) k3 c8 ?& P1 {
  1276. ; Detect broken persistent links always with pg_pconnect().
    " \( h, g( W" `4 ?+ ^7 @
  1277. ; Auto reset feature requires a little overheads.; f3 {+ I5 y5 X' q+ a, A1 ~
  1278. ; http://php.net/pgsql.auto-reset-persistent6 A6 c8 e3 P3 V  l# d
  1279. pgsql.auto_reset_persistent = Off
    # i: k8 y7 p: X" i, R
  1280. & S) t( j! [" n9 L
  1281. ; Maximum number of persistent links.  -1 means no limit.0 [! g; m- G) {1 U
  1282. ; http://php.net/pgsql.max-persistent% \+ L) l7 k0 D
  1283. pgsql.max_persistent = -1
    & r! ?( ~9 d; Y; d. U, O
  1284. 1 a5 c7 c3 B  Z! h' b2 p
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # K- Q4 d. y( t0 K  }" }
  1286. ; http://php.net/pgsql.max-links
    # ^: ~2 y' X4 k3 d+ X) V' }
  1287. pgsql.max_links = -14 {+ y) n& b' T

  1288. 5 h- Q" @  Z: _* G
  1289. ; Ignore PostgreSQL backends Notice message or not.
    7 u: M1 L# ]2 y) F* h& ]
  1290. ; Notice message logging require a little overheads.: o  p4 `  W8 g6 u+ ]% V
  1291. ; http://php.net/pgsql.ignore-notice$ _" J" Z8 L3 p4 J* k
  1292. pgsql.ignore_notice = 04 T5 S: [* B: g8 [8 _
  1293. ' q! B9 I+ N; J# K( K( h$ l
  1294. ; Log PostgreSQL backends Notice message or not.
    8 F' o9 P! T0 K6 n# r* r) T
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    2 Y* W' g& C( C2 i
  1296. ; http://php.net/pgsql.log-notice
    * K8 a8 b' [$ N2 c! u( {, G
  1297. pgsql.log_notice = 0
    % Q4 `1 ]1 E+ f4 z& \9 H
  1298. 1 x" m* S# L& F* D
  1299. [bcmath]7 q! h9 H# f  ~# _
  1300. ; Number of decimal digits for all bcmath functions.2 y6 ]% f) T+ p0 ?  g0 }+ [
  1301. ; http://php.net/bcmath.scale+ q' f/ r$ Q3 W' D, f6 V" F
  1302. bcmath.scale = 08 e0 {* m, o! a. M" j1 j
  1303. : a% M5 @: x; Z6 n0 V/ ?
  1304. [browscap]0 ^# {8 @1 l* G- U4 v4 q
  1305. ; http://php.net/browscap
    % F9 K# x8 f, l- r
  1306. ;browscap = extra/browscap.ini
    2 {# Y5 X5 H9 s" F6 c* ~
  1307. & B2 u7 d9 ]/ d! B* y2 l2 M0 O
  1308. [Session]
    4 U% q7 D, D8 u6 w) v( \4 F
  1309. ; Handler used to store/retrieve data.  l7 B# ~) V) |6 }8 N; n
  1310. ; http://php.net/session.save-handler
    & A) ?6 B. G% @1 m& z  c* e) z+ N# w. Y
  1311. session.save_handler = files
    9 j) j( z8 t' V  N6 O3 I+ _

  1312. 0 O/ n. Q& S$ F5 c
  1313. ; Argument passed to save_handler.  In the case of files, this is the path/ W6 I( b/ H+ a* ^
  1314. ; where data files are stored. Note: Windows users have to change this5 E/ W- Y* k* w8 ~! m" z
  1315. ; variable in order to use PHP's session functions.7 f& e. w6 c" c1 L6 n  \
  1316. ;: L7 H+ l$ H( ^* X% B$ q# F! f1 Q
  1317. ; The path can be defined as:
    : g1 z6 k  V5 F% d+ V
  1318. ;4 ]% D2 s/ A& s3 a5 R' `# m& E/ r
  1319. ;     session.save_path = "N;/path"
    + E# v+ \! s% V% Q0 w$ t4 T3 I7 W8 w( t7 L
  1320. ;) T0 _6 D8 f" N9 D( c- H
  1321. ; where N is an integer.  Instead of storing all the session files in
    3 A" b$ l. `, a3 H: A! ~9 a
  1322. ; /path, what this will do is use subdirectories N-levels deep, and/ W" o5 Z, d  D$ g' S
  1323. ; store the session data in those directories.  This is useful if
    ( t8 W7 h+ X" J! L, H) u* M
  1324. ; your OS has problems with many files in one directory, and is
    + |$ H$ g: B' ]+ N7 S. R; x; z
  1325. ; a more efficient layout for servers that handle many sessions.
    $ h- B" |# z9 p3 P: Z7 O) B
  1326. ;$ r* c& ^6 D$ b- p
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ! j+ n; j+ x# S3 \, |0 g# _
  1328. ;         You can use the script in the ext/session dir for that purpose.: J9 j# f; z6 X( u2 _5 d' S
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    : V: K3 R6 r2 q! h
  1330. ;         use subdirectories for session storage2 W4 [6 m; @( |- f
  1331. ;/ M: h8 F" V) e+ q
  1332. ; The file storage module creates files using mode 600 by default.
    - a( l+ @1 I4 w  I) F1 q
  1333. ; You can change that by using" z. G2 m! X3 t4 {
  1334. ;& K7 c6 {( c" ~) U$ c# s: a
  1335. ;     session.save_path = "N;MODE;/path"
    0 K$ v5 K$ r# O" n) H
  1336. ;) L* s# Z. _6 m( M/ p
  1337. ; where MODE is the octal representation of the mode. Note that this6 }' k& B: d8 Y. p1 m
  1338. ; does not overwrite the process's umask.
    3 A. n, k3 i4 a$ p
  1339. ; http://php.net/session.save-path# B' |/ n  ]* `: Y
  1340. ;session.save_path = "/tmp"
    + d, o( J6 Z3 w
  1341. / d4 b2 ^/ F0 C0 |
  1342. ; Whether to use strict session mode.
    ' C$ u/ d- J  N1 \6 ^$ |
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ A, l# ^) ~: U8 y% [9 c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects1 f( c. w8 Z* S! ?) a
  1345. ; applications from session fixation via session adoption vulnerability. It is
    " @7 K+ }9 A0 l/ T
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged./ d8 v0 q* e4 J6 [5 ?
  1347. ; https://wiki.php.net/rfc/strict_sessions
    $ {, D6 i* L+ p) t) P9 ?) j
  1348. session.use_strict_mode = 0( ~# i7 C" H& G2 |) K  n

  1349. 5 H# R' ]. m, j0 j
  1350. ; Whether to use cookies.  W: O( a' G/ s
  1351. ; http://php.net/session.use-cookies
    ' h1 s5 H" G9 \4 u4 G
  1352. session.use_cookies = 1
    5 q$ d, Q# e0 N  B# ~5 r

  1353. & m/ }2 N1 f* |" z6 m' S8 R
  1354. ; http://php.net/session.cookie-secure( p; b/ f9 a7 |% v( [
  1355. ;session.cookie_secure =' v" {  z4 H  p
  1356. 0 N+ W4 x* x7 |5 h* D! ^
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 e9 s. p( x% ^4 `6 @1 ~" A
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    % B1 m! K7 W: s! C& R
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . V+ Z1 u4 \" e& H( V9 Y# ]. t
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " y- l' s2 \+ W) d; s4 I4 t
  1361. ; http://php.net/session.use-only-cookies. e3 Y: b8 ~9 r1 O- d" i
  1362. session.use_only_cookies = 1# d4 a5 p6 Z0 P1 V

  1363. 5 z) l; @% P. c2 R5 @5 y0 h6 I
  1364. ; Name of the session (used as cookie name)., H$ D& i+ M  t1 N
  1365. ; http://php.net/session.name3 d9 }2 u1 r% ]7 A0 `: N
  1366. session.name = PHPSESSID7 b9 u& _  \. i& ]8 H* I7 A* ]
  1367. . Y& a1 t8 r5 R2 c' K+ n9 I# U' ~/ Z
  1368. ; Initialize session on request startup.
    ' E% e( D* e, n  P, N
  1369. ; http://php.net/session.auto-start
    4 L/ b! E$ p# z
  1370. session.auto_start = 0) c( {" x+ e, d9 m$ S
  1371. - w7 T" x, S4 H( d- Q7 V& e  e. ~
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ K2 R+ m4 S( [0 e# ]9 L( }5 G0 k5 o' X
  1373. ; http://php.net/session.cookie-lifetime# k) @; @2 h1 f/ m
  1374. session.cookie_lifetime = 0! Z1 l; N, W/ c1 [$ U

  1375. % U' V& [. r/ W
  1376. ; The path for which the cookie is valid.
    ' D% P& S; c' ?+ n+ x6 \& ^* ^
  1377. ; http://php.net/session.cookie-path0 x+ ~* E0 F: U* I! W  V' f' ]
  1378. session.cookie_path = /) c5 a; n2 f2 g- J( l7 \3 n
  1379. 7 s. g4 @* c+ |- V: S) C
  1380. ; The domain for which the cookie is valid.3 a( F# v- C( o! w! q1 I- b
  1381. ; http://php.net/session.cookie-domain3 E( d# o2 s% b: V" e' Y2 q
  1382. session.cookie_domain =% @1 ~- i: h$ X

  1383. 0 M2 T! ?2 B/ n$ x/ S- i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 b3 i( j& \( z, [% \6 S6 M
  1385. ; http://php.net/session.cookie-httponly
    3 k% s, V2 K2 Z/ k
  1386. session.cookie_httponly =1 I3 S8 l; |6 t7 d) O% H
  1387. , G6 e: ]* M7 i3 Q2 M: {
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / b  Y" K& e) Y/ Y2 p( v
  1389. ; http://php.net/session.serialize-handler
    ! c3 B& ]4 b) s( n( ~2 Y" m! U
  1390. session.serialize_handler = php
    4 N& t/ S% z& A$ E! u7 w

  1391. " X6 ~  Q5 M# g, h' N/ {9 B
  1392. ; Defines the probability that the 'garbage collection' process is started9 @! M; c6 i, s
  1393. ; on every session initialization. The probability is calculated by using( ?* n, y* U# b' O: e) z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator% \7 g" I2 t) j# N- y1 s3 f& b
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1) H3 b6 b' a, f1 c
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ a6 i7 H" I2 o1 C
  1397. ; the gc will run on any give request.
    # Y1 A" f; |& B! E
  1398. ; Default Value: 1
    $ L: t& b" X$ I) P3 d4 m0 y
  1399. ; Development Value: 1
    * l/ `6 N; H8 f  m
  1400. ; Production Value: 1
      m7 L, E- [& G/ C
  1401. ; http://php.net/session.gc-probability+ i+ `+ Y5 V/ k6 P9 B3 S7 a
  1402. session.gc_probability = 10 a: a) s  m, N$ M6 Q* K
  1403. 0 U- a- g' w( x
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    : _5 {- r4 I5 b' n" D# _% R) b
  1405. ; session initialization. The probability is calculated by using the following equation:
    7 z7 B% v. z; R! }
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; |# f- e+ ^- g
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    6 P0 K2 \; `2 A& T* \5 g: \( j( A
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 j; s+ m, o+ F! z) ~$ A) K& f) z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 Q  O: f: q" a6 t! m
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 j% ~: {* f. S* m- l$ R
  1411. ; this is a more efficient approach.. q5 a- T0 g1 }) I1 x* h: j' [$ e, b
  1412. ; Default Value: 100" V4 M1 M8 z1 c  g5 U
  1413. ; Development Value: 1000
    4 O1 N4 M/ e7 ]( z, n
  1414. ; Production Value: 1000; Z; U# L& F/ f/ G+ k/ T
  1415. ; http://php.net/session.gc-divisor4 x0 S6 |$ s  H6 L% ~
  1416. session.gc_divisor = 1000
    # k; |, W: t; e: D5 o+ F% t

  1417. 4 Z- V5 ^! E5 o, ]6 I, O7 s
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and+ y9 g% d) m3 y) @( O
  1419. ; cleaned up by the garbage collection process.  P: o! D+ ^- i5 [6 G
  1420. ; http://php.net/session.gc-maxlifetime: |2 n- O1 Z0 M  p2 O, W5 E0 x9 }
  1421. session.gc_maxlifetime = 14403 D. k+ K# n$ v/ a; A: M' d. ?

  1422.   t( Q4 j3 c( M+ K3 ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files( E! I7 Q3 ]* V) z  @7 Y
  1424. ;       (see session.save_path above), then garbage collection does *not*4 r6 ^* _, |1 s8 b0 c$ n
  1425. ;       happen automatically.  You will need to do your own garbage
    + N! [: R5 q  V9 m7 [
  1426. ;       collection through a shell script, cron entry, or some other method.! E5 [! Y7 A1 F4 S6 O8 x& u% ~
  1427. ;       For example, the following script would is the equivalent of7 x+ R' V* _, W, j( P/ k2 m& L9 K! g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) }. x  f1 o' L' ^: h. Z: }) K
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 `" }% D& {+ q' l6 W6 u" t
  1430. # p) u7 j. C3 I8 c, Z5 g: `. S
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " p. y# a! n3 h# U+ J: j
  1432. ; HTTP_REFERER has to contain this substring for the session to be' j5 D, i3 W( T% X) z
  1433. ; considered as valid.- N5 r) w8 j% A/ M/ j
  1434. ; http://php.net/session.referer-check
    % Y* @& }( b5 B+ s( k
  1435. session.referer_check =
    * ]. g2 j8 T  Z0 G+ f: i( O
  1436. 0 I2 a+ v9 ^+ O2 Z/ H
  1437. ; How many bytes to read from the file.& u* L8 w' t2 {0 l3 ~; Q. h
  1438. ; http://php.net/session.entropy-length
    ( a8 Y/ d/ D* F* _5 Q) e8 a
  1439. ;session.entropy_length = 32, ~( J  W. \, l# W4 T7 R9 ?6 y

  1440. : \+ i# c, i/ G0 A- V1 n2 u: {
  1441. ; Specified here to create the session id.
    % i" ^# x5 y7 p
  1442. ; http://php.net/session.entropy-file
    3 F4 M0 T8 h. ]4 m0 p! z
  1443. ; Defaults to /dev/urandom
    " c  O1 c+ _9 b
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom, e8 `6 S0 P4 Q* e  j% e
  1445. ; If neither are found at compile time, the default is no entropy file.
    5 ~6 r% U  C( t3 D6 }
  1446. ; On windows, setting the entropy_length setting will activate the
    * H. |# `9 [; o1 {
  1447. ; Windows random source (using the CryptoAPI)4 Y# j! g) }; h3 W# J) |6 W; t
  1448. ;session.entropy_file = /dev/urandom9 \! P4 E* W9 w: H4 D" m6 _
  1449. 4 C' O6 ?# {% U. n2 B# b- i
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects0 g% m9 M( i) x! U* m
  1451. ; or leave this empty to avoid sending anti-caching headers.+ @0 v1 i3 T; N5 ?
  1452. ; http://php.net/session.cache-limiter0 ?, |' }0 H* |4 l8 X! J  T
  1453. session.cache_limiter = nocache
    , [: b: g4 _# W) {5 o

  1454. / [2 `" J9 B6 Q5 k1 w
  1455. ; Document expires after n minutes.' X1 v/ N! y/ s1 }+ f6 `
  1456. ; http://php.net/session.cache-expire/ B; |9 K, k! r2 o: o, {! e
  1457. session.cache_expire = 180( Q' S* r4 {. z1 J/ w6 I
  1458. 4 j1 [" Z1 u& ?4 ~
  1459. ; trans sid support is disabled by default.
    3 w9 A4 f: O% {* w5 F8 P2 W
  1460. ; Use of trans sid may risk your users' security.; L$ d' o2 C6 W
  1461. ; Use this option with caution.2 i* }% |0 k, T4 z* _$ J3 O
  1462. ; - User may send URL contains active session ID3 C0 a4 j0 f" N; C) j
  1463. ;   to other person via. email/irc/etc.
    % f% s: X1 l4 f( H5 A
  1464. ; - URL that contains active session ID may be stored/ m+ A& ?9 w# ?- K, l$ E
  1465. ;   in publicly accessible computer.
    : X5 L- u! [' J9 l+ L* m/ |7 ^, B; M
  1466. ; - User may access your site with the same session ID
    - l2 l& m( a, {1 r% w0 \
  1467. ;   always using URL stored in browser's history or bookmarks.
    8 w# E# M/ B/ @- k
  1468. ; http://php.net/session.use-trans-sid
    8 a' V0 l& H  N9 Y( T! {
  1469. session.use_trans_sid = 0
    , Q2 y8 g/ D" K" j8 s0 F

  1470. 3 u' T' Z5 k' M' m) r( X
  1471. ; Select a hash function for use in generating session ids.# M" |2 ~0 \6 M
  1472. ; Possible Values
    8 C$ r1 r4 o; {4 s3 s
  1473. ;   0  (MD5 128 bits)3 c+ g3 g. p# k, \+ P1 J# j% ~
  1474. ;   1  (SHA-1 160 bits)+ K  G! L2 k# D# r+ q
  1475. ; This option may also be set to the name of any hash function supported by
    ; w* y2 Q" i) D) X* m, g6 q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()/ ]0 ~8 B: C0 {
  1477. ; function.7 E9 p1 b1 `- x4 [+ s. c
  1478. ; http://php.net/session.hash-function
    3 f8 o+ Z6 r9 {3 I/ v
  1479. session.hash_function = 0) C! g* H! I! [
  1480. 5 ~! @* ?6 K8 V$ k. @0 @
  1481. ; Define how many bits are stored in each character when converting
    1 V5 a5 J% G5 Y5 @8 f
  1482. ; the binary hash data to something readable.$ X3 Q9 L$ F& j' D" Z- d
  1483. ; Possible values:& Q, y* b6 i; u8 a$ h6 F
  1484. ;   4  (4 bits: 0-9, a-f)  [7 k5 s* m, i+ b. ?; @; ^$ Z
  1485. ;   5  (5 bits: 0-9, a-v)
    ' H3 M  u$ v4 k( E# j& L
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    0 D2 Q" B# H2 g
  1487. ; Default Value: 4! x& T0 ?% N( Q: S6 G# J5 T
  1488. ; Development Value: 5; T, D! V0 F$ g8 c# R
  1489. ; Production Value: 5. \  y- A- |/ p' p. d: g
  1490. ; http://php.net/session.hash-bits-per-character
    , R6 m$ \+ L) _* _. b+ V1 `- j
  1491. session.hash_bits_per_character = 5+ r* r  g, U  y0 ?1 a
  1492. 9 n8 E; S  U) z: t1 p
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.: r% A2 m3 H, l7 {* V% q# @1 q8 y7 e0 [
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! @0 V2 ^% g( f' o
  1495. ; add a hidden <input> field with the info which is otherwise appended8 `+ y& v# B* A' j
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) Z/ b( X/ k9 v- y9 {$ r( h, p
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; s( `3 w( R* @; c  d
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) f6 w, \* A: R
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- H' H( m0 z- o" P- v: ?7 U
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 h$ t8 A: J2 w& s. z
  1501. ; http://php.net/url-rewriter.tags
    6 ^' S' C+ C5 `; u* e
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"- v3 @; d+ i+ o5 H# u5 g
  1503.   D, a( _, g5 ]0 m0 \5 W; `+ q3 Q
  1504. ; Enable upload progress tracking in $_SESSION
    - ]! x* b8 S- F: C9 d
  1505. ; Default Value: On6 x9 Z* k8 `* W5 u) V
  1506. ; Development Value: On
    4 R- ]! v0 X% i) A6 l  R* v# C* u
  1507. ; Production Value: On
    " E: l4 E! M* J# O
  1508. ; http://php.net/session.upload-progress.enabled* y; q4 `1 c; Z8 b( b3 I5 u
  1509. ;session.upload_progress.enabled = On6 P/ _: V, I! d& U, |' r& w

  1510. 1 C! `  S' ]9 e/ Y8 R
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & n0 P. \$ x" G  n8 f4 ?) N
  1512. ; (i.e. upload completed).
    3 p6 [2 ^- @" R* F" Q4 {( l& B, k
  1513. ; Default Value: On
    0 `% A# w% W4 T
  1514. ; Development Value: On
    # j# e8 ^' _3 l8 M8 g" @" `" s
  1515. ; Production Value: On
    7 Q' ]3 `+ L3 ^) j/ S
  1516. ; http://php.net/session.upload-progress.cleanup
    ! D! h: m5 u# D9 w5 }; H6 [
  1517. ;session.upload_progress.cleanup = On
    2 Q& u- `* e' _' y& G
  1518. 7 a) \" j6 j* L: J
  1519. ; A prefix used for the upload progress key in $_SESSION
    . u8 _2 z! {. ?3 x
  1520. ; Default Value: "upload_progress_"
    ! D: i/ S& l; \* g$ B( B
  1521. ; Development Value: "upload_progress_"1 ?: H9 w1 g% M9 `: q4 `3 o
  1522. ; Production Value: "upload_progress_"  T/ Z* T% n3 i2 q* n& k
  1523. ; http://php.net/session.upload-progress.prefix# R2 o1 U' s* E* x8 o2 B5 z
  1524. ;session.upload_progress.prefix = "upload_progress_"9 `# @/ V3 ?& v/ P

  1525. 2 J' g) C( B. x  \$ c8 K1 X4 ~
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    , B: `+ z6 Z$ L" B* }2 A: c  b
  1527. ; containing the upload progress information
    , B9 w5 Y' {1 y4 i1 f4 w) ^
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& o7 |1 R) e6 d3 j% }
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! r( G) }) s& T/ p
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - I: r2 S1 X( G9 N# M% ?* v
  1531. ; http://php.net/session.upload-progress.name
    / S/ Y) P; m4 n7 L- w( u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"  }1 U0 r/ M9 n2 p# X% e
  1533. 8 M0 @1 j- g* a) P( a
  1534. ; How frequently the upload progress should be updated./ S" O! E% }/ Z, b( J0 }
  1535. ; Given either in percentages (per-file), or in bytes
    6 s" Y% W7 `4 ^- V8 i
  1536. ; Default Value: "1%"
    9 |: V: h7 u3 u, L1 O
  1537. ; Development Value: "1%"
    ! e* @  Z" v8 ]: F" o! |
  1538. ; Production Value: "1%"
    5 ~, x* k& F5 a+ A! U( i
  1539. ; http://php.net/session.upload-progress.freq
    5 m& k4 k- y0 z+ J. z% l  e
  1540. ;session.upload_progress.freq =  "1%"
    ! _% j: ~% E& b5 a1 @. r) |2 B+ s

  1541. : P7 N& y" n2 ?  z  M: X- i8 W
  1542. ; The minimum delay between updates, in seconds
    # n: s9 @9 Y3 S3 l# ^: q
  1543. ; Default Value: 12 p: C. w" o& }5 M. H" j, H
  1544. ; Development Value: 1" b( n, M! U: O, m1 n
  1545. ; Production Value: 1
    & t2 O3 Z9 b' k6 c. X; z' C0 Q
  1546. ; http://php.net/session.upload-progress.min-freq
    9 v1 Y7 S) y  @) m
  1547. ;session.upload_progress.min_freq = "1"  O/ F- X  A9 j' a! ]

  1548. $ M% z5 R; N! i+ o* `
  1549. ; Only write session data when session data is changed. Enabled by default." S0 q5 R+ r3 f" z* f. ?/ T5 R2 ]) D
  1550. ; http://php.net/session.lazy-write3 ]+ h; B- a% b4 {' C% t2 d
  1551. ;session.lazy_write = On
    ' W6 W+ [# s9 c/ T5 ^  a; V

  1552. ( C+ w. ~8 i" a; T) b3 D
  1553. [Assertion]
    ) T1 d! v6 E2 z0 g8 v
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ' M4 x: X/ c" C; Q
  1555. ; -1: Do not compile at all
    9 C  g) x5 z7 z& g# u9 q
  1556. ;  0: Jump over assertion at run-time2 `7 }; \4 H  }% J6 g0 p) q$ E# N
  1557. ;  1: Execute assertions2 B+ E- H4 h8 P! q0 e
  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)
    1 c. W5 C& D9 M' A+ R0 C
  1559. ; Default Value: 1
      D: d4 S) ~/ |+ |( K
  1560. ; Development Value: 18 Q+ z. b5 ~. M1 S
  1561. ; Production Value: -13 `3 W  \, K! v+ }' d9 v7 K
  1562. ; http://php.net/zend.assertions2 f7 S% t, ~5 L+ q8 }, I
  1563. zend.assertions = -1- a& Q& s- {/ V  M

  1564. ; g) D9 c0 B" }+ u) h9 F
  1565. ; Assert(expr); active by default.
    " u% ^) j0 u( G
  1566. ; http://php.net/assert.active
    + B- u4 b# a! M$ q* I2 t( w" {
  1567. ;assert.active = On" g  D8 b3 I6 ?5 R

  1568. 0 a; a% D" r" }
  1569. ; Throw an AssertationException on failed assertions
      U3 Q$ e2 K7 V6 S% p" T5 G
  1570. ; http://php.net/assert.exception5 Q9 z+ M; e2 ?5 i8 M7 t0 [. o, \
  1571. ;assert.exception = On4 x+ M! R2 P$ B# w- z# s1 c
  1572. . U* c! e& \) U# D! z5 n! ?2 N
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)( |% M- h+ Z& j$ l
  1574. ; http://php.net/assert.warning% P( D- |# o% M' \6 a1 m" Y$ k
  1575. ;assert.warning = On3 ?6 s9 k2 t. K. T
  1576. ( R3 k, S/ E- k9 O* j
  1577. ; Don't bail out by default.3 l5 v% W. A6 w! V- R6 a( q# ~7 X
  1578. ; http://php.net/assert.bail) i* C5 G5 ]3 m( o7 c1 S8 w
  1579. ;assert.bail = Off0 g8 @' m) D. `

  1580. ! W$ r2 W9 w& h' s
  1581. ; User-function to be called if an assertion fails.& o; g  J, R4 U' r! t
  1582. ; http://php.net/assert.callback
    4 Q) }1 w+ s3 z7 Z' K
  1583. ;assert.callback = 0/ y) {$ ]" k) W9 Z; Q$ V9 q
  1584. : y( n& b. i$ H* v% C0 M: h# I
  1585. ; Eval the expression with current error_reporting().  Set to true if you want$ Q) g! x5 h8 `$ p/ r
  1586. ; error_reporting(0) around the eval().
    6 j# l7 W- P. y. p; W0 z
  1587. ; http://php.net/assert.quiet-eval
    . j& {6 I$ z- c
  1588. ;assert.quiet_eval = 0
    - y3 R8 A& D" H8 u) ^
  1589. 3 g" |2 d9 p- J9 z1 R# D- o
  1590. [COM], Q8 C1 }4 I" m9 {, h* @
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 O# l$ Q3 x7 X- \( c  g- C& b
  1592. ; http://php.net/com.typelib-file
    9 v2 T0 o" z$ L1 ~
  1593. ;com.typelib_file =
    8 l% M  ~1 P  T7 C2 J1 W' K8 d" s1 H
  1594. + T* A1 C* b4 t- R
  1595. ; allow Distributed-COM calls
    ( s5 l% c6 D* U
  1596. ; http://php.net/com.allow-dcom
    / ^5 Y8 Y% j* p: E8 T
  1597. ;com.allow_dcom = true) b2 ^8 C. J- Y
  1598. ' q- c1 j6 X4 M% A. n
  1599. ; autoregister constants of a components typlib on com_load(). R) I" e: Y! M2 i! C* \1 }
  1600. ; http://php.net/com.autoregister-typelib7 w+ a( x$ W3 e" t' \
  1601. ;com.autoregister_typelib = true" P  C7 c4 a9 V+ ~9 o/ g" ~

  1602. ) X  w. s4 j- W( J6 X0 L7 X7 c
  1603. ; register constants casesensitive7 C; Z( S' s( _6 [
  1604. ; http://php.net/com.autoregister-casesensitive  ?5 `6 n* i( }' l3 C" j  m
  1605. ;com.autoregister_casesensitive = false8 r% u6 |2 ~+ I

  1606. 4 N* p# ~/ u8 S+ j: T* p$ q# R
  1607. ; show warnings on duplicate constant registrations
    8 t% R; z# m) _6 \6 |6 ~7 ?- w
  1608. ; http://php.net/com.autoregister-verbose" C7 L; i, {8 Y3 j- G2 v( J! F
  1609. ;com.autoregister_verbose = true
    ! z" P' u- G( F" A' v& z$ _0 {

  1610. ) x; N& q7 ?0 Y$ _/ \" g$ a2 M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.* {9 q* B8 H: t
  1612. ; Default: system ANSI code page
    ! \$ S! n4 W& B# E
  1613. ;com.code_page=. {2 f; z& u+ I& S7 n
  1614. , P6 B$ e, `, k
  1615. [mbstring]- j- I/ v- R! l/ x! U
  1616. ; language for internal character representation." ?; [; T% L; v0 T: R: c
  1617. ; This affects mb_send_mail() and mbstring.detect_order.: c9 H, L) X* Z+ E( @
  1618. ; http://php.net/mbstring.language
    - R# A* S0 R9 [0 _1 e- u  D; h0 n% O
  1619. ;mbstring.language = Japanese$ A' v5 F& a- [  t

  1620. ) J7 W/ F! H# w9 Y# h$ ^1 ^( y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & o. J5 z0 W& j# y2 \
  1622. ; internal/script encoding.& i, j! _, |+ O8 H
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
      d) k  k, g) W3 A) e
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( Q; F# b' O: o8 F/ t
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + `' }$ M. M5 y* b$ B
  1626. ;mbstring.internal_encoding =
    & N2 X1 |& x. y0 i# o8 z) s

  1627. + _+ p0 z: }( N9 C6 L5 I3 H, l' r
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : Q) Y7 ^. p# Y) d3 ^+ `
  1629. ; http input encoding.
    7 H7 v+ M; m! u% }# L1 Q# c8 A
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.% g" h, H3 T, R  ^' @
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ; a" F; H" R7 [* h
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 a% M0 d5 i5 g1 @
  1633. ; http://php.net/mbstring.http-input
    4 x" h  o3 P% ^' Y2 s$ F
  1634. ;mbstring.http_input =, c! U  Y7 ?# n# C% L

  1635. 5 e2 M" P% R! w% n6 X" c: f: c
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
      l0 e8 }0 z: ^8 M( ^/ ~1 a0 s  M
  1637. ; http output encoding.! o6 j" j/ B) K) w: `3 g
  1638. ; mb_output_handler must be registered as output buffer to function.. m! e% _- E& B' J) ^2 U
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . _! S# R" w. ~5 i! i7 V$ n
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. r) D, ~: Z# z& s" r
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    * {( N% b/ [- y" d, c7 G
  1642. ; otherwise output encoding conversion cannot be performed.( b7 A% d, h5 k" ]( L
  1643. ; http://php.net/mbstring.http-output) e1 f' S" h% \7 t% l: E
  1644. ;mbstring.http_output =- {' e& q3 D, X3 d) ], v9 s
  1645. ) [$ P; q. q9 L1 S% Z) }- K! ^; [, J
  1646. ; enable automatic encoding translation according to: W( ]" e1 U+ V
  1647. ; mbstring.internal_encoding setting. Input chars are3 j, _0 ^/ M4 y! X
  1648. ; converted to internal encoding by setting this to On.: {+ ^, c* K5 I6 N+ Y$ s6 |# w
  1649. ; Note: Do _not_ use automatic encoding translation for
    # ^% C4 R# D, G# _& A: S8 P* W% Z
  1650. ;       portable libs/applications.
    " [9 {% V1 {: X4 ~; z1 E$ c7 Q
  1651. ; http://php.net/mbstring.encoding-translation# [9 c, j% y5 `3 h) g
  1652. ;mbstring.encoding_translation = Off" T: y( a( M- N& T
  1653. 7 Q# o6 e  U" J2 @2 t* }3 e! }
  1654. ; automatic encoding detection order.
    ; @) Z" {% b7 {2 O
  1655. ; "auto" detect order is changed according to mbstring.language- \  z6 u8 S% U$ t
  1656. ; http://php.net/mbstring.detect-order3 c. G7 f7 i" W6 u5 `' {$ m' w, ^
  1657. ;mbstring.detect_order = auto
    / ?! `9 J" n1 e' d2 I  s

  1658. 1 f1 {; _  X0 C' n% y9 |- b; a
  1659. ; substitute_character used when character cannot be converted2 ~8 I- `" I! [6 p! u
  1660. ; one from another
    4 [+ o/ r. y) @* X5 t) y- B# Z
  1661. ; http://php.net/mbstring.substitute-character" L) v& |& E( |8 W
  1662. ;mbstring.substitute_character = none
    + L- o0 ]: ?& s0 N' R( j
  1663. , S5 f: t/ g% Q  B9 B9 e0 N. {+ a3 k
  1664. ; overload(replace) single byte functions by mbstring functions.1 M9 t5 {' v; l" W% ~) \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , E8 K! R3 \* B, m: O
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- c  Z; y, L5 K3 {
  1667. ; For example, 7 for overload everything.' S; h+ o) _* R: S: N6 }( X
  1668. ; 0: No overload
    7 u: [/ a$ E% l
  1669. ; 1: Overload mail() function
    ! B& W- i% m! z
  1670. ; 2: Overload str*() functions  F0 S, d; e, [+ P( P. {% W
  1671. ; 4: Overload ereg*() functions: b  S1 n4 j/ n" n
  1672. ; http://php.net/mbstring.func-overload
    4 O9 O' W) n2 O0 K) a
  1673. ;mbstring.func_overload = 0
    $ t- l2 ~1 w7 P/ k; P

  1674. 0 o' D2 u. y: d& ?' Y$ U! Z* b
  1675. ; enable strict encoding detection.1 c& K( r* O5 b
  1676. ; Default: Off
    ) n# _# M% B4 a) p( q" ~4 j
  1677. ;mbstring.strict_detection = On
    ) j( K9 l7 W0 |$ C. M9 }
  1678. 2 M- ~4 u9 Y% C5 U: J. B5 g
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    - b7 r. l+ D7 z; }% e
  1680. ; is activated./ H) {5 G7 h1 _2 [5 ?) Z  a
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * d$ B1 h2 d: S% E8 |; P, E
  1682. ;mbstring.http_output_conv_mimetype=
    * m# Z# p; _, ?! ^& M
  1683. 6 K- x7 U) i" k0 e/ t
  1684. [gd]
    - [7 [; e6 M8 k3 x: C
  1685. ; Tell the jpeg decode to ignore warnings and try to create) T$ J  X2 v* c
  1686. ; a gd image. The warning will then be displayed as notices
    5 N$ G! ^, ]/ F* x8 e/ ?/ x2 F
  1687. ; disabled by default
    # }9 H- I/ E+ z
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * d5 C0 z% _6 P' G. o0 X
  1689. ;gd.jpeg_ignore_warning = 02 ?/ @8 W$ J- P

  1690. 7 m$ k( ?* l4 P; Q6 c
  1691. [exif]
    1 \, p1 r3 ]3 A
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.) k4 d& B* K, i- F+ M2 U4 s6 g( y! ^$ N
  1693. ; With mbstring support this will automatically be converted into the encoding$ s0 V* I$ Z. g% B! Y5 j# }' T
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding- I$ F# a# k( ~6 r/ K2 U
  1695. ; is used. For the decode settings you can distinguish between motorola and
    4 a5 k9 O* M' o
  1696. ; intel byte order. A decode setting cannot be empty.9 L3 `3 X3 N( q- ~
  1697. ; http://php.net/exif.encode-unicode7 U% |9 p+ @  I. c: c$ S$ y
  1698. ;exif.encode_unicode = ISO-8859-15
    ) G! X. ]" g5 a- t5 c. h/ v7 u3 p
  1699. 7 T, G$ _- d! T, v
  1700. ; http://php.net/exif.decode-unicode-motorola
    6 }: L; u1 T" W8 D& [
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 d! X% H2 j5 D9 c7 y

  1702. ( ]+ o" M2 w0 H, R& E! `
  1703. ; http://php.net/exif.decode-unicode-intel4 T7 E: [/ C; Q& ?8 q
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    * C- e0 {- e# N/ q* B' s5 k
  1705. 8 @! S  ^, D) X+ G$ L
  1706. ; http://php.net/exif.encode-jis# I& M0 Q( G0 ]2 a$ I
  1707. ;exif.encode_jis =* Z9 v6 o  O: N9 N5 P9 e5 W
  1708. * `- S9 i% u7 d; p, m2 k: w
  1709. ; http://php.net/exif.decode-jis-motorola
    0 m9 [5 n. S  x( q3 f7 ^/ F
  1710. ;exif.decode_jis_motorola = JIS
    ) {* \' N$ M7 T% V0 N' T* ?

  1711.   I* o0 v& _( m* X( `
  1712. ; http://php.net/exif.decode-jis-intel- t0 \. m: v, Y( B' z9 a
  1713. ;exif.decode_jis_intel    = JIS) r" X0 B5 s6 k' Z$ q; c: x% P

  1714. 9 i( }5 ^* o$ O- z% S
  1715. [Tidy]& N/ R2 F/ T  z; R7 D
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 H% H# j6 k9 y% Z; z8 t* ]
  1717. ; http://php.net/tidy.default-config+ i  V* d& J, X4 n7 s# j- d1 ~
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ' g7 A1 S$ s% E6 B

  1719. & x$ ^( }: C5 q( j2 M
  1720. ; Should tidy clean and repair output automatically?
    2 l  _& f+ Z7 U1 T/ Q# R
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ! S: _! g8 D- @: v
  1722. ; such as dynamic images
    " K; Z) x& u6 G+ m
  1723. ; http://php.net/tidy.clean-output
    6 R) v# W: J# ^6 s/ I
  1724. tidy.clean_output = Off1 q, ^0 C4 C4 D; c5 G

  1725. # ^" H0 p' }5 I' C) g0 L+ R! P8 Q  Z
  1726. [soap]0 l) p. Y0 N1 W" R0 k3 t& Z
  1727. ; Enables or disables WSDL caching feature., Z. i  x/ T- h+ o
  1728. ; http://php.net/soap.wsdl-cache-enabled5 ~" m: O* h& V- a
  1729. soap.wsdl_cache_enabled=1
    $ N9 r0 N$ c  o' \( P

  1730. $ ^- b) ~# b. C$ p5 v9 E
  1731. ; Sets the directory name where SOAP extension will put cache files.
    0 ?  W3 ~  T" ?$ n" ]" `
  1732. ; http://php.net/soap.wsdl-cache-dir9 {  c4 b8 x* K, c0 w6 c
  1733. soap.wsdl_cache_dir="/tmp"6 W3 x8 @! H8 t" ^1 f3 u

  1734. 5 h. F* E6 w1 c7 \0 s' E& E
  1735. ; (time to live) Sets the number of second while cached file will be used
    % g, [! `+ S2 O1 T: p
  1736. ; instead of original one.
    9 {# H8 G( \" |/ n, w: w
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! v% a: \2 C4 @* X/ D
  1738. soap.wsdl_cache_ttl=86400
    + }1 j1 |% W* z. q7 p# Z; R% f

  1739. / T$ o, f+ k) j
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)$ Y# J5 e$ K& w
  1741. soap.wsdl_cache_limit = 5/ j# a% _. \8 R7 u3 G6 r/ g
  1742. 4 I* i! v# w$ M; q  \( [( ~' |; r1 k
  1743. [sysvshm]; d, S0 N" v  c" T
  1744. ; A default size of the shared memory segment
    ( e: S6 z2 C# U* z, E' r8 @
  1745. ;sysvshm.init_mem = 10000) ^+ g/ b. \2 d2 _

  1746. / N1 D. I3 j& }  E) W8 K
  1747. [ldap]5 h8 x+ I$ v+ ?5 @! U
  1748. ; Sets the maximum number of open links or -1 for unlimited.& ]; F7 v) a! F
  1749. ldap.max_links = -1
    & W! Q* X& n. O2 K' ^9 l

  1750. 6 \9 r' [& y3 C' C5 z5 P
  1751. [mcrypt]
    / V1 y" N6 E6 P6 b. H( k- ?' ~) X
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    + w% k7 A3 X: w$ o% Z, q8 l, N2 K
  1753. 0 \  m5 G; ]- }6 P3 g
  1754. ; Directory where to load mcrypt algorithms! e* j9 T& ]; _
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), h9 B# R4 s' Z" ^
  1756. ;mcrypt.algorithms_dir=6 x, E! C0 q% o8 T1 R
  1757. ; m  G7 ]& ]8 l: q% F# W# F
  1758. ; Directory where to load mcrypt modes9 T. a4 Z& o9 i' s3 x/ B
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 ]7 {; s7 G) B5 I2 \
  1760. ;mcrypt.modes_dir=
    . `  L; o7 @- Y$ T2 r* U! S" H
  1761. & g1 e4 G) n; c+ S' F2 q0 j
  1762. [dba]9 N: Y- v' Q( p+ d% M
  1763. ;dba.default_handler=
    / B$ D5 ]# X( }- a9 C8 G

  1764. # N5 F: G  |! {$ r
  1765. [opcache]5 e# Q) i6 N4 u; t& G0 E$ n
  1766. ; Determines if Zend OPCache is enabled" P4 B( b3 S! v$ r1 F
  1767. ;opcache.enable=0: U$ M; E6 U8 M! e+ h
  1768. , {% c9 u) u/ Z6 K* t9 m# n
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ! `8 a, p, X3 Y* Z6 {
  1770. ;opcache.enable_cli=0
    : h0 f4 V6 y1 ]9 Z9 [5 t+ d
  1771. ' r5 I0 C9 C) Y' {/ b& x5 ~1 ]
  1772. ; The OPcache shared memory storage size.
    8 v' K2 b& E/ u5 v- w
  1773. ;opcache.memory_consumption=64
    . t, r. s. i! i9 f9 Y
  1774. # z8 f5 W/ @8 k" G/ E  q& ]7 Z
  1775. ; The amount of memory for interned strings in Mbytes.
      D/ g( I8 A' Z- z+ n
  1776. ;opcache.interned_strings_buffer=41 k( p; V( [7 d/ {* ]1 e/ h
  1777. 6 z5 @  y1 z) ~" D& ~5 Z- T
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.$ U/ W* i! i  d# I( O. e7 B
  1779. ; Only numbers between 200 and 1000000 are allowed.
    . K5 _  F0 g  C
  1780. ;opcache.max_accelerated_files=20009 U7 o" ]) C: v% N- {% X
  1781. * d' }2 ]' [. k% k/ i
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    7 d; l" Y$ \9 q8 J8 m
  1783. ;opcache.max_wasted_percentage=53 F) j* r& G/ {+ m6 y- ~( R
  1784. 6 x# I# x+ X$ m9 C' U* z! Y
  1785. ; When this directive is enabled, the OPcache appends the current working
    # z# B0 R7 p; t! b
  1786. ; directory to the script key, thus eliminating possible collisions between2 d! ~5 M5 }( k9 r6 _; m) f5 G$ }3 b
  1787. ; files with the same name (basename). Disabling the directive improves% J* K. m* I4 z0 u- q0 {
  1788. ; performance, but may break existing applications.6 V, r$ j7 ?+ @5 x$ l4 [$ D
  1789. ;opcache.use_cwd=1& u# Q" a0 w# n8 b3 a
  1790.   l$ }" I/ k% x( O) w+ W  l0 |8 c
  1791. ; When disabled, you must reset the OPcache manually or restart the6 z& ?, i) {$ U
  1792. ; webserver for changes to the filesystem to take effect.
    , \4 M: U' k6 C) [( _' Y
  1793. ;opcache.validate_timestamps=11 w% [+ S/ A* a# K! }% \

  1794. , }$ I5 m. R! p+ U$ X
  1795. ; How often (in seconds) to check file timestamps for changes to the shared: s& d! q# ~# ?$ ]
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    8 a$ U; u' C! P; W9 N# l; u; a0 a
  1797. ; once per request. "0" means always validate)
    ( t8 D- C0 }6 M* P# J" X) I0 ~
  1798. ;opcache.revalidate_freq=2* m, L( z8 _. l% D$ S0 p$ E/ g8 R
  1799. 4 h3 }5 x& T$ P4 n" m) g
  1800. ; Enables or disables file search in include_path optimization
    # |" T( ]. h+ c. f' Q. V0 A* ^1 g
  1801. ;opcache.revalidate_path=0
    $ t$ Q( ]6 Z$ O& |

  1802. . h7 L0 ~" j; w7 f5 u3 l
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
      g' v+ @! _1 g) H8 e2 F% y
  1804. ; size of the optimized code.
    9 A$ S' N7 V$ r& w& U$ X
  1805. ;opcache.save_comments=1
    , M1 G: r& h! e( |

  1806. ) U* S3 o* s" T) Q6 C; ~
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! l# q( F4 G, S+ b. s- B9 Q
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    0 E& M( c/ i  Y. d3 ]6 N3 J) B, ]
  1809. ;opcache.fast_shutdown=0' ^5 `3 W! s' z" W$ L3 v

  1810. * |/ [. v2 l+ A6 L
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    + P4 H+ O: U+ w3 {
  1812. ;opcache.enable_file_override=0
    2 u) Z: y1 K  @# T; l

  1813. . P" H8 }/ a% Q# O2 v3 o
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    % c. `8 L- l; u* f- Q
  1815. ; passes5 B$ P% u$ o9 |- B) M
  1816. ;opcache.optimization_level=0xffffffff
    , A1 k; P) a1 z8 D3 }' H4 E; I
  1817. 8 d, X* J2 H2 [0 |1 [
  1818. ;opcache.inherited_hack=1* i7 e" Y2 d, m* R: _2 n
  1819. ;opcache.dups_fix=0
    4 d# J  `+ t$ t: r' K$ x6 O0 I5 ~
  1820. ( L, ^9 a% R6 b) G/ n  @
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    7 p6 f2 h- A2 a& {0 P& X# z3 @' R+ ]" i
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    " x$ c9 X) {  f& _1 C, l; ~, M7 m
  1823. ; that should not be accelerated. The file format is to add each filename
    - J2 E2 N& Y3 T6 ?
  1824. ; to a new line. The filename may be a full path or just a file prefix. }; c( q9 ~1 L8 L
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www0 v$ v9 C* a1 M
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).5 I, ~8 p; J% l+ A6 b- h- y4 c
  1827. ;opcache.blacklist_filename=
    ( N2 H4 B. \( Z- v: W; Q
  1828. . y6 z5 K& \" s  E$ @
  1829. ; Allows exclusion of large files from being cached. By default all files0 S+ A3 U$ h9 S
  1830. ; are cached.
    $ C3 ?3 b6 h0 y: b( m3 e0 K  D4 D
  1831. ;opcache.max_file_size=0/ D$ N/ {2 `3 J

  1832. / B2 p# L6 W4 @/ x  o3 P. |
  1833. ; Check the cache checksum each N requests.
    , ~& v: F0 J' h. j# h' j5 w8 P; _: L
  1834. ; The default value of "0" means that the checks are disabled.
    3 T/ q: [1 ]4 C
  1835. ;opcache.consistency_checks=0
    * }# ^3 t" f+ a4 \; h- f0 ^

  1836. 4 Q, d- R6 {9 e! T! A( g& }; ^
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    - t, E# k* o% q* k9 Y4 n; V, Y
  1838. ; is not being accessed.' q- ]: W; }1 [0 b+ G  C" o$ H
  1839. ;opcache.force_restart_timeout=180
    ) U1 N0 K' C2 A( X& c+ f
  1840. 0 D( v; G8 @- a% v' v+ }9 g
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ' x) k& T9 U1 p! A/ Y. Z: i" l
  1842. ;opcache.error_log=7 y  `8 ^0 [% s
  1843. 8 x4 R1 t' ^2 q4 }, O3 R" n
  1844. ; All OPcache errors go to the Web server log.
    " r. x. ]* N: }
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 g+ N4 y7 T6 G# @% M. q! D
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
      P$ K; t1 J; W5 V% n, o
  1847. ; debug messages (level 4).. R8 w; R: f  g7 c; a: M7 W) h* e
  1848. ;opcache.log_verbosity_level=1
    # v$ R" r: M2 Q: {) E
  1849.   M, N# S& p2 Y- m: D! ?
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 k' l5 @  m! i' w' H+ n5 }
  1851. ;opcache.preferred_memory_model=
    4 O2 t1 p# }1 b
  1852. 0 ]4 J+ K- f+ }
  1853. ; Protect the shared memory from unexpected writing during script execution.
    + g1 _! h+ J4 @/ `, L& c
  1854. ; Useful for internal debugging only.
    8 m8 r+ B4 B+ ]! ]# G4 g1 Q
  1855. ;opcache.protect_memory=01 A) K5 P; m, p2 `
  1856. , ^! U: K8 J9 W1 G5 e
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is! N/ R8 k0 w% `# D
  1858. ; started from specified string. The default "" means no restriction0 M! {5 x7 A; o$ [
  1859. ;opcache.restrict_api=$ h9 ~' C( v8 n$ F: H  h

  1860. : X  v1 q, J* T) e
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    0 R: m5 D! X  V/ q
  1862. ; processes have to map shared memory into the same address space. This
      j) |7 v3 E$ n8 q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"$ v! ]; Y4 c; d) r
  1864. ; errors.+ f& Y6 f2 A3 m  I2 P
  1865. ;opcache.mmap_base=
    , a! A1 D* Z% n" L& f' U& E
  1866. & S" m9 L: ^# ?2 ^& Y
  1867. ; Enables and sets the second level cache directory.' b2 C% N& S1 Y* s8 |7 |3 Z
  1868. ; It should improve performance when SHM memory is full, at server restart or7 _3 G3 q. j5 Z* A. V
  1869. ; SHM reset. The default "" disables file based caching.
    ) P+ G5 _) J+ @; }5 X- i. X& X7 C
  1870. ;opcache.file_cache=
    & o' g1 e+ W2 k( }8 Y

  1871. * W: r3 [1 ]- [6 u' ^- D
  1872. ; Enables or disables opcode caching in shared memory.4 @7 Z& h- s$ T$ _
  1873. ;opcache.file_cache_only=0  |' F  m* v1 R

  1874. 5 e6 n" o) m9 l& L, l
  1875. ; Enables or disables checksum validation when script loaded from file cache.& ?2 d! M! ]( M5 {1 T1 m# Q3 E1 e, @
  1876. ;opcache.file_cache_consistency_checks=1" I! r& h# `/ Z& f* c) n6 S
  1877. 6 h! {9 ?3 k- P; Z% _
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    " u" m3 i& D& T" |% o3 r/ B
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    9 Q& b2 Q+ D* P/ c3 E* P" H8 h4 n7 Y1 W
  1880. ; cache is required.4 A, w' v2 Z# f2 ]# e
  1881. ;opcache.file_cache_fallback=1
    " ]7 C! I' O! W3 ~) q5 C& T! r4 i

  1882. * ^) o, ~7 L% G+ S4 v  Q9 d- w* b9 g
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    / f5 a7 g. Z5 p6 q( K) z2 E9 J
  1884. ; This should improve performance, but requires appropriate OS configuration.
    . M0 u% J# O8 ?5 E7 g7 d5 h! H
  1885. ;opcache.huge_code_pages=1
    5 x/ N7 f& n5 ]1 a2 a

  1886. ) Q" v+ W; \4 ^0 |1 Z, Z7 q& j( R
  1887. ; Validate cached file permissions.
    / s! K1 _, Q# f% |& o- t3 m
  1888. ; opcache.validate_permission=0: S$ l! ?- q# h- R

  1889. . p1 @4 M% F2 B4 V; ^+ [' \
  1890. ; Prevent name collisions in chroot'ed environment.
    / F9 e# p7 ]# R- F: M' H. P
  1891. ; opcache.validate_root=0
    5 V4 U1 A& M5 S0 B. j
  1892. " d7 ?, X/ j" C, ?  P
  1893. [curl]
    : F6 q8 @4 g2 E5 a4 ^1 n8 O. O! }
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    5 e! ?. M8 I0 F  W9 S, d
  1895. ; absolute path.
    1 |" x" G. L- M# F/ x; U- q6 s
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt+ g( O4 S# y+ Q3 H
  1897. $ a* V4 r/ ?* @4 Y. Y6 \- u- X
  1898. [openssl]6 Q, |1 y$ k$ p7 |! O4 m
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 Z* o. z7 g6 b' b7 |6 |. \
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should! R# m1 U% l% S: {( M9 u7 `; t
  1901. ; not specify a value for this directive as PHP will attempt to use the
    / b9 R* e% s8 J6 \
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ! `: V" d( \" M# J* M3 q0 p
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ' q0 N4 `  ]4 T" e/ u
  1904. ; option., u! O; _  S/ z& I0 T6 H: J
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 [  c2 D+ y! w8 x6 q

  1906. ) m6 q8 s* F% W1 P! M
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    / D+ k4 X, e/ {/ @  b* @6 q
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    , O5 e; F3 F/ l' P
  1909. ; certificate. This value must be a correctly hashed certificate directory.0 D2 X: E! {* }7 s
  1910. ; Most users should not specify a value for this directive as PHP will
    $ p+ n) @9 w4 s& m' ~* R
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 o! K6 t; Q( S- S* g, E
  1912. ; this value may still be overridden on a per-stream basis via the "capath"% A5 Z$ T* c; \) ^* I
  1913. ; SSL stream context option.
    ( h" \, K# Z& t" [* U5 z# e3 s
  1914. ;openssl.capath=
    . H, E+ Q+ B' T$ O( e

  1915. 5 I% W9 f$ i; ]/ e! U7 Q$ h
  1916. ; Local Variables:
    ; k" i$ Z( H4 A0 w" U- m
  1917. ; tab-width: 4
    3 i9 f! V7 r& d& [! d+ n3 |
  1918. ; End:& k/ V; d1 M; o$ @1 T! O

  1919. * O8 o$ j5 p/ n, r; D( w+ Y; c
  1920. ;eaccelerator0 \% f- ^) y3 ]3 \0 H
  1921. ( w0 U+ f0 x# H- ^( v
  1922. ;ionCube* I5 t! x! R3 W4 @/ h

  1923. ! a5 x& W" Q" Y9 m
  1924. ;opcache0 j. L4 |8 T3 }: @* p# h; ]3 ^2 ]
  1925. , C# z8 v% |# D, N; G- w9 I# J
  1926. [Zend ZendGuard Loader]
    8 q$ @5 F2 D2 i8 w: h* p
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ; J/ K* U% G  o5 R7 g: u& @9 a
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    3 u: l8 {' p# G. T+ R
  1929. ;zend_loader.enable=1
    0 c& g6 g  a6 D# a) [9 R
  1930. ;zend_loader.disable_licensing=0
    ) Y, H* z# o9 t( P$ L  Q
  1931. ;zend_loader.obfuscation_level_support=3
    ) E8 s& ~7 @/ t" j1 c4 O& K6 K! f
  1932. ;zend_loader.license_path=% D+ d& ?: s& u* s/ B. }

  1933. 1 h- t+ J0 r) c$ q% i9 S" h
  1934. ;xcache
    ) o+ Z7 J! Z1 a, d" g+ A9 q
  1935. ! k) i# J! m- ]0 X; ~0 t. \
复制代码

! J7 v/ M( V8 m0 {. |" E, [# F) G' h6 H* k* g& q

; f! J' Q  L- h) Y! N: V
- ?7 D4 l" H, O% G( v/ e& A* `8 M; d; N- o* S. f5 ~
0 Y) ~0 l; D" F$ c- o

- L( I5 O/ B  [9 s4 o% KPHP5.6版本原始设置
) N1 s) |6 d6 Q" g
; Z8 _! t3 q: `  P2 V4 z8 |- v
  1. [PHP]: H; R/ t8 S6 ]( J/ a
  2. 3 O  C9 Y: r% K
  3. ;;;;;;;;;;;;;;;;;;;6 k7 v' ?+ b7 i( z  z
  4. ; About php.ini   ;, D! e* X& Y1 z; ]
  5. ;;;;;;;;;;;;;;;;;;;
    9 l5 e1 o  h) ]! _; G% s9 s
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    2 D8 n4 E- u  E, `7 G0 H' m1 S
  7. ; configuring many of the aspects of PHP's behavior.9 U, x8 Z6 j) E: Z( @( H
  8. / r& z1 v" Q* t
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 v+ }9 P4 n0 |4 L7 I) R/ R6 l* M: n2 C
  10. ; The following is a summary of its search order:
    : x# L5 J% b# r6 e* ?
  11. ; 1. SAPI module specific location.( Z# g5 ~  f# k8 U* G- e3 V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' \& ]( w$ V+ d0 B
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 h: [8 C- M* n( s2 \- z% }
  14. ; 4. Current working directory (except CLI)# B3 I' ~! W4 Z$ _- g7 F/ h  w
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ) v* G2 ?4 S: u7 D. l# a6 Q' C
  16. ; (otherwise in Windows)
    & b' d; `/ l* o5 P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 B; e6 G+ e. }) {
  18. ; Windows directory (C:\windows or C:\winnt)7 N5 d9 o1 ^' M6 @+ J; g3 b2 |1 q
  19. ; See the PHP docs for more specific information.
    & C! k/ Z7 k0 _* m3 B- X
  20. ; http://php.net/configuration.file" q8 i9 T0 [# @0 S+ h7 ?/ }

  21. & I: k, Y* h$ R! m0 i. z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines$ K2 s6 K8 i- `' y) U- A/ y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 `. ]5 w/ y2 w  ~: z6 R, V. L4 h+ `
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though( G5 ], |4 ?) I# l& M
  25. ; they might mean something in the future.
    3 j0 D; {; K1 s! r3 @
  26. 1 `& B) g' j. R5 [0 W2 O
  27. ; Directives following the section heading [PATH=/www/mysite] only* z- W3 W* {/ I
  28. ; apply to PHP files in the /www/mysite directory.  Directives/ L; f4 ?* G5 ~' g: Z: g
  29. ; following the section heading [HOST=www.example.com] only apply to3 c4 n( i" c+ L0 |
  30. ; PHP files served from www.example.com.  Directives set in these7 ~, w7 I0 F/ s& P2 r. ^8 ]* B
  31. ; special sections cannot be overridden by user-defined INI files or- V/ H* U' _3 _9 y8 r
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " s8 O( B+ k" V2 _& K
  33. ; CGI/FastCGI.+ |+ Y& ^  r' z  r
  34. ; http://php.net/ini.sections
      x9 P: g) n; X3 |' S$ [1 @

  35. " {# n, w0 n* V6 W! H
  36. ; Directives are specified using the following syntax:- F. y# y- Y5 B
  37. ; directive = value
    - y6 U- V4 }' m4 j( l9 b
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) G9 s: U$ c: j+ T9 q( z- b
  39. ; Directives are variables used to configure PHP or PHP extensions.# ]' k/ ~  O. e$ k" U
  40. ; There is no name validation.  If PHP can't find an expected
    $ J2 i* S9 k5 V2 \: @
  41. ; directive because it is not set or is mistyped, a default value will be used.: E6 Y; j. T0 S+ J/ r

  42. 0 c$ F7 k/ _5 _- N0 y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ! k  J- w3 }  G9 P
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " g" b% N0 Q% ?& K
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; X+ u- W( p- M7 F. R. z6 a
  46. ; previously set variable or directive (e.g. ${foo})  f) s) N4 R8 Q0 ]% [3 e7 \
  47. " M, g# K& N' O$ I& ]$ L( {
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    , T: @4 J/ y& T0 W. o) W* S8 }
  49. ; |  bitwise OR
      e1 }3 J- V) a0 s) |
  50. ; ^  bitwise XOR6 v# Y. S# p. R- z4 N3 w/ U, \
  51. ; &  bitwise AND
    " P; L, d3 ]9 `  q
  52. ; ~  bitwise NOT
    9 L, J" D. ^+ C0 E  L& q$ N) _
  53. ; !  boolean NOT
    ' ]$ ?8 t( _. p% [6 n: J: {
  54. # w3 ^" x4 u% p1 v+ \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 @8 u) D9 V/ z* e
  56. ; They can be turned off using the values 0, Off, False or No.$ V3 P3 J4 t9 b2 V( I& Q6 U

  57. 8 x% S. w- A; m+ G# W5 U
  58. ; An empty string can be denoted by simply not writing anything after the equal
      D+ }$ b/ M1 [4 u- f7 ]
  59. ; sign, or by using the None keyword:
    - O% O! i' f9 A- M, s7 t1 i
  60. 8 q1 I: p: d( Y) k5 |( c
  61. ;  foo =         ; sets foo to an empty string( l) `% }* _7 z4 t0 g8 [' ?
  62. ;  foo = None    ; sets foo to an empty string* G: s" i. f* @  L7 \8 e
  63. ;  foo = "None"  ; sets foo to the string 'None'. z& ^( G; W4 ^

  64. 0 i+ D3 z  [+ U
  65. ; If you use constants in your value, and these constants belong to a
    & ^* I1 N) i8 @, Y4 B) Z) h- T4 O
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . g  a- H7 s# e, x' R4 F' A. l- H
  67. ; you may only use these constants *after* the line that loads the extension.# n6 `5 v1 P& x3 @" i) f1 ~5 l

  68. : l+ q7 }) H( |& e
  69. ;;;;;;;;;;;;;;;;;;;
    6 ]' k1 Z7 P5 R. H2 c1 s
  70. ; About this file ;/ y5 F" p! S; v
  71. ;;;;;;;;;;;;;;;;;;;
    2 v' H! M) k" @& T. o7 j/ |: w& {, g
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! G9 l; X4 `+ _
  73. ; in production environments and one that is recommended to be used in" V4 @$ K/ m) K$ O+ G7 c$ [+ b
  74. ; development environments.& |& m9 v& a$ N- M% z
  75. 4 O, e/ O! u$ z" j, P
  76. ; php.ini-production contains settings which hold security, performance and0 i7 x. y5 s# F% ^2 b
  77. ; best practices at its core. But please be aware, these settings may break
    % J6 A' s' j( _/ T: w, W
  78. ; compatibility with older or less security conscience applications. We, _6 v+ ]/ W7 Q' m
  79. ; recommending using the production ini in production and testing environments.; B* A* z3 X" j$ ~- |- o0 c

  80. 8 h) w& D, i/ K  U/ T( a
  81. ; php.ini-development is very similar to its production variant, except it is
    ( V$ f' a, |! L- @  Z! |2 }4 B
  82. ; much more verbose when it comes to errors. We recommend using the
    6 |' w' v& A4 G3 n& l, v
  83. ; development version only in development environments, as errors shown to) u# {* S/ f7 P1 W  D9 d" G, ^6 k
  84. ; application users can inadvertently leak otherwise secure information.& q+ ^1 G. ^( c
  85. 3 }$ r. Z+ [3 M: @$ v8 V4 ~
  86. ; This is php.ini-production INI file.
    ! k3 q! [% }2 l  e
  87. 0 U' M+ C8 h7 p* |: r5 a
  88. ;;;;;;;;;;;;;;;;;;;
    ; C! Q9 ]# c' ~/ _, G
  89. ; Quick Reference ;( X2 U: K; x7 L$ e# H) J
  90. ;;;;;;;;;;;;;;;;;;;0 ^4 ]- @/ X7 `4 O7 \- r) _1 E
  91. ; The following are all the settings which are different in either the production6 y3 N; K  _$ ~* h8 r8 n
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    2 K6 N; c" C) i: p" |4 R
  93. ; Please see the actual settings later in the document for more details as to why+ T& r4 B% D; @; _" F7 }( u
  94. ; we recommend these changes in PHP's behavior.
    ) w( Y0 c. _& v$ Q8 P2 ?
  95. ' E. v+ L0 u9 A2 a% m# @; E
  96. ; display_errors
    5 ], y2 l1 ]- i- @9 s, E7 o
  97. ;   Default Value: On* g8 \6 G# m+ x/ K
  98. ;   Development Value: On4 Z6 H+ N+ a+ Y3 I5 `: W% j
  99. ;   Production Value: Off
    8 V8 ~- ?# @8 H  R* H4 ]: ^
  100. / k6 v! t: `1 S2 B9 C5 v
  101. ; display_startup_errors0 x% O, f. D, {# x" G9 Y( n
  102. ;   Default Value: Off6 ?3 q7 X  |  x  E- h9 p
  103. ;   Development Value: On
      C8 d7 }( }* V; M3 z
  104. ;   Production Value: Off' |& h3 N% V# e3 D+ k5 P( K! X- x

  105. / M& L; `  [$ Q/ q. G! ~
  106. ; error_reporting* z; W/ ^+ Z% K* ]( O1 a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; K/ V( R, x& E9 [, [* ^
  108. ;   Development Value: E_ALL& K4 m% o9 R& f" L) r6 D9 Z1 A8 y8 Q  |
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : F3 H& u7 E/ m9 H( N/ C: i
  110. ; r8 p4 P4 B& m8 i6 q
  111. ; html_errors
    ) Z% w8 Y, n/ I  K
  112. ;   Default Value: On+ @+ f4 G( \1 K" }2 W6 s. R4 ~1 ~
  113. ;   Development Value: On
    / j4 n; l' |1 [( d& E* g
  114. ;   Production value: On
    % s# O+ Y2 ]9 j  R7 y$ W
  115. ; f8 @5 |; v& q8 D5 s
  116. ; log_errors
    , j+ G, e5 y! y
  117. ;   Default Value: Off
    ( V5 {$ ^( ]# U' `0 H8 v9 S; S  b+ O
  118. ;   Development Value: On
    - Y. s* U' q+ o; k1 a) e
  119. ;   Production Value: On
    : F. Q- c. u+ f& l- g3 G) P8 |+ X( Y

  120. & N% g; f7 f' l$ v/ L* p, S
  121. ; max_input_time# g5 ~6 D* B& |8 y3 g/ l% V
  122. ;   Default Value: -1 (Unlimited)5 V! b. U) P. O: r! |2 [" X1 P
  123. ;   Development Value: 60 (60 seconds)& N: {) i- o7 N) K  p) ]
  124. ;   Production Value: 60 (60 seconds)
      C2 F- z8 c" @/ c5 L- _' Q
  125. 5 o: `2 d# @+ k
  126. ; output_buffering2 V  `: G5 q5 u* Z, ?8 D
  127. ;   Default Value: Off: |" L$ d+ N0 C8 M2 J: n
  128. ;   Development Value: 4096
    * h" F; e$ ^# c; E" f
  129. ;   Production Value: 4096
      q9 b3 ~: S' N0 P  _  {. y- ?2 m7 C1 C. v
  130. & t( K% u2 n0 L9 i( p
  131. ; register_argc_argv
    ( _! _- _- h9 ^4 m  D
  132. ;   Default Value: On/ c, e/ r2 h: e8 w  @
  133. ;   Development Value: Off7 x2 O6 D: E5 u1 G7 f5 f* x
  134. ;   Production Value: Off
    2 o7 X% ]3 R! ^# U% c, r
  135. - E! s7 [; s' d8 y' Y
  136. ; request_order" O8 J9 P$ i1 s3 P& `
  137. ;   Default Value: None
    . J1 ]6 y( u2 ]; P3 D
  138. ;   Development Value: "GP", q7 g) B  K  ~; `' d& L# z
  139. ;   Production Value: "GP"- m  r& d2 R4 _

  140. 2 i7 _6 ^+ W0 ^4 y
  141. ; session.gc_divisor
    6 j+ D( w& `/ E2 |
  142. ;   Default Value: 100
    ; \7 |* J/ p6 H' v
  143. ;   Development Value: 1000& l, j/ z* O$ M
  144. ;   Production Value: 1000. S8 l% j# q4 R

  145. $ \( o4 e, m, C9 D
  146. ; session.hash_bits_per_character
    - E( D  N; H" o5 R
  147. ;   Default Value: 4
    0 t$ l  Y$ X5 u3 `9 |5 I3 r& k
  148. ;   Development Value: 56 @, U2 c0 B" d6 y0 ?
  149. ;   Production Value: 5
    ' \7 R8 z2 w: g/ B

  150. 4 A9 [5 z4 J; ]1 u
  151. ; short_open_tag) J9 K% `1 \+ H. L4 J) G( ]0 z
  152. ;   Default Value: On) {6 d2 E  W( e- X9 M
  153. ;   Development Value: Off
    6 H- C: I" D! I+ |
  154. ;   Production Value: Off) Y6 F  _/ x" D/ G

  155. 1 w( [: U& C9 ]7 p' j
  156. ; track_errors
    : A9 ^( g! V. q
  157. ;   Default Value: Off
    6 P8 _1 b. B5 P. p4 r  J1 X" a6 X
  158. ;   Development Value: On
    9 G+ }1 f6 K& f
  159. ;   Production Value: Off
    7 B& M6 c0 j7 t% |- K  \. g8 X
  160. $ }1 n; O# f; k" O
  161. ; url_rewriter.tags" o* ^7 n# P# r7 ~* F
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ T3 o3 a( _* Z9 p1 w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 n6 {) {! n* _. W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 [, {/ X3 Z# ^+ `8 R3 b: x) A
  165. # y4 B$ o0 ~% n' ]' i: ^2 _3 o! P
  166. ; variables_order8 W7 ~% E+ `& ]0 r. ]- q* c
  167. ;   Default Value: "EGPCS"
    4 A9 t$ M1 W; o) P) N& ~
  168. ;   Development Value: "GPCS"
    2 _+ B6 s+ f2 N1 c
  169. ;   Production Value: "GPCS"& R+ O( z" q! n5 j9 b

  170. ( a# P9 m: c+ B2 `9 F
  171. ;;;;;;;;;;;;;;;;;;;;
    1 q7 m# s- W( Z6 ^; y, S7 w" _
  172. ; php.ini Options  ;
    / g1 J& i% c2 {! Z
  173. ;;;;;;;;;;;;;;;;;;;;
    . S9 X9 u8 O$ M0 i/ t) G0 t! f- b
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 ?% r$ K0 I" f4 K3 t: A) Z
  175. ;user_ini.filename = ".user.ini"2 f* a0 v8 ?& a& o! R
  176. ( A  `% J3 q( j" ^9 ?- I- M
  177. ; To disable this feature set this option to empty value
    $ `4 C8 b+ |* P" a! B9 Y' k' u
  178. ;user_ini.filename =
    + M& A2 @% h3 z6 a# r. u& c
  179. ; M# x4 X  _5 j  H) ^0 J" u6 |
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ ]" y0 i+ W2 H$ l" F, P$ p5 `3 U
  181. ;user_ini.cache_ttl = 300
    - y4 x- Q- s! F7 @( W7 G6 E

  182. ; T% ^: d/ {" h, o+ r
  183. ;;;;;;;;;;;;;;;;;;;;3 G1 r8 W9 M% h! G1 u# G
  184. ; Language Options ;
    # p& M, I  |0 l) C' ^# J- U
  185. ;;;;;;;;;;;;;;;;;;;;
    " Z5 c) a- |5 z# l. V# w
  186. ) {1 {* ^/ }( J3 z2 J. M* u
  187. ; Enable the PHP scripting language engine under Apache.! J- Q+ W+ U$ x6 _
  188. ; http://php.net/engine
    8 ]1 X, W$ l& b
  189. engine = On7 Q  L8 _) R' ^- E; j) {1 K
  190. + w) R2 y* u  ~+ {- _, n0 d
  191. ; This directive determines whether or not PHP will recognize code between8 s2 i( T: m( E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is3 D* w4 g: D0 P/ b2 z& {: ?1 k0 t
  193. ; generally recommended that <?php and ?> should be used and that this feature
    % Z4 l  _- p4 @  \8 }; X9 C
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 x! N( X4 r! a
  195. ; documents, however this remains supported for backward compatibility reasons.
    : U' u/ U$ V0 E2 q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) S2 [/ ]- ^' W/ l. h3 S
  197. ; used regardless of this directive.
    . \1 Y# Z  K& K2 ~, j
  198. ; Default Value: On
    9 M& H) o0 d$ K4 N
  199. ; Development Value: Off7 f% O5 q; a$ I4 {; b0 Z
  200. ; Production Value: Off
    ) T( Q! `/ T% z" J1 N
  201. ; http://php.net/short-open-tag
    * f" H. k& r6 ?4 J9 G, O/ Z9 z3 C
  202. short_open_tag = On
    4 E( k3 k2 Y2 S! e2 h
  203. 2 C# V7 `/ Q8 p0 {
  204. ; Allow ASP-style <% %> tags.# V" x3 _3 e" j
  205. ; http://php.net/asp-tags
    5 T# e! ^! c& D1 D; ~( l1 O
  206. asp_tags = Off6 c7 Y3 a5 h3 J2 y. s$ \/ @; A: A8 L
  207. ; |2 [4 m$ W: S8 c
  208. ; The number of significant digits displayed in floating point numbers." }8 K* r  K$ f. W* M
  209. ; http://php.net/precision& X$ t: T# H- _2 @
  210. precision = 14
    7 S% ^& {* h8 M* K

  211. " @5 m; Z+ H- g$ @
  212. ; Output buffering is a mechanism for controlling how much output data
    1 Y) Y6 m* _# u. p
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # i: L- v) m  }1 W" B2 {6 b
  214. ; data to the client. If your application's output exceeds this setting, PHP
    2 e, ^3 j8 l. K* ~+ E% H/ z6 t
  215. ; will send that data in chunks of roughly the size you specify.& w2 D: ?3 k7 k- X" M. @" U& x# w
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    * ?& b$ I6 l) i
  217. ; interesting side-effects depending on your application and web server.
    , V' x* s. E' z; b0 j: W
  218. ; You may be able to send headers and cookies after you've already sent output  a: b3 i- I1 L" v4 O
  219. ; through print or echo. You also may see performance benefits if your server is" H4 l( l& e' o: N% N& Q* r8 j# M
  220. ; emitting less packets due to buffered output versus PHP streaming the output/ }7 i/ S& W. d. [% R0 Q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( J- C- T( R: y
  222. ; reasons.0 r- l! b7 i% r8 n: d; _1 Y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control. Z' G" O/ [, e# ?' {# s8 ]+ A/ d
  224. ;   functions.
    4 R5 S4 W2 I7 }7 P$ t2 m
  225. ; Possible Values:
    # q6 |0 c/ e1 E; H, y2 |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 q6 g# Y- z& C2 M8 k! |! E
  227. ;   Off = Disabled% e% X* O, y/ V6 H
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( W( V3 A( h# q5 L: Q
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & n3 }; y& y0 [0 c
  230. ; Default Value: Off" ]6 t- u" t+ E( ~
  231. ; Development Value: 4096
    . G$ h; \; [& m& {3 U" M$ x
  232. ; Production Value: 4096
    ; X# Y& w0 v# l, }  @8 ~* O
  233. ; http://php.net/output-buffering
    , _, _- G" s# S. U! g( Z7 b
  234. output_buffering = 4096( M$ D- F+ u/ b1 a# p
  235. % m6 J+ O6 }! o4 l8 {
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' n( u- u9 g& U6 k( d
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ ]; r& ?  N( ]5 O* G+ l: Y/ M; N6 L
  238. ; encoding will be transparently converted to the specified encoding.
    + R; d9 A/ X, d4 {
  239. ; Setting any output handler automatically turns on output buffering.8 W: R8 R' d& O8 K/ z3 Q, S
  240. ; Note: People who wrote portable scripts should not depend on this ini4 h  ^# ^  ~. V; q) g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().5 w4 [6 v: f9 l
  242. ;   Using this ini directive may cause problems unless you know what script( I1 n. j4 U$ Q; t; m/ D+ a: x
  243. ;   is doing.
    1 n0 a* p7 [' [+ U( e% `0 w9 W. L
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"$ P' ]/ @) J7 N2 W, X) }- c: u
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# c9 `  z1 H5 Q: `
  246. ; Note: output_handler must be empty if this is set 'On' !!!!" \$ c  L0 G" o/ W: x. E7 u, P3 r
  247. ;   Instead you must use zlib.output_handler.) W  E( {0 L7 t6 |7 K
  248. ; http://php.net/output-handler) ^/ K0 e' z: k2 G: q- x% b- D) o9 s
  249. ;output_handler =1 n2 F+ R9 [( A1 Y6 s4 m8 d# C

  250. 4 }: r5 M1 y! G- k
  251. ; Transparent output compression using the zlib library
      A* ]7 s, v0 J4 s# }3 j: ~+ b
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    5 G$ Q& M- Y! C: j
  253. ; to be used for compression (default is 4KB)4 @- k, T9 I2 M4 e9 |8 K. ?" K
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ C$ U. v. H" i. J) O
  255. ;   outputs chunks that are few hundreds bytes each as a result of* K3 H+ O( I$ A4 \) Q
  256. ;   compression. If you prefer a larger chunk size for better
    : `, E4 t' j/ ?
  257. ;   performance, enable output_buffering in addition.
    - ~' T: N; u# u; J6 m/ b  i9 u
  258. ; Note: You need to use zlib.output_handler instead of the standard: M5 k; d9 z( y* J: Q; }" s$ H, I
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 O: E. H, n0 @1 C+ ]' G0 k
  260. ; http://php.net/zlib.output-compression4 t$ N& b2 n+ Z# {
  261. zlib.output_compression = Off3 m" q1 c& ]; Z

  262. ) M" \: J' R, Q2 J9 l0 I
  263. ; http://php.net/zlib.output-compression-level1 R; @7 n& v/ z  }
  264. ;zlib.output_compression_level = -1
    4 Z$ [- _# v/ W, _$ E% ]& _

  265. " J& y1 U2 b) ]9 i2 m) M3 \* x
  266. ; You cannot specify additional output handlers if zlib.output_compression7 t5 W1 H$ K3 G4 t: j- H
  267. ; is activated here. This setting does the same as output_handler but in( U6 `1 J0 H( C/ T7 u: R
  268. ; a different order.
    0 {; P3 L$ L2 }4 j. C  B7 i
  269. ; http://php.net/zlib.output-handler6 g# Z- P+ \5 K  E/ U- P% C
  270. ;zlib.output_handler =
    & h# z+ t9 x) P: q6 H+ X

  271. 7 P% m. U; m. O
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    * Z  S# \% ]4 m; t$ m7 J
  273. ; automatically after every output block.  This is equivalent to calling the  G/ T  l9 |, l8 X
  274. ; PHP function flush() after each and every call to print() or echo() and each
    + B  s7 x  a' I& M- h7 \
  275. ; and every HTML block.  Turning this option on has serious performance
    & J8 `# T  g  q  ]9 r4 H+ c
  276. ; implications and is generally recommended for debugging purposes only.8 d* Y" D% A8 S5 D. S
  277. ; http://php.net/implicit-flush
    7 r$ ]" j! N1 {; t* B
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 g7 c3 s7 p- j9 P: C! e) |
  279. implicit_flush = Off( o- i3 J: G. _

  280. 6 k' e0 {5 b+ J
  281. ; The unserialize callback function will be called (with the undefined class'& ?# p) F, z7 t* d( a  j
  282. ; name as parameter), if the unserializer finds an undefined class
    / F  M2 W5 F7 q) y' a' ]9 i/ r1 A
  283. ; which should be instantiated. A warning appears if the specified function is
    : u0 v' U# F8 l! g
  284. ; not defined, or if the function doesn't include/implement the missing class.: O' N  f9 I5 n( }* o0 B2 s$ h2 U
  285. ; So only set this entry, if you really want to implement such a4 U% w9 \: g' w! c2 ?* x6 f, N' q. b
  286. ; callback-function.* m8 F2 ~- c# }+ L: v( Y
  287. unserialize_callback_func =
    4 |/ y/ J% E3 i/ H3 i
  288. ' C) x' {; ]) g
  289. ; When floats & doubles are serialized store serialize_precision significant& }% c' k0 r" P* z" V
  290. ; digits after the floating point. The default value ensures that when floats! Q' W# m" I" s' S" p
  291. ; are decoded with unserialize, the data will remain the same.0 O& Y# [" \+ d% l0 f
  292. serialize_precision = 17
    0 h: ^. ^, a* q( ^. m6 B

  293. . q/ E% o2 V' d6 Y( u
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 U+ c/ Y5 O8 Y
  295. ; and below.  This directive makes most sense if used in a per-directory
    ' o* J% E% {' Z: N1 f, ]
  296. ; or per-virtualhost web server configuration file.
    $ A3 z! w# c+ x7 o& B8 p/ f: A' t
  297. ; http://php.net/open-basedir9 P" L) {5 o+ w
  298. ;open_basedir =
    6 p2 X% w  r" R! {3 j" O$ c

  299. . j5 v' Y& p6 n4 v( L4 z4 N
  300. ; This directive allows you to disable certain functions for security reasons./ t/ O4 O+ ]! m) D
  301. ; It receives a comma-delimited list of function names.
    ) }, ?5 a' W5 N5 f5 }
  302. ; http://php.net/disable-functions. ~! J  U. \% ]2 f7 c
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( c/ n) `% N& i0 E. i" {+ ~
  304. + u8 u: ?  E: n- j+ c! y0 p
  305. ; This directive allows you to disable certain classes for security reasons.- m; Z8 T7 B+ {/ ^, x3 `8 n+ n
  306. ; It receives a comma-delimited list of class names.
    + f# h0 E) p- X5 [9 t1 x
  307. ; http://php.net/disable-classes( C3 V# L* O& o2 M
  308. disable_classes =5 ^6 }! W7 i! h9 t# r; w" i$ v

  309. , E( m9 {1 H) u
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 A" k8 l; x1 x+ S
  311. ; <span style="color: ???????"> would work.
    ( _& k5 V# y* n4 b1 i2 y
  312. ; http://php.net/syntax-highlighting
    - F: F/ z9 S: C
  313. ;highlight.string  = #DD0000+ y+ @; f) W8 r, ~& G! ?  t
  314. ;highlight.comment = #FF9900. I9 L5 R' ]0 ?' b
  315. ;highlight.keyword = #007700
    5 r8 U6 r* I1 [" k' G! u. Y3 d5 }
  316. ;highlight.default = #0000BB
    $ Q/ z* L, |3 }- x
  317. ;highlight.html    = #0000009 [( v, K# Y, f( T6 y0 N% w

  318. # a% V2 E4 Y/ k6 c
  319. ; If enabled, the request will be allowed to complete even if the user aborts' Z1 b# p% H) g, v9 _5 j) j% s
  320. ; the request. Consider enabling it if executing long requests, which may end up
      l  r1 L% g3 Z+ i  Z
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # y% p6 [8 [( V# ~
  322. ; is to disable this feature.
    ) J( Q. Z- J; E, L5 f
  323. ; http://php.net/ignore-user-abort9 b- ?  V  {. P9 e+ T
  324. ;ignore_user_abort = On
    8 P8 X+ k1 F% J' S1 L& j4 v2 s, H
  325. * B+ z2 ]3 d3 Z; v, O
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ; l8 S: K# j) g( b
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    / C" Z: s  c, W3 k
  328. ; the file operations performed.2 e- v' H7 A& I
  329. ; http://php.net/realpath-cache-size# P& p) f, Q. {" A* C
  330. ;realpath_cache_size = 16k9 @  d9 P6 w2 ?& r
  331. $ ^3 h4 w& Z* }5 X7 E2 s" Z
  332. ; Duration of time, in seconds for which to cache realpath information for a given) {1 u( z9 t4 N6 y3 a2 m% R3 K
  333. ; file or directory. For systems with rarely changing files, consider increasing this
      h* R4 ]6 G1 Z& E0 }& y
  334. ; value.6 }+ g/ f4 J* f0 G# I, @
  335. ; http://php.net/realpath-cache-ttl6 w% x5 W. Y% N* h
  336. ;realpath_cache_ttl = 120
    7 M" ?! j3 O- x
  337. # F8 G0 H, }6 O& v8 Z
  338. ; Enables or disables the circular reference collector.
    , g) A. S, M7 D  f
  339. ; http://php.net/zend.enable-gc. R! d7 C9 z$ r, b9 d, J$ p/ R
  340. zend.enable_gc = On
    + A, u* J* ~9 D# D: S1 Y

  341. 3 [  B: N5 J6 f$ Z& _6 H
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    2 }2 _+ [) p( S3 {5 w
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    # `* o" e# G) D8 \) ?! i  l; r
  344. ; encodings.  To use this feature, mbstring extension must be enabled.! U- v9 m% u0 G" p
  345. ; Default: Off# S+ l* j5 \3 ~) v, o
  346. ;zend.multibyte = Off- m$ x( w3 K) {2 N

  347. $ P; d- Y. ?& E4 M
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ! @" G0 l  u9 W& t: s
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    & @9 X: V* Y/ r) Z6 B9 b8 v
  350. ; Only affects if zend.multibyte is set.0 k, R9 z; s/ C% b& {, X" l: h
  351. ; Default: ""
    2 s. L1 R2 q; z
  352. ;zend.script_encoding =" o, u" t8 o! R3 r) R8 o

  353. / f4 w6 u) e, B/ @, b) E
  354. ;;;;;;;;;;;;;;;;;
    3 |6 r/ [1 V5 D0 h! B. N
  355. ; Miscellaneous ;  t, E, y$ h2 t0 o1 a
  356. ;;;;;;;;;;;;;;;;;
    6 L5 S! B, G# u! }. a4 M/ i5 P. u

  357. - M: a# R) k, ^6 i" l
  358. ; Decides whether PHP may expose the fact that it is installed on the server" y- g) M( T  |3 s
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    5 |1 v- L8 {1 c
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    - ~# m: k& F! K* A* s8 h* u- a
  361. ; on your server or not.
    ; T1 i4 x' N1 q. G; U- U$ o9 R
  362. ; http://php.net/expose-php
    8 {$ i: s+ G4 o2 a1 U; _$ `5 I
  363. expose_php = On
    : u) u# D/ d% F+ P

  364. 9 u5 ?  j# C, T0 v4 a
  365. ;;;;;;;;;;;;;;;;;;;
    2 [( q4 a* l) `' m0 {8 u
  366. ; Resource Limits ;. Q& M8 p/ r% O+ r% G9 z4 E
  367. ;;;;;;;;;;;;;;;;;;;6 K. z1 W# f3 e- l! h) t: Q& {

  368. ! w* }/ L1 t! c7 j( G8 w  ^# D
  369. ; Maximum execution time of each script, in seconds3 R9 q. e6 A4 `7 t3 ]; O
  370. ; http://php.net/max-execution-time) r' W- b; K; q& I: ^  ?; v
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI8 F- u  \$ S8 X; {4 }8 Q7 Z
  372. max_execution_time = 300
    & Z0 Q% k- a0 M" X9 H7 v" J4 B
  373. - \: b& {6 N$ Y1 M
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 x  m4 x; }( ?1 q7 {6 i
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 d. k( d( W% b# n
  376. ; long running scripts.
    , n- E# c3 i7 r) K! U; k
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI: W+ B5 g8 c1 y/ M$ j
  378. ; Default Value: -1 (Unlimited)
    5 d2 s7 A4 L+ q) M& J5 V7 O
  379. ; Development Value: 60 (60 seconds)) _* Z# K3 s" o% o2 h& x- v4 n
  380. ; Production Value: 60 (60 seconds)7 @! ?0 ^5 }& i9 h- O! @
  381. ; http://php.net/max-input-time
    ; ~% N' w+ H# U7 ^
  382. max_input_time = 60' \& o* g. j* T& c' t8 f3 x
  383. ' ?' o+ i, o) r, d$ \, ^4 ~* i2 F
  384. ; Maximum input variable nesting level' K# `, f8 g. o8 S- S
  385. ; http://php.net/max-input-nesting-level' V5 k/ N" n# y8 S7 `" x. P8 q4 p
  386. ;max_input_nesting_level = 64* q/ c5 S2 x6 f0 n$ g' [2 k( ?

  387. + s2 ~3 h- @0 M: B* |
  388. ; How many GET/POST/COOKIE input variables may be accepted; I! h/ m: E" J3 x$ t9 E4 X
  389. ; max_input_vars = 1000
    & V# \4 ?! m+ u3 }) \8 ^" X
  390. 2 J5 e9 V* G" V! W# s$ o' y4 q7 P
  391. ; Maximum amount of memory a script may consume (128MB)
    ! Q& Q% q; J. Z! V0 h+ t% F
  392. ; http://php.net/memory-limit
    ; C! {( F6 M( L  j, G0 G, P7 E
  393. memory_limit = 128M
    4 l7 L& R) S" p) L

  394. 8 t% L2 B) B* `3 ]' i- P" l
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 [9 D; p/ f" |1 ~/ b" M  o. J6 j6 z& G
  396. ; Error handling and logging ;4 x; o: N4 r; q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 {+ ^/ B: V9 F9 {: c6 E
  398. ! l5 w# T6 Y1 ?7 {, b6 u. `
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 @* D) y: K4 f( r! s- d* h
  400. ; it to take action for. The recommended way of setting values for this' a1 N- H: R4 a8 |6 V+ t; t# \3 X
  401. ; directive is through the use of the error level constants and bitwise
    , L8 t8 s6 C7 \5 q* y; C  f- c
  402. ; operators. The error level constants are below here for convenience as well as
    6 m, x& x" E7 j3 }. c
  403. ; some common settings and their meanings.: H- x! W8 ?% X  A
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT  k, B5 L1 h/ H: _) g  S
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ T4 u6 F4 ^& K
  406. ; recommended coding standards in PHP. For performance reasons, this is the5 J' j& B" m, Q7 L6 @$ |8 C/ |
  407. ; recommend error reporting setting. Your production server shouldn't be wasting3 D/ ]6 {1 m; |. E8 ?; i
  408. ; resources complaining about best practices and coding standards. That's what
    ) N. e; ~1 i1 q; u  l6 U. ?9 H1 u. ]
  409. ; development servers and development settings are for.
    - N: m4 }( q  ~! D
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 q* ?) A- x' O+ Q9 X
  411. ; means it pretty much reports everything which is exactly what you want during
    3 c. T7 m# c, V) i
  412. ; development and early testing.% a1 \  E3 c' S# d
  413. ;' t/ c+ @- g* ]; e  s0 F7 g
  414. ; Error Level Constants:
    , n$ O8 N  U' w4 r( X$ `0 e8 V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 m4 O4 b! `9 B2 M# h9 a, z* a
  416. ; E_ERROR           - fatal run-time errors
    & Z8 @+ A* e3 a$ B, |2 n
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    + S1 R2 z: _+ b( S$ F1 c1 y
  418. ; E_WARNING         - run-time warnings (non-fatal errors)" a* z1 ~5 n5 i& ~5 f2 v* _
  419. ; E_PARSE           - compile-time parse errors
    , Y  Y# Y; K2 [* C1 R# M
  420. ; E_NOTICE          - run-time notices (these are warnings which often result: \, `- V9 L6 q% G
  421. ;                     from a bug in your code, but it's possible that it was$ V$ C& ]  u4 h4 k- t3 k
  422. ;                     intentional (e.g., using an uninitialized variable and
    * |; h" @1 F8 j5 b
  423. ;                     relying on the fact it is automatically initialized to an# z' ^$ ~& o! R
  424. ;                     empty string)
    6 [0 b, V  L' E: a5 K" L" i( d
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" v' J( c  s) m7 q: R. C% Q+ r
  426. ;                     to your code which will ensure the best interoperability
    / N; {; b3 |# b
  427. ;                     and forward compatibility of your code
    " v( y# E1 @$ L( q
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 |& f6 O# B% Y8 G
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* ~3 V; u+ }7 _- _) M
  430. ;                     initial startup5 V) q1 U+ O& @
  431. ; E_COMPILE_ERROR   - fatal compile-time errors% N; N8 @* `( s; ~; k7 \. i
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( V% e3 k) B* K" N& f% H9 b/ }/ V
  433. ; E_USER_ERROR      - user-generated error message
    ) q1 [8 O3 ^7 h1 ^  g+ c/ L4 I6 |
  434. ; E_USER_WARNING    - user-generated warning message
    " _& u5 L; J7 o3 J' F
  435. ; E_USER_NOTICE     - user-generated notice message
    ) k$ W' r3 p# }- C" c- d
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    * l3 o" ^/ s' t) X
  437. ;                     of PHP
    : Y: t6 P, f  G, B, L) I  w$ @
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings6 }+ g8 [* M1 A
  439. ;1 B8 F8 Y8 n' P3 ]
  440. ; Common Values:
    - _, A& R+ Y+ ]5 ^
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 Q4 X) V: R4 M
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    . U4 h1 {* H0 W" n1 n; v
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 s" [( Q' t2 l8 B, |/ u
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)2 j" X- u4 [* d% }3 L( D
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      @8 v3 C/ v& ^
  446. ; Development Value: E_ALL+ M" l/ @1 H/ I+ K) ?- A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 d4 g( z& j# y
  448. ; http://php.net/error-reporting) i5 D4 ]" B% ]" D/ r+ |
  449. error_reporting = E_ALL & ~E_NOTICE. N0 E% f* i+ U, i; C7 d! o
  450. , J8 c8 S/ Q/ K. ?: V5 c
  451. ; This directive controls whether or not and where PHP will output errors,
    : ~4 }1 }7 {' D) I
  452. ; notices and warnings too. Error output is very useful during development, but
    . |9 D9 L  i6 Z& w6 W0 X0 ]
  453. ; it could be very dangerous in production environments. Depending on the code6 c3 @: B% u2 M2 G4 P
  454. ; which is triggering the error, sensitive information could potentially leak
    0 `3 M' H$ @9 f: l, ?4 Z- H7 M
  455. ; out of your application such as database usernames and passwords or worse.; d4 ]- e7 E0 i. K# v- G" x8 ]3 {
  456. ; For production environments, we recommend logging errors rather than* z% o8 `* K/ ?2 Y+ x) Z+ {
  457. ; sending them to STDOUT.
    6 T5 Z3 R! m( s
  458. ; Possible Values:" i- C: E5 g5 C3 Y" B( Y
  459. ;   Off = Do not display any errors( y. p- l  E7 O+ \3 j
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % R, `2 ^! B+ S* l1 R
  461. ;   On or stdout = Display errors to STDOUT* d2 c# p* u% ~3 T, T: p8 o6 G, g$ l
  462. ; Default Value: On
    5 m. R! a8 A% Y
  463. ; Development Value: On
    * \( F* l0 Q+ E2 s
  464. ; Production Value: Off& q3 V$ G# V4 j- v( e. E+ p% T
  465. ; http://php.net/display-errors
    3 N( x6 [6 S) p4 u
  466. display_errors = On
    3 e5 w5 B5 K# ~

  467. ) _* q( w" o4 ~& d- N0 }$ W" {# ]
  468. ; The display of errors which occur during PHP's startup sequence are handled& Z. y9 D: Z# W" f: k8 j
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    1 x! w, V4 `$ U1 z; [: t
  470. ; errors from clients. Turning the display of startup errors on can be useful in- Z5 i/ s) ]4 o& U2 M, w
  471. ; debugging configuration problems. We strongly recommend you  p# i7 D5 Q" ]- h. |6 q: ?4 g$ `
  472. ; set this to 'off' for production servers.5 t/ A. b+ k$ N6 `6 y. ]
  473. ; Default Value: Off
    8 `  |" T7 B( y; S* p
  474. ; Development Value: On
    ' m) T/ P; ~! s8 R& S  \1 K) s) p5 p
  475. ; Production Value: Off& p* F2 v$ d9 F, u8 }, V) I
  476. ; http://php.net/display-startup-errors
    * [& {1 p! D2 b
  477. display_startup_errors = Off
    3 ]8 n/ k7 m( z9 i6 e

  478. 9 O6 H8 U7 r3 E( r' x/ r
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    & v+ U% o  e% \" ~
  480. ; server-specific log, STDERR, or a location specified by the error_log
    $ ^! _( P$ [( V+ M- l: @( v6 R
  481. ; directive found below. While errors should not be displayed on productions
    $ ?; w- z' V1 p3 W! J( Y8 W
  482. ; servers they should still be monitored and logging is a great way to do that.
    : G- z+ t$ |( V2 A
  483. ; Default Value: Off
    ( o2 x' A' c% n# W1 C
  484. ; Development Value: On
    1 o" Z; R4 w/ p2 Y' n) f2 X
  485. ; Production Value: On
    + P" R' D( Q; b( \6 Z+ K$ w  }
  486. ; http://php.net/log-errors* p) Z. [3 L7 V2 `; `! w7 N
  487. log_errors = On0 ~4 X- n1 t& X# S! o! G1 T$ C5 e
  488. . U) M2 A+ J2 y3 m1 Q
  489. ; Set maximum length of log_errors. In error_log information about the source is9 Q% g, ]9 L% g" Z& L
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ p% S2 I+ `3 ^; f- Q
  491. ; http://php.net/log-errors-max-len
    - y7 E- q" h/ J3 I/ N$ @& d0 K6 q
  492. log_errors_max_len = 1024+ Y4 k8 i" j6 Y5 B$ I8 k/ |" t
  493. 8 |6 p4 D) X1 _  z. J' J6 V7 I) w
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    & S; @" [% I  Z! h  V+ Y
  495. ; line unless ignore_repeated_source is set true.$ O8 Y3 X% s. d/ \8 G
  496. ; http://php.net/ignore-repeated-errors1 e) c7 f5 F4 \5 l3 z+ n9 M
  497. ignore_repeated_errors = Off( ?3 j/ o( B4 m7 ~4 y7 y
  498. $ J' K4 J* s% M: ~( A5 B4 m  V
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    & m/ G+ f& K2 V% W' R( ~- \
  500. ; is On you will not log errors with repeated messages from different files or1 X' W. K" B5 X8 Y3 ~2 K2 X$ e5 j( z( {
  501. ; source lines.
    9 u7 \0 U/ o( g: @: T
  502. ; http://php.net/ignore-repeated-source
    ( t# J3 W% g( q3 N7 v; o3 A) y
  503. ignore_repeated_source = Off6 C; a: \2 G/ o1 h

  504. 5 h+ @9 F7 Y7 e6 v( q
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    % Z! X2 M8 j0 ?  g' U% F: o, m8 {
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ( }2 Z* X. d2 U3 w4 {
  507. ; error reporting includes E_WARNING in the allowed list
    $ V3 G9 y! S* ]2 n# {" |" t" G& c
  508. ; http://php.net/report-memleaks. a& X$ S; s) b4 i
  509. report_memleaks = On
    3 s; R  @* p6 {( D% I
  510. $ P  _- k1 c% _. }/ k
  511. ; This setting is on by default.
    + {( O" i$ j8 _( r0 S; u
  512. ;report_zend_debug = 0
    + F  U" |3 q% p$ [& d
  513. 1 S! k! _1 G: Z, {; f# b, o
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 k- R! x1 Y& n. A
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    : M2 ~! Y: e9 Q/ R8 x
  516. ; however be disabled on production servers.+ f, h  Y8 G5 V: V9 H% i& \
  517. ; Default Value: Off8 G" e7 ?% b: C
  518. ; Development Value: On
    + [3 U. T0 T* K) S6 ]% q- x) m
  519. ; Production Value: Off' x" M( u: y7 y( o
  520. ; http://php.net/track-errors
    ( D6 h' Q  b+ _  u* M. T
  521. track_errors = Off
    ) G! Z6 t) F. _' b0 ^& L3 P/ R

  522. 6 o/ l. |7 O/ @8 L* U/ [# m6 @
  523. ; Turn off normal error reporting and emit XML-RPC error XML) ^8 P$ a) y9 `! m" Q! f/ J. D  p
  524. ; http://php.net/xmlrpc-errors! [  W) v3 {6 t! ]  o$ J6 n
  525. ;xmlrpc_errors = 0. g; b1 A- j  w0 N) R

  526. 3 I* H3 p/ [$ U) ]+ v7 T- _3 a
  527. ; An XML-RPC faultCode) |/ F/ z5 |2 s( ^$ o
  528. ;xmlrpc_error_number = 0
    9 i* F0 ^, V2 E- h. P- q

  529. ) [9 t' j+ z0 f
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # t' }6 A. {! X; O$ x6 h) O& \7 F
  531. ; error message as HTML for easier reading. This directive controls whether
    " T$ W: X/ M, [5 `5 V, i' y
  532. ; the error message is formatted as HTML or not.5 s) d( g8 _; @9 E
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' R0 Q: V: J. D% o9 l+ h
  534. ; Default Value: On
    ! \2 R  c) _9 W% d$ H( w
  535. ; Development Value: On% g: Y; X  y( P  M9 H) D
  536. ; Production value: On
    " f8 q, A( Q. s4 A# }) a8 _
  537. ; http://php.net/html-errors% R& z- `, W( ]! y0 o( t
  538. html_errors = On% y/ {1 B+ b$ k# c

  539. / m% ]2 a( L0 Q$ }! u2 U
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % D0 Z" s+ T$ D6 @4 a- n. q. \% m
  541. ; produces clickable error messages that direct to a page describing the error! b+ T" G. G% e4 S# X7 E4 d6 d( P
  542. ; or function causing the error in detail.
    1 d8 W3 R( n; Y/ a5 u" z
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    7 y0 U' b: W3 p) v: x3 U1 h: S
  544. ; and change docref_root to the base URL of your local copy including the
    & }; K7 v8 U% t* |! q
  545. ; leading '/'. You must also specify the file extension being used including
    . n9 [$ a- H/ W9 X5 w" r
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which  ~( L* M7 f' d- v$ l) J
  547. ; case no links to documentation are generated.
    ( S" F! P& {# H) z3 ?
  548. ; Note: Never use this feature for production boxes.; t- U# F$ \6 q3 t  Q
  549. ; http://php.net/docref-root) i+ W& W5 z- I: x4 K: g) F
  550. ; Examples+ }( @8 ?. J1 {9 Q6 @
  551. ;docref_root = "/phpmanual/"+ g, ^' O$ T6 G7 q. F$ Y
  552. ; }8 ~" K# t& e0 v  e; ^
  553. ; http://php.net/docref-ext5 j) Q8 C: k2 Q6 N4 T7 T
  554. ;docref_ext = .html
    3 i6 o" m6 ^6 j

  555. : A+ Q: q. T3 H4 Q+ v3 z9 b. r
  556. ; String to output before an error message. PHP's default behavior is to leave
    2 I6 L+ E! u0 O! D2 U2 V4 z. {
  557. ; this setting blank.
      F% R5 {; |1 s4 T' Z
  558. ; http://php.net/error-prepend-string; H! ?; g  F" {
  559. ; Example:
      Q$ [$ r! [# B0 l# P5 X
  560. ;error_prepend_string = "<span style='color: #ff0000'>"; s# n( Q/ a) k5 h$ z- d& H

  561. : T3 m: n5 N% k6 W6 E2 I
  562. ; String to output after an error message. PHP's default behavior is to leave
    0 Q. H2 x& V# c3 J5 R
  563. ; this setting blank.
    6 A6 n. p9 k* @7 D
  564. ; http://php.net/error-append-string" @, N* G* _) E+ @( O  Q4 H
  565. ; Example:9 K; u1 _# ]$ A1 F6 N9 N" P
  566. ;error_append_string = "</span>"3 ^) V5 ?% i2 m0 `# q6 z3 K# M6 k

  567. : d7 d, Y) Q- R/ n9 D% D: M
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    . R$ ~9 A" L: X; i' H  G
  569. ; empty.
    + P+ c5 d) G+ t' E
  570. ; http://php.net/error-log6 D! E3 l- _( n  \1 }+ @
  571. ; Example:+ k; u/ L( f  @8 n2 e, ~3 W1 t# {
  572. ;error_log = php_errors.log
    . \9 n% C8 j1 Y- d2 s  \" m8 S
  573. ; Log errors to syslog (Event Log on Windows).2 |* C3 z' M! \8 V2 j% `
  574. ;error_log = syslog
    4 U" T, N3 j# x

  575. 1 P2 i# t( ?. i9 k% A0 k
  576. ;windows.show_crt_warning
    ) j: \2 k2 n6 D( l
  577. ; Default value: 0
    : H5 a: P) g# R/ ?6 b3 t
  578. ; Development value: 0! p2 q! [; W1 p7 c% l
  579. ; Production value: 0& _% {9 [. h/ F0 J0 _/ ~" l

  580. 0 x9 e) M/ X3 O* M
  581. ;;;;;;;;;;;;;;;;;6 A) x7 y0 N4 N
  582. ; Data Handling ;7 b5 w2 k: t; Z$ ?& `  @/ ^7 g8 [
  583. ;;;;;;;;;;;;;;;;;( _% r! ?/ R# D# t8 ~0 g* V

  584. 5 W. d$ K+ X7 f5 a; x
  585. ; The separator used in PHP generated URLs to separate arguments.$ ^, F) [5 ]/ {
  586. ; PHP's default setting is "&".
    . e( c, b$ d" g, _2 V: D. S
  587. ; http://php.net/arg-separator.output
    $ T5 |0 |5 o- t2 R! q" V; i
  588. ; Example:
      |* Y0 G% T- ?2 w, S
  589. ;arg_separator.output = "&amp;"
    % y, l$ ^9 y" f7 g$ G/ @
  590. 3 z; U) `7 B$ s; K0 n% `
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    & b% b# c+ \6 m* b. F
  592. ; PHP's default setting is "&".5 L& @4 N: d0 z6 V8 A% a
  593. ; NOTE: Every character in this directive is considered as separator!
    $ l4 }& n' k0 I6 `$ n# U6 U
  594. ; http://php.net/arg-separator.input; ?: f$ p7 x( z
  595. ; Example:
    , u: m6 {) ?6 j/ F9 k( m1 W
  596. ;arg_separator.input = ";&"
    6 ^0 e! T1 I6 ~+ d4 N
  597. 2 V7 U1 Y: J" l" j$ S' c
  598. ; This directive determines which super global arrays are registered when PHP4 V! D1 F# i* b% a2 [; ^+ L
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & ~5 l3 w$ @% k7 O0 Z6 `& |
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 }& E' g$ Q1 E' v1 S% X
  601. ; paid for the registration of these arrays and because ENV is not as commonly6 l2 e. G$ N7 Z2 q- D6 Z3 j
  602. ; used as the others, ENV is not recommended on productions servers. You/ }9 N) B( H6 l0 k% h0 ?  _
  603. ; can still get access to the environment variables through getenv() should you: s+ o  F6 I* O# g, m
  604. ; need to.4 Q; g5 ~8 s6 S% A% u3 `6 w/ j
  605. ; Default Value: "EGPCS"& \* n6 N' M! W7 e/ T
  606. ; Development Value: "GPCS"9 k; U" ~( s( d# |( K1 {
  607. ; Production Value: "GPCS";8 c4 _# l& I  U& W- q$ K
  608. ; http://php.net/variables-order# p: z, @  y/ b& U' J+ K( E) a
  609. variables_order = "GPCS"
    9 u) a& }# \3 |; s- j; M- A

  610. 9 @' X+ y1 p1 E6 t, _/ I, P) `& _
  611. ; This directive determines which super global data (G,P & C) should be
    ( O5 y+ M! X) O; L
  612. ; registered into the super global array REQUEST. If so, it also determines
    / v, C0 F$ R  J9 |* S
  613. ; the order in which that data is registered. The values for this directive
    * _7 P- M4 ~+ B6 O
  614. ; are specified in the same manner as the variables_order directive,( T* S9 ~0 Z1 Z* |+ o% o% d; J
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set9 w8 n4 A. W7 e
  616. ; in the variables_order directive. It does not mean it will leave the super
    2 F( R' V! L- T
  617. ; globals array REQUEST empty.9 U1 m4 d5 l* g+ R
  618. ; Default Value: None
    ; W; I( b: f7 n/ w& c. k
  619. ; Development Value: "GP"
    ' m% O( `  A2 r) p9 e
  620. ; Production Value: "GP"
    0 J+ v7 U, H- h4 `) g
  621. ; http://php.net/request-order
    9 q9 i6 q; Q1 n% g& h6 s
  622. request_order = "GP"
    , L( ?4 t! J: M8 z# a3 ^
  623. / B. S# G# Z4 \+ {1 f2 s0 h
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    6 O3 v3 c* J8 i- P) c: S
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    1 u8 G$ ^1 s, {: A
  626. ; is invoked. $argc contains an integer representing the number of arguments8 r& l2 q$ U+ F5 u) ^0 O) O; O3 J
  627. ; that were passed when the script was invoked. These arrays are extremely
    " Y8 s# h. M4 w! w+ D5 H$ ]0 W
  628. ; useful when running scripts from the command line. When this directive is& W8 z6 f- y! w
  629. ; enabled, registering these variables consumes CPU cycles and memory each time1 |- }" I7 M, D5 O$ D
  630. ; a script is executed. For performance reasons, this feature should be disabled5 K9 p% u* S/ `" Z/ d9 z
  631. ; on production servers.
    * U" w0 S- T& ]  k4 }
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 z7 l! q2 ?  k
  633. ; Default Value: On2 B1 W$ b; q/ n7 V
  634. ; Development Value: Off5 W) k% k& l4 ^
  635. ; Production Value: Off
    : m7 V) r3 F* W7 l/ S- E4 |* S
  636. ; http://php.net/register-argc-argv
    ' H0 G! I( R; `3 @" J
  637. register_argc_argv = Off! E1 a6 w! j2 A! S) s8 i

  638. 3 b9 `5 d9 X+ n6 u5 @1 @
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    / {& X; B2 I, B9 t5 [- G
  640. ; first used (Just In Time) instead of when the script starts. If these
    & P4 D* m0 L) [& {
  641. ; variables are not used within a script, having this directive on will result
    / d5 J, G" F2 e! V' j+ W  e: T
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    / T. ^9 W3 s3 ~  [6 J% `( l% J
  643. ; for this directive to have any affect.
    2 d- i) w& Z5 k* r2 F
  644. ; http://php.net/auto-globals-jit3 D" L- e0 L; f" {2 j- ?9 ^# ]
  645. auto_globals_jit = On
    + P* u  a6 i, Q5 N  e
  646. 9 y& Y& v1 X# ^! z, j
  647. ; Whether PHP will read the POST data.
    ' D7 A* p  K4 P4 o  Q& S0 o
  648. ; This option is enabled by default.( n5 [0 |8 X; v. r) @
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST9 J9 ~5 X, T* T2 W
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    - d' |& A4 I- W& a: p& a* ?" \
  651. ; POST data will be through the php://input stream wrapper. This can be useful2 _0 T$ v+ G1 x9 X6 Q" |$ ?5 y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.8 B6 w( y8 g) ]
  653. ; http://php.net/enable-post-data-reading% }4 U3 q; F( i/ j3 |6 j
  654. ;enable_post_data_reading = Off; ~5 ^8 l; v. Q& r$ B
  655. ( t( S4 G/ n0 [3 |: ^! [
  656. ; Maximum size of POST data that PHP will accept.2 |( b$ G8 G" a. ]  E, C5 _
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ' z  r7 h$ D; `' B6 ]; g  ^: V
  658. ; is disabled through enable_post_data_reading.
    . J( [: v8 o2 o- d
  659. ; http://php.net/post-max-size& L4 ^1 K% X' Y2 R" ]
  660. post_max_size = 50M8 b& l/ e% b& W3 ^
  661. 7 ]9 n9 b9 ~- ]8 A
  662. ; Automatically add files before PHP document.3 \4 m% g2 \# @) v. z1 D* `/ A# t
  663. ; http://php.net/auto-prepend-file! g0 \; V$ s8 E0 c: W
  664. auto_prepend_file =
    / O# I1 K/ F, F& G, c$ `9 @& Q: x0 o
  665. * }/ H0 S1 `( p- k0 v
  666. ; Automatically add files after PHP document.
    6 S$ N. p( `1 j6 g' g$ q
  667. ; http://php.net/auto-append-file
    8 T8 Y! o( I6 Q. ?$ `7 s% ?; d. T
  668. auto_append_file =# f- I, ~' Y' y! G5 |5 k  ?- S
  669. . i% k) J" g$ R8 K
  670. ; By default, PHP will output a media type using the Content-Type header. To2 p1 y% i# b! @' j
  671. ; disable this, simply set it to be empty.) Z6 R) W: ~8 P! o# Q5 o3 z% C/ ?
  672. ;7 ]# f7 `9 L: Y/ D
  673. ; PHP's built-in default media type is set to text/html.0 q2 l$ n- X: u- q9 ]. I8 |
  674. ; http://php.net/default-mimetype9 R# h2 t# K  a) H
  675. default_mimetype = "text/html", L1 p1 l. @* I5 T" S& H
  676. 7 t" Y$ q+ C4 J* [  T( O3 ^; [
  677. ; PHP's default character set is set to UTF-8.( s" Z$ X# c8 W5 C/ D0 Z* T
  678. ; http://php.net/default-charset
    . K6 d0 \# U) y8 b% C
  679. default_charset = "UTF-8"+ {# {. [: n% c5 U1 u

  680. 3 G/ [3 ~; i* R% {! g
  681. ; PHP internal character encoding is set to empty.4 J3 ^0 U" o- p
  682. ; If empty, default_charset is used.# ^! S8 D) J5 z4 f
  683. ; http://php.net/internal-encoding, Z$ o. x: n' S
  684. ;internal_encoding =
    % k9 M; _/ a% I9 {" M0 o6 \

  685. $ i; M3 f. f7 \- v& x( X
  686. ; PHP input character encoding is set to empty./ U; j8 K& t$ W* Q1 M4 M
  687. ; If empty, default_charset is used.! C$ g+ C9 _# V' A
  688. ; http://php.net/input-encoding$ K4 r+ R( L- r! Z9 i
  689. ;input_encoding =
    ! H9 R6 a9 u3 \# \0 y
  690. : E  u) x$ Q) ?5 b. ~1 D$ W
  691. ; PHP output character encoding is set to empty.1 V4 B5 K4 V, B- b8 v! Y. N/ _
  692. ; If empty, default_charset is used.  S6 e- j8 A( Z& ^
  693. ; See also output_buffer.
    4 ?7 Y; {4 s# g% H: a- x
  694. ; http://php.net/output-encoding
    : I1 [/ J. z" {
  695. ;output_encoding =8 n9 s6 N6 Z( \1 d" X

  696. . G5 y; T1 z+ n
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " T( R; J' D6 ?% `* k" y  D) f$ G1 \
  698. ; to disable this feature and it will be removed in a future version.
      F- r- \, r- h2 V
  699. ; If post reading is disabled through enable_post_data_reading,$ \# ]/ V. S/ p* @: j2 r% \
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    8 {. _# G, Z" M. o
  701. ; http://php.net/always-populate-raw-post-data3 l5 c) @( G  C2 @6 r. E3 D
  702. ;always_populate_raw_post_data = -1& d2 f. s( d) ~. N2 O0 s

  703. 5 @/ i+ f) W& F' F" H1 w4 s# W, Q
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;/ e" U/ }& s1 f) N# O. ]
  705. ; Paths and Directories ;4 Q3 m1 S2 E$ B- ]- B: ]2 f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # H4 C. D) ?1 j+ ^" G" L! p

  707. : k4 ?, B' D- Q$ Z. R: A% [
  708. ; UNIX: "/path1:/path2"
    8 ]; O$ l) d/ w
  709. ;include_path = ".:/php/includes"
    0 G7 k7 k8 V$ R
  710. ;
    9 x) k2 h, L* Y' e
  711. ; Windows: "\path1;\path2"% ]3 p' k* h6 V  Q. j. I/ S
  712. ;include_path = ".;c:\php\includes"
    8 V' b9 U3 L& S+ X7 _' z4 d
  713. ;+ g8 h* f  E  c3 k6 n3 t0 x% ]
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    3 X' I2 C/ Y" P0 `8 P9 L4 ]
  715. ; http://php.net/include-path
    : e& _  k0 B6 o" s; ]) {

  716. , @1 n( m. |# A
  717. ; The root of the PHP pages, used only if nonempty.
    ( T, i( I  `( X& l5 a; y' B( S
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 ]6 H9 d) p4 B  k
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 L$ |# i- S2 d0 O
  720. ; see documentation for security issues.  The alternate is to use the9 x/ K- r9 e$ ?# u! f5 S/ m! c, u
  721. ; cgi.force_redirect configuration below6 ^; Z" J4 w* J3 C6 u+ W+ M
  722. ; http://php.net/doc-root
    * R, M7 y5 G( x8 @0 R! k! \% C
  723. doc_root =
    & j* Z6 M- D  K( j+ \! }% y* F1 z
  724. * L( k* f2 p  o$ s5 W3 p% z% b9 D
  725. ; The directory under which PHP opens the script using /~username used only3 I2 e, p% p# Y3 g5 m4 w
  726. ; if nonempty.+ C% ~- o, ^4 \$ ^6 U
  727. ; http://php.net/user-dir
    & _! R* J1 a, r4 q4 R! T. l
  728. user_dir =0 h. p" W0 A& G

  729. 7 i# t6 R: n$ E+ U1 w, F# I
  730. ; Directory in which the loadable extensions (modules) reside.
    8 \+ e$ F! U. [4 Z) A
  731. ; http://php.net/extension-dir
    $ u% s& z, y+ k5 a& ~; N
  732. ; extension_dir = "./"
    % O$ |" ]3 @3 f5 {, C8 A, j
  733. ; On windows:3 k: l6 e! b+ L/ s& G2 I/ Y1 @' }
  734. ; extension_dir = "ext"
    / @4 k4 B/ I' j5 j+ N+ @

  735. ( `$ K3 J3 I: A8 m
  736. ; Directory where the temporary files should be placed.
    $ s& c' h" P% b! P5 y
  737. ; Defaults to the system default (see sys_get_temp_dir)
    1 T; @$ v+ p0 _2 z9 E4 m$ @- M! I
  738. ; sys_temp_dir = "/tmp"( _* {" Y1 t; [# v+ V' ^* i# X; N1 L
  739. * f5 i+ W5 x. y1 n6 Y/ q4 c1 M" a
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work! s: d# Y4 Y' k  {$ a
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically# B/ i( D* X7 k# q
  742. ; disabled on them., u+ R" v9 H7 P8 b. t/ `
  743. ; http://php.net/enable-dl
    3 h) v! Q* P8 u; b( \# p) o
  744. enable_dl = Off
    ! d3 y2 D; e, o" Z# y
  745. / p3 h/ r0 p9 u9 q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 U# f( X' R) h% j+ i$ [
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can+ p4 t1 n/ `, @
  748. ; turn it off here AT YOUR OWN RISK% j( B# ^8 E7 h4 N' i! j
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**" ~- x4 D( p8 X* t
  750. ; http://php.net/cgi.force-redirect
    % b+ y5 C/ ?( k
  751. ;cgi.force_redirect = 17 F0 p& a9 X$ K, _
  752. ! p$ m4 [6 J- ]' D8 e
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    * ^& H5 T# P# D. P* ?+ P( O, P& ?
  754. ; every request. PHP's default behavior is to disable this feature.! b! X) T- \5 a$ o
  755. ;cgi.nph = 1( u! ~+ A  n2 X! _  |6 \; ^
  756. 1 v$ u6 X2 u$ G) \5 \( f
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  H( {; r1 Y; S& x: H- h: a8 L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 X4 {$ }! K4 O" `- Y: _' l  p. K& L
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    $ z6 ~9 _& p' y. V) f. i6 L
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * g% Z- ^! T0 y  Q" J
  761. ; http://php.net/cgi.redirect-status-env
    $ u3 I  }5 ~" |' E3 z% X. s' t
  762. ;cgi.redirect_status_env =# T4 }8 s. w! K! Y) R

  763. / T6 V5 z$ h. _9 @/ }8 Z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ V) M; w+ F* B; u; ~
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 Z5 G# x4 T" S2 d/ @
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 f! t) M  o+ M7 Q$ A# a* j
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 [2 A# R4 r* @8 K( x4 }$ H
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " Y3 R: D' x9 N% c0 Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    : [! ]5 B" W" O
  770. ; http://php.net/cgi.fix-pathinfo
    ) C" o  r) a. N1 s
  771. cgi.fix_pathinfo=1
    1 g  c4 Y  S6 q) J% {% }

  772. 2 G0 H- }4 ~7 m; j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 v; s9 i7 H. {4 d( s6 Z- d
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    , U7 t9 u, S1 z+ r5 k; {1 R; |
  775. ; http://php.net/cgi.dicard-path
    / [% J- B  l8 r/ O; }
  776. ;cgi.discard_path=12 K$ O* C" a8 {! _  t
  777. - o+ i' Z. C9 p, d+ g& U
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 i4 L' J1 x! E3 b
  779. ; security tokens of the calling client.  This allows IIS to define the
    " ~- U0 P0 j* _( I7 ?2 e0 s! {
  780. ; security context that the request runs under.  mod_fastcgi under Apache' X; n; Z$ Q4 F, S8 W" [
  781. ; does not currently support this feature (03/17/2002)0 D. [9 w! G+ p# Y5 z6 S3 Z) j
  782. ; Set to 1 if running under IIS.  Default is zero.
    & ]5 Q1 H) d+ B4 {& m
  783. ; http://php.net/fastcgi.impersonate
    4 o* w0 M9 t' v2 y4 L6 p
  784. ;fastcgi.impersonate = 1% `  z0 s5 Y/ O2 G4 B+ ]$ L6 T

  785. 3 {' y3 G1 l8 s( E3 g* N! m2 ?9 e
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " v4 [! ?9 H. X% A! \
  787. ; this feature.. h2 c  G7 @8 D" t
  788. ;fastcgi.logging = 01 S8 ]: {; F" G3 @' O6 R

  789. 2 V* N( O6 p: K3 T: U$ P; a
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    " t8 e, p. ~& O9 I) I2 ?; d
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that$ E  V/ G5 ^3 g8 e7 m, ?
  792. ; is supported by Apache. When this option is set to 1, PHP will send! U8 p# @; x/ E/ x
  793. ; RFC2616 compliant header.
    $ U) h- R4 u2 b  \+ V+ L2 h8 L
  794. ; Default is zero.! I8 w& r8 S4 s2 c4 Q/ i
  795. ; http://php.net/cgi.rfc2616-headers
    9 D) y1 C) i) z
  796. ;cgi.rfc2616_headers = 0
    $ @7 N. {8 A( o
  797.   r$ @8 `' e" u& ~/ C* ~6 L" I
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!" c0 Y' W" `$ s8 j, o# Z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    . B) J0 Y) O3 _0 D- O# Z# b0 W, e  |
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    " W+ a& w- K5 B3 A$ j7 L
  801. ; mode skips this line and ignores its content if this directive is turned on.3 Y4 q7 \- M* Z+ W  V
  802. ; http://php.net/cgi.check-shebang-line5 N0 b) W( r9 h5 B3 }+ p% R
  803. ;cgi.check_shebang_line=1) p) C# Q3 @4 J/ W

  804. 1 T& E/ d9 K. q* z# L" s
  805. ;;;;;;;;;;;;;;;;1 b, `0 e* [- a$ ]9 c
  806. ; File Uploads ;/ m& u" p8 q  h) c8 q- t
  807. ;;;;;;;;;;;;;;;;; a: C2 z& }  _  a% d

  808. / x7 V4 C0 |0 E  {0 m: r  p
  809. ; Whether to allow HTTP file uploads.) j* N9 h% R. s$ ?/ F  |/ w/ Y' B
  810. ; http://php.net/file-uploads4 g: }  j& d+ e3 O* \7 S  }' Y0 i
  811. file_uploads = On& k+ Y+ w0 Z$ w3 L* B' m+ z9 o5 O8 @7 @

  812. / B! u! r  P4 _$ _# \0 Y
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- {; q! y8 K, c9 ], E+ d0 P
  814. ; specified).0 ]; \& z$ H/ |' s$ c
  815. ; http://php.net/upload-tmp-dir
    , K& t% t4 Y, F' z
  816. ;upload_tmp_dir =3 ?( N9 T8 y" r9 W4 F  h3 ]
  817. . }- F5 W6 ?( ]* D% b) b
  818. ; Maximum allowed size for uploaded files.% W( o' @4 H+ }5 M7 V1 o
  819. ; http://php.net/upload-max-filesize7 D3 \$ e+ }9 L
  820. upload_max_filesize = 50M
    ' j3 `) t- l6 s$ Z' P

  821. 3 j8 i( S' x& f3 \, l
  822. ; Maximum number of files that can be uploaded via a single request; C; c. W& t' m; h
  823. max_file_uploads = 20
    ( P4 @: d9 P% B
  824. 4 X2 K) C/ Y" v0 k5 w9 r1 u6 U. \
  825. ;;;;;;;;;;;;;;;;;;" u4 |! I; g. t$ t% q
  826. ; Fopen wrappers ;; u* l( ?& _% \% S9 v! z5 W5 Z9 I
  827. ;;;;;;;;;;;;;;;;;;  d, A  G+ @. ?" a
  828. * \8 y; o- m# e6 g$ h
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.* L6 X4 A3 [/ h0 j: c% }+ O
  830. ; http://php.net/allow-url-fopen2 m( ~3 F3 x* a0 V# K
  831. allow_url_fopen = On5 w9 G7 y. R& ~% N

  832. * Z) E$ r8 \) |6 u2 o8 s% j1 t
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.4 ~2 j' ]0 ?1 ^# Y! F
  834. ; http://php.net/allow-url-include
    5 j/ U9 L5 q1 B* H1 T
  835. allow_url_include = Off, R! q( p/ i' t: w0 B9 C

  836. 6 G# e: x( \. q% z3 F
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ' p' ]* C& `2 o8 |+ C
  838. ; for this is empty." K- ?5 }" M2 o+ X5 C4 b5 U4 F
  839. ; http://php.net/from! B8 w' a" Q6 ^! ~4 A! v" Y
  840. ;from="john@doe.com"' n( z" s/ j" ~0 X$ ]- T5 x

  841. ; ?, z0 r: S5 M, j# F
  842. ; Define the User-Agent string. PHP's default setting for this is empty.$ H0 r* G& p' r6 c$ ^
  843. ; http://php.net/user-agent
      T2 Y, C# g4 `6 ?  b  T1 G
  844. ;user_agent="PHP"  c$ @" [# C! R9 @

  845. $ j& |4 A7 y% u
  846. ; Default timeout for socket based streams (seconds)+ `) l2 q$ B+ |7 o$ J
  847. ; http://php.net/default-socket-timeout; k0 B3 i" C0 h( A4 P5 G" ~4 y- Q2 k
  848. default_socket_timeout = 60
    / S8 X. S+ G, a, ~6 r0 Q

  849. 1 F5 ?. ~# t$ Q$ S0 J
  850. ; If your scripts have to deal with files from Macintosh systems,0 z! [. i7 z9 u5 O: A6 ~
  851. ; or you are running on a Mac and need to deal with files from
    ; o0 l6 |7 N7 j& C0 E
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ' [& u- V2 M# w! J
  853. ; automatically detect the EOL character in those files so that
    4 ^# H7 W( G- N( R
  854. ; fgets() and file() will work regardless of the source of the file." Q$ k$ D! J( J0 l% h9 _2 |: d
  855. ; http://php.net/auto-detect-line-endings
    1 ?$ B$ f) j! @0 _
  856. ;auto_detect_line_endings = Off
    ' X, y9 c8 R1 @0 c
  857. - \+ T: v6 e, a5 j
  858. ;;;;;;;;;;;;;;;;;;;;;;
    * h; m6 l- S: U3 ^# T* z7 p" }. U
  859. ; Dynamic Extensions ;7 Z6 ~. W3 S- k+ V3 q- I$ \
  860. ;;;;;;;;;;;;;;;;;;;;;;
    " j2 t. S3 O6 J. {( h2 A) i' N3 f
  861.   ?% v( c3 r* f
  862. ; If you wish to have an extension loaded automatically, use the following
    & Y  j8 a  l- J; r( h! g6 Y$ p# V9 z
  863. ; syntax:
    1 T+ O! W/ E* I4 p  F
  864. ;
    ( g0 {$ z3 q# P( ?% u7 v
  865. ;   extension=modulename.extension1 X% V0 o/ _9 s( M* _; I0 c6 n- H
  866. ;. b" O8 K) J! D3 D1 h2 x
  867. ; For example, on Windows:
    7 X3 b) p; \7 J0 ?8 T9 Y
  868. ;( r4 M1 N9 r2 x" k# w/ K$ x( _7 L
  869. ;   extension=msql.dll( I2 _; m1 x2 W9 g' ^; X. I
  870. ;
    2 m0 P, _5 X; W- {% n
  871. ; ... or under UNIX:
    8 F6 e. z* A* C0 T  r# |
  872. ;  Q$ n5 x4 n! t! P! r
  873. ;   extension=msql.so$ t$ _4 D6 c+ G% V8 d5 s
  874. ;
    : U  [0 d6 P. c4 U( o; V) c6 t9 {7 |
  875. ; ... or with a path:
    0 E+ o% S+ V; N0 S; m: c" R
  876. ;
    ; [0 ]) I: A7 Q
  877. ;   extension=/path/to/extension/msql.so  e2 p% V0 s6 S8 E$ L
  878. ;
    $ q! x6 R6 Z* n! ]* t4 B) H
  879. ; If you only provide the name of the extension, PHP will look for it in its+ s/ o+ g  P/ E4 B) R' k
  880. ; default extension directory.& g, b. R! s, `
  881. ;. n; E% B5 Y* U- r; r
  882. ; Windows Extensions
    . t# p( F* s0 K" U( E/ _
  883. ; Note that ODBC support is built in, so no dll is needed for it." Z  r* Y( o7 p3 Q
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    , v# D4 x$ [) H. D' v1 y: y- O! g' \
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    " r) b5 k% c! u/ z8 S
  886. ; Be sure to appropriately set the extension_dir directive.
    3 W4 @$ l$ z$ Y8 [
  887. ;6 \' t+ D% n/ A; B* f1 p
  888. ;extension=php_bz2.dll
    ) \( P/ }! I: m
  889. ;extension=php_curl.dll
    4 q& X4 d$ i6 k  T/ E
  890. ;extension=php_fileinfo.dll" \. m2 i$ j9 `& ]/ D7 C4 J
  891. ;extension=php_gd2.dll6 d1 ~0 Q/ i! }. ~6 Y' J5 X
  892. ;extension=php_gettext.dll
    4 a5 F! V8 u/ |6 M1 C' n& K
  893. ;extension=php_gmp.dll& E) A* n& E& ?1 D! h4 y( |  o
  894. ;extension=php_intl.dll
    " P+ s8 ^( u7 T' Z3 s
  895. ;extension=php_imap.dll5 n) M( l0 B( ?- y, J
  896. ;extension=php_interbase.dll: J# [$ a  S7 }8 M
  897. ;extension=php_ldap.dll
    1 d% q2 n" B5 F8 ~; k( f: u& k
  898. ;extension=php_mbstring.dll1 I6 ]( f5 D! H, x& k4 G7 v# f
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    2 p6 i+ n/ y; t3 R- S, I1 E
  900. ;extension=php_mysql.dll
    ) N: |4 v. Z; u' Q
  901. ;extension=php_mysqli.dll
      A1 X0 M$ ~8 Y
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 m- a3 |# k3 j0 S$ O1 V
  903. ;extension=php_openssl.dll
    * s! y7 x. |4 R6 G; ^8 C
  904. ;extension=php_pdo_firebird.dll
    7 m; v3 G* \9 Y
  905. ;extension=php_pdo_mysql.dll
    " o: h+ T% B- y7 k0 ^! r
  906. ;extension=php_pdo_oci.dll( `/ c; |1 _( d" m3 F0 S6 l! y
  907. ;extension=php_pdo_odbc.dll* G9 e& E3 G# H0 e* h$ V; M  e) _
  908. ;extension=php_pdo_pgsql.dll. b8 {3 [8 }* {+ V( \3 U
  909. ;extension=php_pdo_sqlite.dll3 ~- k, q8 x2 s& S4 |
  910. ;extension=php_pgsql.dll
    1 p/ G) z  B, K/ s4 W1 K
  911. ;extension=php_shmop.dll
    $ E7 d* n7 K3 l5 i& E- x  k
  912. , `* {6 m8 n4 @' o8 [- o" H
  913. ; The MIBS data available in the PHP distribution must be installed.
    ( F' h8 Q6 `% w3 l4 f) j+ C
  914. ; See http://www.php.net/manual/en/snmp.installation.php $ C: R4 u( S' M( z2 x4 E) z
  915. ;extension=php_snmp.dll
    " j2 l1 m/ r- L5 N0 U7 ]
  916. 5 \4 d) X- J! ]5 g$ w9 k
  917. ;extension=php_soap.dll8 E6 f$ |% R- C+ `$ M
  918. ;extension=php_sockets.dll
    & k7 D, D4 n" l/ q6 I
  919. ;extension=php_sqlite3.dll& }! P: x% n" r: q* L/ b, l
  920. ;extension=php_sybase_ct.dll  t% F% T$ y0 u
  921. ;extension=php_tidy.dll( E6 ^' d" e- D6 v0 w
  922. ;extension=php_xmlrpc.dll* o8 _2 A9 b. x/ D9 c
  923. ;extension=php_xsl.dll
    6 ^! [0 L! k5 R' Y7 }+ z4 o  s5 }

  924. 8 U; C7 I/ v7 N' c( [0 ?
  925. ;;;;;;;;;;;;;;;;;;;% z0 G( K0 n- g. |, }
  926. ; Module Settings ;
    9 Z  L, V: G8 i) y! @- `
  927. ;;;;;;;;;;;;;;;;;;;
    6 ^" _# ~8 o) O) S& {
  928. 4 H; A3 |8 p) [  D! R1 `
  929. [CLI Server]
    0 {% O5 B; |* C2 W+ g* i3 T
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    % c, ^% P% f! R& }
  931. cli_server.color = On
    ' p/ e5 K0 Y* b; ]3 b( S

  932. " }3 \, m1 f& s* z  d
  933. [Date]( ?$ W$ R: P( T3 U1 d6 V0 `
  934. ; Defines the default timezone used by the date functions- w( u* G2 C$ R3 Q- T# c
  935. ; http://php.net/date.timezone. v9 s+ F! A- M5 M
  936. date.timezone = PRC
    : G2 s4 q8 k- l7 }6 n
  937. $ z* {) J& @9 C1 \% `: O
  938. ; http://php.net/date.default-latitude8 T: ~, r- {0 c2 |7 j; V8 {
  939. ;date.default_latitude = 31.7667
    4 S  }4 t# Y4 O& n' L( i. {
  940. ' x& w( X1 l1 B2 C" P
  941. ; http://php.net/date.default-longitude$ y" }4 J7 q' Q; D! A+ Q
  942. ;date.default_longitude = 35.2333
    1 A3 p& x6 S& v1 V
  943. 6 d1 p1 O8 q& u9 O/ l7 m1 N
  944. ; http://php.net/date.sunrise-zenith; Y( o) N. s3 m* `$ `
  945. ;date.sunrise_zenith = 90.583333
    4 H' @; b" n+ ^$ b: N. t  B
  946. ( q' ?: W4 b4 }& ^
  947. ; http://php.net/date.sunset-zenith
    ; }( j3 M+ X, n$ {" O6 r2 Q
  948. ;date.sunset_zenith = 90.583333! Z- t: W* n2 f

  949. 2 x1 I" e  m- H0 N! w8 q, B
  950. [filter]
    7 M8 T  J, E8 R1 i: u  a6 e4 N
  951. ; http://php.net/filter.default$ K, ^8 s8 h  x
  952. ;filter.default = unsafe_raw4 U2 g0 [8 d% `6 Q) h' E( [0 _% G

  953.   k: Z; l1 I# u% u
  954. ; http://php.net/filter.default-flags
    " u; e3 }) U- C7 U, |" T
  955. ;filter.default_flags =
    + W, X# n3 x2 A- p. b$ F

  956. " S( u7 G. Y) ]) _
  957. [iconv]
    ; Z- r: S% j! o$ {" u
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * T" Q9 G' ^! X0 L- {! j
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 @! `3 |$ R6 [; f8 @9 \
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* O1 i9 f7 m$ B3 H0 `6 r
  961. ;iconv.input_encoding =
    6 X& M. I7 c. {6 C

  962. * X) p3 W( o* Y& B: [
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( c7 h+ }" b* {
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  Z/ z9 y7 h! w7 Q  N5 V
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 i, Z+ A/ A7 |2 U# s  k; R
  966. ;iconv.internal_encoding =
    ) g" }5 U& D7 i$ D
  967. 8 _. @$ l, r6 N+ R, C$ Y# q8 e- [
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 G- l1 y0 z1 a: [5 a
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ ?( x* `* K( Z; V# C% g0 }( D
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      {# Q- k$ K8 L8 F4 T- X% }- V
  971. ; To use an output encoding conversion, iconv's output handler must be set5 w) G* n; x2 m6 m3 q4 Y, g
  972. ; otherwise output encoding conversion cannot be performed.* p% c& f! S; o) J: c
  973. ;iconv.output_encoding =' L# s- b! S; s) w8 C, C) _
  974. / S( I6 `6 N) J6 B7 R9 l5 k2 D  B
  975. [intl]
    ( y/ A# ^! Q; Q! r3 |# V
  976. ;intl.default_locale =. |$ I. b3 U% J1 t1 [. ^% T
  977. ; This directive allows you to produce PHP errors when some error
    " J, M1 Q% B' G5 W. J3 }! @; r& a
  978. ; happens within intl functions. The value is the level of the error produced.* m0 p1 c) \  S; d& p( H# s
  979. ; Default is 0, which does not produce any errors.
    5 K  L% a  v: \0 P" ~6 d; @7 m. X
  980. ;intl.error_level = E_WARNING, h. F3 `& }3 c( r" j6 U
  981. ;intl.use_exceptions = 0
    , w: l7 [8 |  N" \
  982. ( E( l- u- R2 v/ P) b7 H8 A
  983. [sqlite3]
    , F4 }& V9 F6 J! }
  984. ;sqlite3.extension_dir =
    * k( s% a4 e- V

  985. $ T! h% P1 i% i& N2 c& p
  986. [Pcre]
    : d0 H2 c- l' M: n& q1 r
  987. ;PCRE library backtracking limit.
    . C  I7 x2 k; [9 O8 v6 H' H
  988. ; http://php.net/pcre.backtrack-limit
    2 E/ ]4 p2 `5 v  T) J' F* |
  989. ;pcre.backtrack_limit=1000003 ]5 z  v! X9 R4 ?7 K' `4 p

  990. $ ?" I) _: d/ t8 [' t. @
  991. ;PCRE library recursion limit.
    9 x7 {2 ~8 L* J+ `/ Z( d1 t8 ]
  992. ;Please note that if you set this value to a high number you may consume all7 B7 ?0 a6 E- s
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ; R' z: D- Y1 Y5 v2 ]- ^* N
  994. ;stack size limit imposed by the Operating System).1 w- R" Q" K  `6 e
  995. ; http://php.net/pcre.recursion-limit
    0 {0 g7 O8 c' t% D
  996. ;pcre.recursion_limit=100000( A" g$ Z7 h' O1 T) J/ x

  997. ) p0 z0 l# [/ N& O0 t" [# E! s! ^' X
  998. [Pdo]
    ! ^' n! a6 H* `- ]
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 e; y- S# G0 q! ?
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / Y% X* W* n& X7 L# w
  1001. ;pdo_odbc.connection_pooling=strict( L1 [# [, W9 C7 U- o  k
  1002. $ o  S; o9 B& i/ [, ^  h' {# I
  1003. ;pdo_odbc.db2_instance_name
    ; N7 i2 h4 K2 l' _# O1 ?2 M

  1004. 1 q+ P$ q% p" _9 k
  1005. [Pdo_mysql]
    ! m: ~& a4 o0 Y9 k; t  K  O! `
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + V2 X1 x+ U( h" W1 w6 H2 t
  1007. ; http://php.net/pdo_mysql.cache_size; `* A/ c* O+ T0 V9 r$ ^4 Z
  1008. pdo_mysql.cache_size = 2000/ I1 A7 M& ?1 |+ d' x* G

  1009. " N/ g7 l8 j; O; H/ f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in" x5 T# L7 A. e' o, F
  1011. ; MySQL defaults.
    . D: I$ u$ q7 _( }
  1012. ; http://php.net/pdo_mysql.default-socket
    - G2 i( p# w( Z# b! {
  1013. pdo_mysql.default_socket=
    4 U$ A* f. s% t9 ]1 e7 O6 \0 r
  1014. 7 L5 L; ~: U7 l) Y" r  D
  1015. [Phar]
    % f- G1 s0 h* `. Q' g6 J; D
  1016. ; http://php.net/phar.readonly
    0 p" r$ C% Y& c6 |
  1017. ;phar.readonly = On
    8 A0 [/ o4 o/ m# J/ V- b- H

  1018. # |8 J& M# f# o# c; `2 i
  1019. ; http://php.net/phar.require-hash
    4 s  Z3 R9 l# }+ G; {# s
  1020. ;phar.require_hash = On6 Y5 ~6 `4 H, C2 e+ g. n1 g
  1021. - L9 _9 s+ [8 @# W1 F/ p) B
  1022. ;phar.cache_list =& y8 r0 ^, |7 A5 m
  1023. 6 O# n7 r9 q, J& a* }
  1024. [mail function]/ E. X2 ?+ H+ C( l
  1025. ; For Win32 only.. t# k: B' D6 x: t
  1026. ; http://php.net/smtp
    * H1 a( L5 i9 S3 c- N
  1027. SMTP = localhost
    ) K* w, {1 W. t  U
  1028. ; http://php.net/smtp-port
    & `7 b! u6 q  M0 n% {& e
  1029. smtp_port = 25
    " N+ D5 ^3 P- h" i+ j2 y$ f' J
  1030. # h7 z% S5 o  H- ^2 X
  1031. ; For Win32 only.
    : ^9 E0 _& p) }# q
  1032. ; http://php.net/sendmail-from
    1 p4 B' |9 l5 p
  1033. ;sendmail_from = me@example.com
    ; Z: `# @& W- P8 B1 D
  1034. 5 |( M6 A) z- s( B+ n( n: e
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: k0 f1 ~7 P; y" m, l: R) F
  1036. ; http://php.net/sendmail-path
    ! P2 @# h9 ?5 Z1 {& s6 }5 b1 C' c5 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    % D8 {$ ]$ B) f, O- A" C1 A; D& u

  1038. , V9 K" Q) J$ Z% R) S
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    % f' n! \& `! |  h# [' X, p
  1040. ; to the sendmail binary. These parameters will always replace the value of
    4 [, S6 J% ?9 ]" a  x, t) k
  1041. ; the 5th parameter to mail().& {/ J) ^1 c6 ^0 C4 T
  1042. ;mail.force_extra_parameters =" y2 }2 ~( ~! t- @* L) Q6 R
  1043. 6 A8 W  Z$ G& _: E
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename% d  p. V' R9 ?. p
  1045. mail.add_x_header = On3 U) N9 ^. Q+ @( V+ c6 l' _

  1046. % i- ~( U3 z/ P  I) i$ G
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    " I1 R5 d! t" Q2 J7 ^
  1048. ; the full path of the script, line number, To address and headers.
    & p& v. O" ^, j) ]$ ^
  1049. ;mail.log =
    1 K/ W4 @% a6 D" Y. |$ j) o- U
  1050. ; Log mail to syslog (Event Log on Windows).$ X) |7 k. y$ ]  r* X; ]
  1051. ;mail.log = syslog3 C1 m* X4 z4 t  c" ~
  1052. * k% I3 ^# \3 X9 t$ k2 D' e' q
  1053. [SQL]# S3 F1 f; ]& P5 {! G, I+ u
  1054. ; http://php.net/sql.safe-mode
    ) t* t, ^0 R" f6 g+ w, S& ?
  1055. sql.safe_mode = Off, B+ L: y# m! j" U5 Z$ a! k# y
  1056. " l, l" A$ L! [0 D
  1057. [ODBC]" {+ O6 y5 E- I; i! G9 N4 E  \
  1058. ; http://php.net/odbc.default-db% B( x+ i; c! D; Q8 _& T* e
  1059. ;odbc.default_db    =  Not yet implemented
      Y* h' |5 C& x( ]8 S# |

  1060. : J. p3 c. F/ Q" w9 ]
  1061. ; http://php.net/odbc.default-user
    ! V9 U/ K, v2 B- o1 h0 o5 L6 {( y
  1062. ;odbc.default_user  =  Not yet implemented
    : G0 N' @4 I; w, G
  1063. 4 b1 V* ~9 k( k/ d- [; O7 v( V8 }
  1064. ; http://php.net/odbc.default-pw
    $ ?/ E* K8 s+ x# v' [8 b
  1065. ;odbc.default_pw    =  Not yet implemented
    1 x' e! a+ r& E6 z

  1066. ( j2 C+ v. z( ?9 F
  1067. ; Controls the ODBC cursor model.
    / o: @6 k! `. R5 c- L6 l
  1068. ; Default: SQL_CURSOR_STATIC (default).
    + n& M' ^5 _8 D0 E- f
  1069. ;odbc.default_cursortype
    & }& g4 C7 E4 h% Q; ?% F% f- {

  1070. + {' G8 x" w2 |- p1 z
  1071. ; Allow or prevent persistent links., x; e  U* {6 `9 c2 Y7 V% p
  1072. ; http://php.net/odbc.allow-persistent5 @) W7 f$ E1 D; r% D6 J
  1073. odbc.allow_persistent = On
    + G  v' O5 T; N! r' X. H  V

  1074. * W, k1 j0 h& n
  1075. ; Check that a connection is still valid before reuse., c- n9 e2 V0 A
  1076. ; http://php.net/odbc.check-persistent( k' A, G/ z% k
  1077. odbc.check_persistent = On1 t. {3 R9 \+ X! ]3 N" l7 d, O9 [
  1078. - Y; I8 K$ i* i: I% C
  1079. ; Maximum number of persistent links.  -1 means no limit.7 D: E$ ]6 C- P, y7 Y4 _" B
  1080. ; http://php.net/odbc.max-persistent, u( |3 g: V  I- l4 X) l4 M1 A
  1081. odbc.max_persistent = -1
    1 D- E+ K; {6 X! g

  1082. : g; m& Q4 x8 s7 r9 ]$ w, B: \
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 ~- Q! w4 b- y9 w, b$ g% j
  1084. ; http://php.net/odbc.max-links  i  ?# K% D, Y6 \
  1085. odbc.max_links = -1. J) U. H) I5 J4 j" ]
  1086. & y: A3 q- W7 ^& r9 e. X' u
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means2 F3 t. ^" N0 Z) H
  1088. ; passthru.2 r% J8 N! q3 D6 T0 o+ l
  1089. ; http://php.net/odbc.defaultlrl
    6 k8 c4 f4 i; k
  1090. odbc.defaultlrl = 4096
    ( `9 I; S1 a6 M" t! G7 V0 E  z

  1091. * ]0 D$ u$ K, C5 v1 f
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . P" A7 C0 ^; P& r5 g+ [
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: p) s$ O9 A1 L  }8 G
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! k6 |, S+ i. G% @0 J
  1095. ; http://php.net/odbc.defaultbinmode
    & \, Q; ^8 g7 k6 `4 b" t$ t
  1096. odbc.defaultbinmode = 1
    ( x# O7 H. U, F2 ]% ]) n
  1097. 2 g  T  f7 T( p) U7 G* L
  1098. ;birdstep.max_links = -1
      H. P; Y- e" E$ }$ ^/ L) L# c

  1099. - K* B# t5 t2 c6 Q" R4 d0 C
  1100. [Interbase]
    $ K# w1 P: g- a! I( s. K
  1101. ; Allow or prevent persistent links.. C3 ], @- K* ^
  1102. ibase.allow_persistent = 1; q5 {0 d  e. U6 k5 o9 s/ L

  1103. # [. j' e4 k* b; D0 q
  1104. ; Maximum number of persistent links.  -1 means no limit.
    & i! t8 [/ @1 V
  1105. ibase.max_persistent = -1$ ^3 J' G4 ]" i1 @# ]3 C$ i8 Z

  1106. * e! B* h) k( e8 v; |6 y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ O* n2 p. y) @' {
  1108. ibase.max_links = -1, B! A6 w" k1 T2 o1 |

  1109. ' }% |' c$ b/ c7 j9 Y# `: I/ ]
  1110. ; Default database name for ibase_connect().
    * i7 {0 z6 _# T+ c$ R! H; G8 p# `
  1111. ;ibase.default_db =/ j' T7 _; S8 w; v9 _# s  [3 j

  1112. * @! o0 G9 x& ^- y2 M" Y
  1113. ; Default username for ibase_connect().
    0 Y" U. K, o/ ~4 m- L! q; U
  1114. ;ibase.default_user =: k8 i, l, s9 W
  1115. + t) W! P8 l5 m1 }. y3 M
  1116. ; Default password for ibase_connect()." L& x- x6 [* r( H, s& X/ `2 i6 ^8 o
  1117. ;ibase.default_password =
    4 M, Q* b5 n- K. F8 [
  1118. 8 z' D! |* K& `" b8 K
  1119. ; Default charset for ibase_connect().9 R) C2 v# t5 v# e2 x% w- j7 s
  1120. ;ibase.default_charset =
    " @$ S$ m3 T9 l

  1121. ( y$ R# o( _. V
  1122. ; Default timestamp format.4 C: V- j! O7 O/ i
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % e3 B8 ]6 ?+ w% g

  1124. 4 }" Z* q9 \( E' ?- h
  1125. ; Default date format.( T8 U) d2 V# @& ]1 l$ N1 Y7 ]& `
  1126. ibase.dateformat = "%Y-%m-%d"' X: U7 ~, B& g; h/ Y4 {, Z! R3 x$ h
  1127. - W# T% H/ h1 C6 a% W
  1128. ; Default time format.8 A* k( {8 I% J8 B
  1129. ibase.timeformat = "%H:%M:%S"/ Y  m1 N: ]1 b! v- D

  1130. 8 _5 f% B. c. Q1 m% J
  1131. [MySQL]
    7 e3 f  i8 Y2 E5 C& n' j6 m- S( F
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * O: }- B9 M% S, Q
  1133. ; http://php.net/mysql.allow_local_infile7 ?0 @3 A9 ^% N8 v
  1134. mysql.allow_local_infile = On
    * N) B0 c2 B1 L) L
  1135. " r7 B, v. x2 K! r8 p
  1136. ; Allow or prevent persistent links.
      _8 ^, P) a/ o6 C  ]3 ^! Y
  1137. ; http://php.net/mysql.allow-persistent( y) l2 V5 [! p4 @( C! s
  1138. mysql.allow_persistent = On
    2 K+ K! x, p# x5 D! p
  1139. " ]2 g. ?0 ]: t3 n9 c1 d
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache; y& Z3 W5 J7 \+ k
  1141. ; http://php.net/mysql.cache_size
    7 J; `' c' |+ O, \/ W
  1142. mysql.cache_size = 2000
    1 o6 L+ v8 s! M
  1143. : q& R3 S4 X; z' G7 I% `
  1144. ; Maximum number of persistent links.  -1 means no limit.
    5 h, `3 _% m1 Z% q' p9 o3 [6 c3 s
  1145. ; http://php.net/mysql.max-persistent. D8 }* O- j- ~
  1146. mysql.max_persistent = -1
    9 j- R3 E! F: _9 q
  1147. ' d  F# _) S# t+ `4 Y* I" X0 V
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 m, T2 ?* H6 F* v7 d* U
  1149. ; http://php.net/mysql.max-links$ y" C" b. c! W$ s+ V
  1150. mysql.max_links = -1
    " t  v6 p2 ^6 R2 k8 d6 E. C1 M

  1151. ) I6 [" |2 M0 D
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
      c' v" l5 d$ P$ U1 Z) F
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 V9 ^. v/ A7 ?3 C" B/ z0 _+ g
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ o: O6 z  X) H9 n! U4 i( f6 x
  1155. ; at MYSQL_PORT.
    ; n5 I2 Z7 ?& @! m
  1156. ; http://php.net/mysql.default-port7 \' t+ v, _4 A# e- v! O4 C
  1157. mysql.default_port =
    6 T2 C& L! j* I8 {

  1158. ' ?4 g! v; T' r3 J
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in9 Q& w/ J$ ~) L7 p5 E* j9 X0 c
  1160. ; MySQL defaults.3 U' b7 g1 s! A  P- [
  1161. ; http://php.net/mysql.default-socket
    , R! z! g: F$ g) a" B- s
  1162. mysql.default_socket =  i9 E% e/ S5 j1 O

  1163. ' x' T: I8 `* D6 G3 h
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 D1 e& i2 t8 Q* \( o9 }
  1165. ; http://php.net/mysql.default-host
    - y8 p* w' C- T0 X& h" b0 I9 t8 e
  1166. mysql.default_host =  L0 k  A/ U9 f& I; t8 G
  1167. 1 T+ \& }, L' p
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).* }( J; V  z* [. H6 o0 |
  1169. ; http://php.net/mysql.default-user
    2 |3 L- p: X* X0 e4 `. a
  1170. mysql.default_user =; g0 h/ j& f( k
  1171. 5 |  X7 e3 r3 M
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).+ E( D* y/ V3 b
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
      J3 A' |# L* o( P
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . T, H0 `5 A* N7 h  u7 E5 h9 ]; s
  1175. ; and reveal this password!  And of course, any users with read access to this
    1 ]' C+ ]8 p; j
  1176. ; file will be able to reveal the password as well.
    1 P: |! A, y& ^; L
  1177. ; http://php.net/mysql.default-password4 j4 t9 V% X0 V  H/ ~7 [: Z
  1178. mysql.default_password =
    ! y9 ?* N4 n( L- E/ ~2 t1 R

  1179. 1 W& c6 I1 n. E
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; r$ c+ {' d: G4 g  ?1 S" j7 D4 t
  1181. ; http://php.net/mysql.connect-timeout7 ^/ f  C- e6 ]4 b" h9 C
  1182. mysql.connect_timeout = 60
    ( B  C" H6 q2 j9 c3 V
  1183. 2 k" u, m$ x/ j) \+ H. Y& L
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and- W* F* @2 E+ N0 C
  1185. ; SQL-Errors will be displayed.
    : \8 ~8 x% M, G
  1186. ; http://php.net/mysql.trace-mode
    * |2 b9 Z# @$ ?: ]/ H3 B3 c
  1187. mysql.trace_mode = Off. d6 H; |* A4 q& ?
  1188. 6 Y) c4 H/ f, m& w: _- B8 @
  1189. [MySQLi]
    : l) ~# f- E, _
  1190. " M0 s+ U9 D. H' G" G
  1191. ; Maximum number of persistent links.  -1 means no limit.: R0 ]- f6 \" P, e$ R4 R
  1192. ; http://php.net/mysqli.max-persistent
    2 m0 l% l1 H( ^6 a; C5 l
  1193. mysqli.max_persistent = -1
    4 u& r% k" ~8 h0 H  E" z0 O
  1194. 7 `# g3 x" S" t
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 @; Q- s& p  ?
  1196. ; http://php.net/mysqli.allow_local_infile- N6 s4 X. p( m8 e2 v/ o& A6 K0 I
  1197. ;mysqli.allow_local_infile = On
    5 h% w& }: t' G: O! M( G* w

  1198. / k1 n% y! U6 @. y
  1199. ; Allow or prevent persistent links.
    ( C# y  z$ ~9 q) Y: B) w4 K; E
  1200. ; http://php.net/mysqli.allow-persistent" T: C3 r4 }: _8 _1 O  Y
  1201. mysqli.allow_persistent = On+ O; P# @9 j- c) b* C

  1202. 8 V2 Y. N. [9 h5 U
  1203. ; Maximum number of links.  -1 means no limit.
    + T2 W- u+ |- j  B# X: v
  1204. ; http://php.net/mysqli.max-links
    / w! A  h) c2 w
  1205. mysqli.max_links = -1! }/ R( ~# L2 C3 w

  1206. 5 Z9 a: Y8 B: I' j
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 c; z8 E1 F% k3 C
  1208. ; http://php.net/mysqli.cache_size
    ! W4 }9 j; e6 q; O3 g6 S6 k/ E
  1209. mysqli.cache_size = 2000/ s6 E# w3 K6 I+ w: T3 `+ s' G

  1210. + D2 _& K. f" a4 C: M7 M' o9 g
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 w0 H% W0 q2 r9 H. o
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 F& P  e% a' n# Y7 e3 `' N3 A8 n8 ?9 }
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    * @% E) R2 M8 W# o: O. p
  1214. ; at MYSQL_PORT.. f2 D7 J9 C2 a
  1215. ; http://php.net/mysqli.default-port
    : j$ o" F1 B) ~7 q
  1216. mysqli.default_port = 3306
    4 r5 `7 L& N7 ~0 _5 A
  1217. : D0 ~% ~# [  ~  Q
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , s2 U% q7 o, V9 D/ k
  1219. ; MySQL defaults.
    ( e/ M: b% R+ ?1 ~
  1220. ; http://php.net/mysqli.default-socket
    ( y) P/ [  h( r: }0 W/ }  ]
  1221. mysqli.default_socket =, N9 Q( [8 \; d/ }, Y

  1222. 2 i3 ?, l; P4 v  f
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)." k$ k; d& i! o8 t" t: W
  1224. ; http://php.net/mysqli.default-host' k- X5 t  m! P( Q4 T. r' Q! r
  1225. mysqli.default_host =
    . Q* O: V! {& x

  1226. . H5 f! P* |# {0 C9 f& F5 w; Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).# g. k  F- D5 ]" f, B( I
  1228. ; http://php.net/mysqli.default-user3 C! `9 J- P7 ]4 O: [
  1229. mysqli.default_user =
    4 T. U7 _* h) V0 |! @+ I- Z( S
  1230. 3 a3 l* ^. a+ Q! C9 x# H& y; |
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + B$ D8 t2 @& A& l" x5 \+ z0 M" ~4 R& o2 X
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 @* o; k: k* _: e/ _; U
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    3 K0 i% H/ ?9 S7 E
  1234. ; and reveal this password!  And of course, any users with read access to this
    5 Y% ~/ ?% y$ y& J
  1235. ; file will be able to reveal the password as well.
    , ?, j1 Z7 T, z% L( `
  1236. ; http://php.net/mysqli.default-pw% G4 Q. q/ X  Z2 D+ U. y+ E
  1237. mysqli.default_pw =# y2 a, Q8 x: N) I% a7 w$ a

  1238. ( n; J/ ]' |3 M& P; V4 T
  1239. ; Allow or prevent reconnect
    ; J6 e: @# l" r
  1240. mysqli.reconnect = Off
    ) d6 p, @+ d1 R/ K: e

  1241. " Q7 f0 @5 m9 r
  1242. [mysqlnd]* u# L& s' J- g
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / \+ p' L- K  ^% {
  1244. ; used to tune and monitor MySQL operations.1 x2 ^! ]0 {' k* {
  1245. ; http://php.net/mysqlnd.collect_statistics
    6 r. @' Q) C% V/ B! }* H
  1246. mysqlnd.collect_statistics = On  W& L, ~9 s$ E

  1247. 8 h! a0 k  I: ^  M) o9 T# a
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be1 l% s7 f2 Q: |9 u$ l, U: R
  1249. ; used to tune and monitor MySQL operations.
    6 M7 h  c$ h6 a' p& z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    3 F+ u2 ~' f: U2 D
  1251. mysqlnd.collect_memory_statistics = Off
    5 s. |, t/ {$ x* I/ z
  1252.   ~% A- u9 @) x6 Q5 D6 x5 v
  1253. ; Records communication from all extensions using mysqlnd to the specified log( v8 x0 A6 b2 R( `1 f+ p
  1254. ; file.
    ' ]* b+ ~# |' T$ ~  \
  1255. ; http://php.net/mysqlnd.debug
    & `  m; L  l( |! ~3 l# V/ r
  1256. ;mysqlnd.debug =9 \" l2 t" a2 H
  1257. ' `0 O# X- J$ A: h4 q# m
  1258. ; Defines which queries will be logged.
    : E" X) G( y/ Q
  1259. ; http://php.net/mysqlnd.log_mask
    5 B; t& j: }' \' w; g+ g( q
  1260. ;mysqlnd.log_mask = 0' s* u; b6 i) t5 b$ M8 I" O3 x

  1261. 3 \$ q* v; I9 L9 E. F
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ! n! ~5 r6 o9 S* M  o9 }
  1263. ; http://php.net/mysqlnd.mempool_default_size/ l# s: d4 \/ Y% Q9 C( X
  1264. ;mysqlnd.mempool_default_size = 16000
    , h% W, x$ @3 p- O! M

  1265. - W7 L2 H( Y- l+ M/ V  B& w& Q
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; y2 ], y( f. d3 a
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size; V! g8 }% u- ]4 y: V1 h3 t5 }" s
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 k, j$ P& l0 V5 k) y! h
  1269. + z' B2 ?  }0 t3 J# e) V
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in0 c  c# J5 `1 V+ z( k8 C
  1271. ; bytes.' i2 `0 |7 _+ ]5 D$ \
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ; `2 [, H, H# R
  1273. ;mysqlnd.net_read_buffer_size = 327683 n$ I) R3 {( b* [
  1274. 5 h  B3 e& B6 `7 A
  1275. ; Timeout for network requests in seconds.
    3 n. s9 s6 j  \3 m
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 I) u+ Q1 B* I, U  \  j7 P
  1277. ;mysqlnd.net_read_timeout = 31536000$ V; _8 y; }8 A3 ]1 i' s4 m! \

  1278. " [1 y$ ~) h" u. a1 I
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * N% H8 e* f+ R3 M- ^
  1280. ; key.: _9 i8 f, E! b5 m) S# }
  1281. ; http://php.net/mysqlnd.sha256_server_public_key! t+ H2 X# I, D3 r  l5 I8 F
  1282. ;mysqlnd.sha256_server_public_key =
    - Z& M5 E4 i2 ~# O

  1283. : _2 u9 m! }/ q% o& T
  1284. [OCI8]
    $ u1 W* t6 j" b+ b$ ?4 B3 I, A

  1285. 8 B' j/ t  Z5 f% s5 W, i- y; {
  1286. ; Connection: Enables privileged connections using external
    ; F8 C. ~, T: y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)0 d9 `$ ]6 j! ]0 }- P
  1288. ; http://php.net/oci8.privileged-connect) r9 \0 {" R2 s  ?- h
  1289. ;oci8.privileged_connect = Off' d6 R2 ~; |0 Q
  1290. 6 q4 y; w8 n; f* W+ p% J
  1291. ; Connection: The maximum number of persistent OCI8 connections per- Q5 d' o: P$ R4 L/ P$ V$ d
  1292. ; process. Using -1 means no limit.  C/ r# R2 p# k1 M# X; e
  1293. ; http://php.net/oci8.max-persistent
    # b% g: s% \5 I% T
  1294. ;oci8.max_persistent = -12 V2 E- y8 Q! ?$ B( l1 M3 K' F
  1295. ! j$ j: B  D3 K$ b" Z9 j" B" w- y
  1296. ; Connection: The maximum number of seconds a process is allowed to5 V# p; N. X3 ?3 o
  1297. ; maintain an idle persistent connection. Using -1 means idle
    . c9 O  d) N2 q/ r; s2 Z$ u
  1298. ; persistent connections will be maintained forever., I6 o2 M5 J) m5 m$ e3 r: e% g
  1299. ; http://php.net/oci8.persistent-timeout
    ) H8 q! ]+ t4 U9 P5 W* i0 E* k) O
  1300. ;oci8.persistent_timeout = -1
    0 a% `9 c+ h3 R- O! T2 d

  1301. ) F1 \4 q2 j% s, G  m& o. y
  1302. ; Connection: The number of seconds that must pass before issuing a4 t  [* G; Y/ e
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ) [& }! w9 B3 p" x  _( G$ {
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ' \5 T6 z) V% x# C6 w0 {$ J
  1305. ; pings completely." F  W* Q2 q% t7 j; Y0 |2 [, n
  1306. ; http://php.net/oci8.ping-interval
    ' R: s0 `" S* n0 |1 M* m. F
  1307. ;oci8.ping_interval = 608 `$ y% G: c. q, ~2 H4 X8 x; b( u, f. {

  1308. 0 {) U' v! c0 _; E7 m2 V
  1309. ; Connection: Set this to a user chosen connection class to be used
    . m/ I+ @  z+ [3 r7 ^8 L
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    # x6 C8 z$ g5 a0 z+ D5 S* E; E1 u9 t; K
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 m. s3 f; [0 S$ K% F% R
  1312. ; the same string for all web servers running the same application," s4 y* ~' l7 q2 l: E9 A
  1313. ; the database pool must be configured, and the connection string must
    + d2 {$ v7 W0 e* U1 ]
  1314. ; specify to use a pooled server.8 a" }0 ]$ |& C. e, e0 J4 V+ [
  1315. ;oci8.connection_class =2 i8 n/ D0 j: q+ F. Z5 ?

  1316. - v7 y8 O7 E! r
  1317. ; High Availability: Using On lets PHP receive Fast Application
    6 `6 `+ a# s5 ], i
  1318. ; Notification (FAN) events generated when a database node fails. The; Q& ^; P9 r) U- q$ c
  1319. ; database must also be configured to post FAN events.# P/ M" O( z( g, y) y* M4 Y$ `
  1320. ;oci8.events = Off) c) Y8 ]8 ]! a5 M2 ?9 \6 O
  1321. 2 x/ A; D3 d7 `+ `
  1322. ; Tuning: This option enables statement caching, and specifies how5 u- L4 R) Q5 G5 ]: K6 i' g
  1323. ; many statements to cache. Using 0 disables statement caching.
      f6 G+ m9 c' K4 h0 Q# S  _
  1324. ; http://php.net/oci8.statement-cache-size
    9 \6 J* ^! E8 \  E- G  T
  1325. ;oci8.statement_cache_size = 20
    4 o5 B( Q% b1 k. n0 B4 y$ @+ [
  1326. + P2 l, H* _4 U( d& e( B
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    " \; W4 @, Z( ^9 A
  1328. ; rows that will be fetched automatically after statement execution.
    6 E" H8 J$ Q: }# ^( d
  1329. ; http://php.net/oci8.default-prefetch" v  m4 Z2 @) D# v, ^& Q
  1330. ;oci8.default_prefetch = 100
    0 ^* Z1 s  ~  r- Z

  1331. 8 {0 i" [4 x$ u, e! O
  1332. ; Compatibility. Using On means oci_close() will not close* z( O; G! L9 \' }& K
  1333. ; oci_connect() and oci_new_connect() connections.! ?7 m1 ]4 f0 S) ^; P+ X
  1334. ; http://php.net/oci8.old-oci-close-semantics5 {3 ?# l5 J8 J$ C% k8 u
  1335. ;oci8.old_oci_close_semantics = Off
    , @5 D5 Z( h8 b: J

  1336. 8 f. z" M3 Z4 x- w
  1337. [PostgreSQL]- k2 c9 |+ X$ F1 y& U
  1338. ; Allow or prevent persistent links.
    7 ]. o; g+ \9 H$ L+ k# i
  1339. ; http://php.net/pgsql.allow-persistent2 X$ l' l' i* m) k* K+ _
  1340. pgsql.allow_persistent = On0 R4 E8 E* U$ R% Y' {
  1341. ) N  [% P4 ]; H, D% N& }
  1342. ; Detect broken persistent links always with pg_pconnect().. ^. U, ~6 j, [/ j; m
  1343. ; Auto reset feature requires a little overheads.2 V# n% m/ N8 v1 s
  1344. ; http://php.net/pgsql.auto-reset-persistent  Y6 |6 x; S+ Z) |2 E# S2 a* j' C
  1345. pgsql.auto_reset_persistent = Off2 X5 Z- y/ w; F; q
  1346. $ b2 M% t" }/ Y1 ^6 ^; _0 \
  1347. ; Maximum number of persistent links.  -1 means no limit.6 `3 F- L" h, e6 \0 G: a% g
  1348. ; http://php.net/pgsql.max-persistent! f/ l* a- y# Y/ `- ^
  1349. pgsql.max_persistent = -1* W3 l' J7 x+ R# |

  1350. ! q. B) l  X: L, K/ [
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 Z& L  R9 L  R6 s4 R
  1352. ; http://php.net/pgsql.max-links
    ! `$ {, X8 [3 Q8 I2 a9 Z
  1353. pgsql.max_links = -1  t/ D" V9 _  s  S
  1354. / l# c; v  b" E+ W
  1355. ; Ignore PostgreSQL backends Notice message or not.
    7 P. m3 i) C+ s7 K5 W& a
  1356. ; Notice message logging require a little overheads.
    , f- a% j7 l$ O6 C& r) q: ^
  1357. ; http://php.net/pgsql.ignore-notice
    0 `! v2 m# H8 M$ ?
  1358. pgsql.ignore_notice = 0
    " c& L8 ]6 J" Z# H* D% R

  1359. 1 S3 O# B1 K3 ~$ V7 N) Z
  1360. ; Log PostgreSQL backends Notice message or not.
    2 |' r0 h+ T- {* O; @2 ~& g
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 I8 w" n1 `) `, c7 q, H  I
  1362. ; http://php.net/pgsql.log-notice
    2 S: v* m1 ^2 F( F  A( v( T3 p
  1363. pgsql.log_notice = 0' M, ]: Y2 ]/ i* k( v& d) N
  1364. # c, s: I+ d" i) j/ Y+ m) Z4 ]* a* r. _
  1365. [Sybase-CT]0 H- u/ |; b6 H$ v
  1366. ; Allow or prevent persistent links.
    . W: n# `. H( E% L, a) a1 ?
  1367. ; http://php.net/sybct.allow-persistent
    : o  ]+ t- |9 q4 k
  1368. sybct.allow_persistent = On
    ( ]1 B7 Q6 w1 t7 w7 q

  1369. % C! X% s8 C- z, J; q" h# W
  1370. ; Maximum number of persistent links.  -1 means no limit.
    # z9 y* c9 ^& S7 Y& L
  1371. ; http://php.net/sybct.max-persistent
    . f. J, q8 U- S  z
  1372. sybct.max_persistent = -1
    . r& R! T# P  a* x) B' h" f# B9 a
  1373. ! s+ [/ t/ l9 ]0 Y; n
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 D4 `& i: g& |1 E
  1375. ; http://php.net/sybct.max-links# _0 ]; q2 V3 C' N$ E! K
  1376. sybct.max_links = -1& R8 Z7 l0 O3 r
  1377.   C# ~) U$ ~7 W
  1378. ; Minimum server message severity to display.
    1 b0 I% X4 ~8 O+ J3 N* j
  1379. ; http://php.net/sybct.min-server-severity- C& y  L3 [7 Y! M
  1380. sybct.min_server_severity = 10
    & d0 W8 x7 w) \& i0 U- R6 }& l
  1381. 5 U3 w: Y( V7 _, E& ~
  1382. ; Minimum client message severity to display.% K0 ?+ _4 {1 T# ~: O9 I0 b, T
  1383. ; http://php.net/sybct.min-client-severity( g8 I2 y( g2 P0 F6 D! F" @% e
  1384. sybct.min_client_severity = 10
    ) ?) Z, l9 q: l' r; V
  1385. ) Q2 o# @- D. t  U  `
  1386. ; Set per-context timeout
    7 }' W3 I# ~- M0 P# N
  1387. ; http://php.net/sybct.timeout
    : K/ K0 i: b( S
  1388. ;sybct.timeout=
    - _" {2 ]: f) E8 O: F
  1389. : A- @2 D3 S3 s/ f! O
  1390. ;sybct.packet_size* N( b+ M4 W& b/ _9 _: D
  1391. ( W9 ~; ~  h0 W9 L8 k
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ; m4 v: s+ I" o9 T1 g7 X
  1393. ; Default: one minute( c4 a; O3 f- Y% a3 ^
  1394. ;sybct.login_timeout=
    8 a5 N% D9 Y, u1 c  p* R9 N0 g7 i8 N

  1395. 8 N$ s( l- J6 S3 F
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.7 c" l& [( w) P& E. B3 h
  1397. ; Default: none, X* A; F3 C, ~/ ]" G
  1398. ;sybct.hostname=
    - ?0 K$ f5 I' T+ x# ^! R

  1399. 3 W2 o2 X$ Q& r4 [+ E7 P
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 T- j$ b/ K; ]4 C% q: H+ V
  1401. ; Default: 0- Q1 i' [  N! M/ S2 X2 _
  1402. ;sybct.deadlock_retry_count=
    - h* s, G6 h3 P3 m. R+ F
  1403. : A2 z8 v0 x, T( q$ G' W$ O% N
  1404. [bcmath]
    2 m' |! n4 V! N0 L
  1405. ; Number of decimal digits for all bcmath functions.
    + [+ ?7 W8 }- D
  1406. ; http://php.net/bcmath.scale
    , ^3 z3 B* j& A1 E7 u
  1407. bcmath.scale = 0; W7 U7 l0 C( G" H  s, u

  1408. 3 ]. m- y) A1 n- k. x( ?4 w8 q+ E' M
  1409. [browscap]
    8 x* @  o7 ?3 w
  1410. ; http://php.net/browscap
    ' b1 E- m. J' S
  1411. ;browscap = extra/browscap.ini
    8 L- _- D8 H. T+ Y6 N9 u8 F

  1412. 8 q8 r) ~' ]; |* J2 }
  1413. [Session]9 z0 S* e/ Z7 x+ m1 k# d1 Z
  1414. ; Handler used to store/retrieve data.
    3 n3 E. M# q5 d  A; b! l9 j
  1415. ; http://php.net/session.save-handler' [! v" x0 a1 L' @
  1416. session.save_handler = files, Y$ G8 i1 B% R6 ~3 l
  1417. 9 E7 @, e3 O- J: U* J# R; d
  1418. ; Argument passed to save_handler.  In the case of files, this is the path2 e5 `/ @- j$ n. m( `4 E; P! B
  1419. ; where data files are stored. Note: Windows users have to change this
    ' P' _. w7 z$ y/ U) `0 {, v! G
  1420. ; variable in order to use PHP's session functions.! T$ _& D$ o  U9 q: B
  1421. ;2 y! ]. \' d, J7 j  x) b9 _
  1422. ; The path can be defined as:0 _/ A/ s/ y( d9 |2 l" N! {
  1423. ;2 Z& R4 C0 V3 r  g
  1424. ;     session.save_path = "N;/path"6 ]: L( e6 {8 q- U& x! l  M3 S
  1425. ;
    ; O2 A1 q5 c; D8 t+ L, l: ?4 g
  1426. ; where N is an integer.  Instead of storing all the session files in( V) y$ O! h; o
  1427. ; /path, what this will do is use subdirectories N-levels deep, and  {% G+ N6 C4 G
  1428. ; store the session data in those directories.  This is useful if' I8 S& Q0 Q0 Q" J0 a0 P6 B
  1429. ; your OS has problems with many files in one directory, and is; U! `; f2 ]* E. ], M1 H: S
  1430. ; a more efficient layout for servers that handle many sessions.9 a% b9 f+ t( @# |
  1431. ;' L3 r4 C7 H0 D# C9 u1 ~: s9 v
  1432. ; NOTE 1: PHP will not create this directory structure automatically.8 R# N: u) X0 I& s8 O8 ^0 P/ O
  1433. ;         You can use the script in the ext/session dir for that purpose.
    9 B1 E, A7 |# [! F3 t, U
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    6 H6 X7 ~/ G( b, w/ y
  1435. ;         use subdirectories for session storage
    & Y" n0 L9 ^9 {4 A8 P! I
  1436. ;
    5 x3 @( }4 N: N4 U9 M7 N* k
  1437. ; The file storage module creates files using mode 600 by default.0 [1 W( C+ L' |2 s# ^
  1438. ; You can change that by using
    2 h; K; t$ u( r" W' z% X! z
  1439. ;' L/ _9 H8 l8 y2 H  P
  1440. ;     session.save_path = "N;MODE;/path"$ V0 }- |# S/ Q
  1441. ;4 I" E1 }2 S! A+ T: g
  1442. ; where MODE is the octal representation of the mode. Note that this+ Z" f- W  [1 S- h  U9 c
  1443. ; does not overwrite the process's umask.1 d5 [$ G4 I4 I7 @! h$ M
  1444. ; http://php.net/session.save-path, H0 ~0 T4 J- z, ?) O
  1445. ;session.save_path = "/tmp"+ R) P! A/ E2 t

  1446. ) P7 r3 C" v  w$ y" F$ a
  1447. ; Whether to use strict session mode.
    4 L+ z2 J/ c# @) i
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate2 Q- k7 T" p  \3 Z6 J0 \" A% W
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects, G8 }- U( e; r
  1450. ; applications from session fixation via session adoption vulnerability. It is8 l3 Q3 |6 S. W' b: K% `) Z
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 e" N7 n$ D  ?! j4 q/ a
  1452. ; https://wiki.php.net/rfc/strict_sessions
    2 o2 N5 s: P$ n( J9 c1 S- Q
  1453. session.use_strict_mode = 02 s5 O/ j- S! }' S7 e7 v* ^

  1454. 2 \! U! R9 O/ O/ k* W0 C
  1455. ; Whether to use cookies.5 j2 `9 r% G8 h) x% D( J2 s
  1456. ; http://php.net/session.use-cookies% q$ U: }1 y/ \1 @
  1457. session.use_cookies = 1
    : q; V. M8 ~. y4 p0 E
  1458. . H* g5 u; E$ n
  1459. ; http://php.net/session.cookie-secure0 i/ V4 K6 X( p  v+ V
  1460. ;session.cookie_secure =& L/ a6 M+ \+ Y; D
  1461. 3 d% U3 A6 i; e1 y6 X5 v
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . N3 X% a1 V' r! z) s
  1463. ; the session id. We encourage this operation as it's very helpful in combating) W6 Y* i! A$ D7 r  K
  1464. ; session hijacking when not specifying and managing your own session id. It is$ \* P, o& O. s) f. ~
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) O8 ]$ ]0 O  Y
  1466. ; http://php.net/session.use-only-cookies
    ' a  k" x/ {6 e) }0 m5 h
  1467. session.use_only_cookies = 18 N% q2 ~1 y, N

  1468. 1 O3 E) u5 J9 ~' l) N+ Z
  1469. ; Name of the session (used as cookie name).
    ( w8 d3 E* ]: x
  1470. ; http://php.net/session.name; I6 x1 ^, N% \" }$ M9 i4 o
  1471. session.name = PHPSESSID
    6 J7 W% x& O+ V

  1472. 6 ~' J  |: u; g# F+ X2 W& c
  1473. ; Initialize session on request startup.
    8 v/ Y( S+ s/ W& q) v
  1474. ; http://php.net/session.auto-start
    1 }. `- l: _; M% q
  1475. session.auto_start = 0
    % W+ a! F, t- }( o$ S8 w

  1476. # i7 s5 I) F( _+ M
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.2 _' C! \# X8 _! k
  1478. ; http://php.net/session.cookie-lifetime
    % b4 }" Q5 g; s2 I; Z
  1479. session.cookie_lifetime = 0+ R' l0 j2 z  a* H7 I
  1480.   N, G8 ~0 F8 b* t$ Q
  1481. ; The path for which the cookie is valid.* ^7 W5 H6 n5 F- u2 U) o
  1482. ; http://php.net/session.cookie-path
    ) p6 `& g$ f7 t) u! M
  1483. session.cookie_path = /* \" z1 X/ ~2 ]; ^7 x

  1484. % N, Q" u6 q& [8 X" |
  1485. ; The domain for which the cookie is valid.
    , w1 _" m4 j5 u5 h
  1486. ; http://php.net/session.cookie-domain
    3 b/ M3 g4 o8 V, `1 T$ S# D* D
  1487. session.cookie_domain =
      {8 p/ f. t) \! ]7 X# V9 o( P  z8 k
  1488. 8 {3 [& N& y( W- Q, M
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.8 v& {3 P7 r4 w. u! }3 E; H0 `
  1490. ; http://php.net/session.cookie-httponly/ V- e6 ]0 X/ C( Q5 ?, {0 v
  1491. session.cookie_httponly =
    / [" I) o! |2 I7 k2 Q

  1492. ! v# @/ C9 q6 P! i  U+ Z. n4 b
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ' W9 ]/ P+ ?1 x
  1494. ; http://php.net/session.serialize-handler; j% y' ?, s& l2 a
  1495. session.serialize_handler = php4 g$ D# V7 n" ^- T  T( g' ^0 @+ n1 U1 d

  1496. 5 O0 ?! j' c1 F! l; g8 Y
  1497. ; Defines the probability that the 'garbage collection' process is started# |( }7 s1 l. c/ a: l
  1498. ; on every session initialization. The probability is calculated by using
    % g/ J/ f- N2 s( _$ m
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    . L  D" Y) V' W4 G' q' [( y- x
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1  |! {5 V8 L: O$ W7 U+ w
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* i, `' P3 f$ c
  1502. ; the gc will run on any give request.
    5 g7 v: j& G2 g0 P0 @3 O+ t" Q
  1503. ; Default Value: 15 ?* z6 p. z, `# O6 c( y
  1504. ; Development Value: 1) Q0 W+ s8 C# U4 A8 P0 k4 y. ^
  1505. ; Production Value: 19 I3 _# b# M% n# z: g9 a4 _
  1506. ; http://php.net/session.gc-probability& }; f  o$ k- ]  M* \
  1507. session.gc_probability = 1# k+ s( C! n( q! G( B
  1508. ( ~# o1 G! P/ x  q; i# j
  1509. ; Defines the probability that the 'garbage collection' process is started on every) r) h+ I: B; z0 D- T2 l9 q) h' f, A
  1510. ; session initialization. The probability is calculated by using the following equation:
    * ^. [" c# P5 A7 B/ C; K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* c' K5 v- i( R& Q2 x
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& n7 G! ]4 Z+ @, _- T; Q
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 m2 e' ~2 E0 S; x5 s0 z) v& {* |3 O
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ! n" E0 p3 y* T3 @4 e/ E6 g
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 o+ @" [' J* m
  1516. ; this is a more efficient approach.0 I% g4 S" d3 I7 Q6 |4 U0 {
  1517. ; Default Value: 100/ K3 M/ [! n: J7 r, R
  1518. ; Development Value: 10006 M7 l' w$ b& i
  1519. ; Production Value: 1000
    ( G* q; {- f: |
  1520. ; http://php.net/session.gc-divisor$ g$ c6 G8 p- u# v5 ?+ }& O
  1521. session.gc_divisor = 1000
    % ?& T6 a0 Q0 e: z
  1522. 7 A. G( D2 s1 k' r; N
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and% G! \4 [' R3 `8 K# Y; }4 `
  1524. ; cleaned up by the garbage collection process.
      u6 r5 f, f& m4 Y! ]# L
  1525. ; http://php.net/session.gc-maxlifetime0 m# g6 ~( k( [. V7 j2 W  Z
  1526. session.gc_maxlifetime = 1440
    % }$ P* F  O6 b& c6 i
  1527.   V! |+ W7 n( h% \( X
  1528. ; NOTE: If you are using the subdirectory option for storing session files1 G) D/ F. A: I9 ~4 ~9 b! U0 x* e
  1529. ;       (see session.save_path above), then garbage collection does *not*
    , ~5 L* q! o- N) l
  1530. ;       happen automatically.  You will need to do your own garbage
    * s) v% Q5 S2 I% D( j. R- x% e
  1531. ;       collection through a shell script, cron entry, or some other method.1 T0 D; i4 a( w$ Y5 U6 _9 T" O; V
  1532. ;       For example, the following script would is the equivalent of$ e+ d! k& [$ W: f  c8 [- M* P
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % u7 k9 b* A8 ]( K
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' \+ L5 E& m1 M1 Y- E

  1535. + E& r5 _  J1 [" v7 ~( ?& j
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * `, f1 `: N6 n* N8 h
  1537. ; HTTP_REFERER has to contain this substring for the session to be5 T  s, R; h3 u+ z" Z
  1538. ; considered as valid.
    4 E) s; w6 F# \, p
  1539. ; http://php.net/session.referer-check5 N! g: R- j7 I+ W. U7 ]
  1540. session.referer_check =- G6 J, l0 f) B! T  j

  1541. " y# |3 x. I0 ^% _* ]2 ]& Z
  1542. ; How many bytes to read from the file.
    / o9 `' J' E" T3 M
  1543. ; http://php.net/session.entropy-length
      B, L- v4 L5 {+ [" h
  1544. ;session.entropy_length = 32
    9 D2 M6 |' m! R, ]4 r- k& O% W
  1545. : e9 I! j+ m* B; B) p# W5 |
  1546. ; Specified here to create the session id.3 \, ^- D- ]0 i& P+ s9 I
  1547. ; http://php.net/session.entropy-file
      [, W. x$ b) d  u1 N" L
  1548. ; Defaults to /dev/urandom
    0 z, w8 s* y5 z: m. f  {( g
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 P" l' @: F, F8 x) n! J, k
  1550. ; If neither are found at compile time, the default is no entropy file., X% ^8 `% M, W; u+ ?/ g
  1551. ; On windows, setting the entropy_length setting will activate the
    7 r6 a  H! }: E! s8 f
  1552. ; Windows random source (using the CryptoAPI)
    3 O" `0 K8 x9 |  n/ [
  1553. ;session.entropy_file = /dev/urandom3 t4 ]! B; q# {( T0 z& R
  1554. 1 r# |# I! X; b, O& q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 D( t8 y, I, o. b
  1556. ; or leave this empty to avoid sending anti-caching headers.  [; a$ i( E4 D' L& a0 i1 V
  1557. ; http://php.net/session.cache-limiter: X7 h# j4 j3 m3 O4 \* ^
  1558. session.cache_limiter = nocache8 L# M! i& [+ y) N+ H$ X9 l$ i

  1559. 3 q, y* R5 u4 Y; `- @
  1560. ; Document expires after n minutes.
    5 d6 E* B1 ~( x6 R% I- q4 f
  1561. ; http://php.net/session.cache-expire
    ( a% `/ n' E, y3 Z, W" w
  1562. session.cache_expire = 180
    2 r1 z: j; t# M1 f! l, n

  1563. - O  S! C" n$ a5 Q: s6 n- X
  1564. ; trans sid support is disabled by default.8 H) V9 n$ F$ _' q' X! F, n
  1565. ; Use of trans sid may risk your users' security.
    & C; @( F4 f* f
  1566. ; Use this option with caution.( ~  Z, ^; Z4 W, n2 |! D# `
  1567. ; - User may send URL contains active session ID
    2 V0 ^) d+ M/ N
  1568. ;   to other person via. email/irc/etc.
    3 \  q1 D0 u% H0 f% o
  1569. ; - URL that contains active session ID may be stored
    9 V7 w1 o5 x; u: Z/ s# L" n. I
  1570. ;   in publicly accessible computer.
    3 j* W. _( v5 G
  1571. ; - User may access your site with the same session ID/ Z) u1 |" z3 a
  1572. ;   always using URL stored in browser's history or bookmarks.! l1 j' M" q: r( m* L
  1573. ; http://php.net/session.use-trans-sid
    ) z2 U0 l7 H7 G' c, a" V9 S% S: s
  1574. session.use_trans_sid = 0. Z* ?8 [- Z) b( }

  1575. # u' O' H) i9 m+ j' y; r8 t
  1576. ; Select a hash function for use in generating session ids.
    $ @# d/ q& r8 n) ~0 V8 p* A
  1577. ; Possible Values6 e0 ^0 c% U6 O* N6 p/ e2 f
  1578. ;   0  (MD5 128 bits)
    " T0 d* j! a2 H& b7 w; G2 M/ ~2 u$ O4 c
  1579. ;   1  (SHA-1 160 bits)
    ! x$ b" E/ a0 ^
  1580. ; This option may also be set to the name of any hash function supported by3 f- R3 _. Y- E8 `1 J
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): E; S9 i+ }1 @( ?
  1582. ; function.
    ) r! P- q5 W& Y$ q. v$ A
  1583. ; http://php.net/session.hash-function& }' E1 a. T: R+ e8 p
  1584. session.hash_function = 06 d3 D0 K/ R/ k  M: f' V
  1585. 5 r1 y. n, A0 Y6 V; v- e" X' A
  1586. ; Define how many bits are stored in each character when converting
    ! Y5 I8 \! L. H0 k0 K3 a5 A
  1587. ; the binary hash data to something readable.
    1 S( c& x2 X# X6 {1 w( Z
  1588. ; Possible values:0 }- Z1 n) S- d% Z$ T0 T9 o+ ?
  1589. ;   4  (4 bits: 0-9, a-f)9 o, I! s5 ~. S* X) p
  1590. ;   5  (5 bits: 0-9, a-v)
    1 Q" e. _, x9 I2 y" R( R
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 t, B9 s: W& s
  1592. ; Default Value: 4  ~1 m4 V9 X0 p9 A* P
  1593. ; Development Value: 5
    % m" |" T  K- A/ u) L
  1594. ; Production Value: 5
    ) ^, ?/ D" h8 H( W$ {7 L: ]
  1595. ; http://php.net/session.hash-bits-per-character
    ! v5 C- _) }3 ~) P
  1596. session.hash_bits_per_character = 59 h+ o# T2 h9 A7 W2 K2 s5 w( W

  1597. # i* w) @; b" T; S
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags., w5 `) u8 b0 o+ R: @# n/ c( \
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    1 \2 V& z  J4 l, q
  1600. ; add a hidden <input> field with the info which is otherwise appended! Z9 _3 }  x: ~: o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    4 L$ p% X. c8 q5 Q% t$ e: _3 X
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ( P- j. R5 h+ e0 p
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="  t2 A7 H4 Q  U0 m  I" G) q
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( t0 N8 J1 C5 Y( ^
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 O: U$ O  c: N8 ]7 W2 B
  1606. ; http://php.net/url-rewriter.tags
    # L+ N' G. J- i" t
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( ^, l5 A2 Z- P0 [$ @

  1608. 0 S. f  O' @8 ]: o
  1609. ; Enable upload progress tracking in $_SESSION
    " @8 d, @! W, z+ K4 N6 x
  1610. ; Default Value: On
    3 \1 S) R7 M) G* f8 Z. k2 t  t
  1611. ; Development Value: On
    ; U+ T: M$ u* h5 L* S1 P
  1612. ; Production Value: On
    * A. |2 H. \0 J3 [: t/ o
  1613. ; http://php.net/session.upload-progress.enabled) F& R5 V2 t& s
  1614. ;session.upload_progress.enabled = On
    & S/ t! t2 v7 C- }6 ~
  1615. # S$ F( m- Y8 c5 G& H' d
  1616. ; Cleanup the progress information as soon as all POST data has been read
    , F6 E8 s0 u! v. f2 L3 g& W  f
  1617. ; (i.e. upload completed).
    - x& g' a5 X1 V' T9 F7 _
  1618. ; Default Value: On
    $ J6 Z: U- i& [; ?8 @* Y1 ~
  1619. ; Development Value: On
    / P+ d% o3 T, E! m1 m
  1620. ; Production Value: On
    9 F7 K0 [: |% j3 h. p- \
  1621. ; http://php.net/session.upload-progress.cleanup
    - N3 W8 }" x) c: F" z
  1622. ;session.upload_progress.cleanup = On
    6 V( |3 W: n" \9 z3 d
  1623. . v$ D; j4 B2 N& N* l" t
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 i9 [& w, t3 i3 I. T, v; @0 ?
  1625. ; Default Value: "upload_progress_"
    ; \2 B' ~+ `( T
  1626. ; Development Value: "upload_progress_"
    7 k) ]3 b: H7 R. f
  1627. ; Production Value: "upload_progress_"
    : g9 _6 Q$ [9 I8 i$ o  W( k
  1628. ; http://php.net/session.upload-progress.prefix# K) V  H+ @9 A) ^6 s
  1629. ;session.upload_progress.prefix = "upload_progress_"
    . F7 c9 a3 j* d2 I: v" n% K
  1630. ; b" }* A. {( @* ^
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    + X, \! h7 D: e2 D* X: I  T
  1632. ; containing the upload progress information3 h3 o# G1 w7 ~5 ^. s# D
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 K3 x) N! `5 g5 N9 E, B! J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / h% S) e3 p$ k7 L
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" F" T+ B/ F; k0 r/ r
  1636. ; http://php.net/session.upload-progress.name$ {8 [* L: ]* E  c( W& q9 R/ f4 |
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    . @* ~3 l) f8 u* _# j# q: O

  1638. 1 d. ]. y$ n5 s
  1639. ; How frequently the upload progress should be updated.: s4 ^' b; {  _
  1640. ; Given either in percentages (per-file), or in bytes
    $ B6 X- t0 L; t, v
  1641. ; Default Value: "1%"5 c3 `6 B) O, _: I8 ?' P
  1642. ; Development Value: "1%"9 v% J; s) x) l6 b9 s, Z4 D4 J* r
  1643. ; Production Value: "1%"
    8 f$ {6 ?% Y& t2 e2 _
  1644. ; http://php.net/session.upload-progress.freq! P* Z9 |% C" K) h
  1645. ;session.upload_progress.freq =  "1%"3 A; j: Q/ q* x2 h# K
  1646. 2 y- X/ N1 P3 {0 j* Q$ Y- O
  1647. ; The minimum delay between updates, in seconds
    " I, e. ~- ^" o: h0 z
  1648. ; Default Value: 1# Z0 h& u) M- d2 I! V) Z$ _. ^$ W
  1649. ; Development Value: 1* S3 M. n% `: V# j9 N! K
  1650. ; Production Value: 1
    # c7 j1 q- P0 R6 t
  1651. ; http://php.net/session.upload-progress.min-freq
    & J; Z! V& f+ o* ]
  1652. ;session.upload_progress.min_freq = "1"; y2 H9 b8 K' L/ O

  1653. , u& W5 }5 m! [0 f% |& `$ |
  1654. [MSSQL]# n* _5 q1 X, V; P2 q; a
  1655. ; Allow or prevent persistent links.
    $ i* K" X+ G! G2 Z4 t; P4 d0 U
  1656. mssql.allow_persistent = On1 V( |# }5 o* Q9 r& x% |8 N
  1657. . l9 I7 L( i6 i, K6 S; G! C- R5 z
  1658. ; Maximum number of persistent links.  -1 means no limit.
    6 V8 }# T. z. A; m( j" {
  1659. mssql.max_persistent = -17 @  a5 l! ~0 T+ \
  1660. # {1 t! `) B$ p7 K1 j, q8 f
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% q) S/ p$ ~8 m7 a) r+ o
  1662. mssql.max_links = -1
    & c) j2 F2 W. ?+ `6 y2 ^& R# i
  1663. 4 r+ [. C5 H# S5 `+ [+ c
  1664. ; Minimum error severity to display.  S. l& Q- b2 [  q) S& w$ X9 _5 v
  1665. mssql.min_error_severity = 100 t- m! i3 N& L( X: ?
  1666. / Z1 j2 @9 S& `% P- C6 j& v9 y
  1667. ; Minimum message severity to display.
    8 q; ^! p$ t& O1 V  g" j
  1668. mssql.min_message_severity = 10# J1 [' B! l6 }: ^; H5 N3 w
  1669. " }7 G) O( b; ~. w& T
  1670. ; Compatibility mode with old versions of PHP 3.0.1 j7 l! {2 s5 b. M' I5 Z
  1671. mssql.compatibility_mode = Off
    # p3 L7 M) p7 N% b+ S; H& ^
  1672. ) z3 _4 d6 q2 L* h
  1673. ; Connect timeout
    6 q; o. ?6 n1 P
  1674. ;mssql.connect_timeout = 5& E  n0 Z: }5 z5 o  B$ }: f
  1675. ' m. `0 u8 e& U" `* a
  1676. ; Query timeout
    1 y; Q2 j; ?3 b2 A' U# P- ^# }/ I: B$ @
  1677. ;mssql.timeout = 60
    : h' g! y0 G; O

  1678. ( ~7 B% c) l: X9 o. B+ U0 o* R
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    # d' v2 D$ T8 Z$ b- U
  1680. ;mssql.textlimit = 40964 V: w( H" {- W# d

  1681. ! c, ~# ]# \  T+ V$ |- X
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    # @) C7 x8 C/ b+ X4 N6 Z: Q6 M% P
  1683. ;mssql.textsize = 40968 V* f. Y/ M3 @/ O7 n0 q) ?  w  r' g

  1684. 6 R) [. f: ?! H2 [/ [  ^6 h6 Z
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    3 m- Y4 B$ M  }$ b; Y8 n
  1686. ;mssql.batchsize = 0
    # g' K- z$ y" V, b# h0 a

  1687. " t% G% U( ]1 ?0 _9 @  L) b" {0 G
  1688. ; Specify how datetime and datetim4 columns are returned
    " u+ W9 d- I! ]( ], q' u( m: C
  1689. ; On => Returns data converted to SQL server settings
    2 H; G+ e$ }7 }$ K9 G! o
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss8 ~3 V8 j& G; i9 [1 T* O. G
  1691. ;mssql.datetimeconvert = On9 _2 G+ Q* Y+ S# E

  1692. ; \3 ~5 A( Y$ @: A- e$ o6 Q/ a
  1693. ; Use NT authentication when connecting to the server  p9 |% N; E; N/ Q
  1694. mssql.secure_connection = Off. {3 J; ^5 b" u& A! f

  1695. ( P: w% A$ |- Y8 q1 Y; N
  1696. ; Specify max number of processes. -1 = library default
    ' S0 A# ]7 E9 `3 c4 `. B* C+ v4 z
  1697. ; msdlib defaults to 25: y! @% v( o9 O2 L9 G
  1698. ; FreeTDS defaults to 4096
    - D* Z" f1 n* x' K" U& Z/ M! ^
  1699. ;mssql.max_procs = -1
    2 [' P. [" I  h) A6 ^) u

  1700. ' M) ?" U4 I5 @0 u' {* P2 e
  1701. ; Specify client character set.
    : C. z+ e/ X3 |+ j* O% j- A" T
  1702. ; If empty or not set the client charset from freetds.conf is used: F5 o1 E6 V  P+ d1 r0 H
  1703. ; This is only used when compiled with FreeTDS
    & |/ O% q; G( Z+ h/ l$ p% p
  1704. ;mssql.charset = "ISO-8859-1"" a6 C; T6 l! c( e

  1705. + x- A- `3 p7 ^* R: V$ a( {/ q6 v. c
  1706. [Assertion]: T& `" m4 |$ l: a& e& S+ ~
  1707. ; Assert(expr); active by default.
    & L, i( e6 l( }
  1708. ; http://php.net/assert.active
    ( ^: L, b! n+ e$ o$ @* j- K7 ^8 S
  1709. ;assert.active = On* u* d6 N- [. c$ x

  1710. 6 e+ n; c5 h* [; [# \" R4 h
  1711. ; Issue a PHP warning for each failed assertion./ m) m5 L! W9 E$ }8 L" g% p
  1712. ; http://php.net/assert.warning. Y. U$ f# S7 P# P
  1713. ;assert.warning = On9 R% k0 M! q3 v, X1 t
  1714. + W9 ?# G3 Y8 H
  1715. ; Don't bail out by default.* O$ }9 k0 S5 E/ ]& o0 g" U
  1716. ; http://php.net/assert.bail+ D5 E0 T5 E4 t! ?- A- ~
  1717. ;assert.bail = Off
    , ^% V/ U) p, j, x; ]% Z( N
  1718. & w+ e) _6 }; j: J; J3 p- h
  1719. ; User-function to be called if an assertion fails.+ F* D. D# l) s1 z' Y
  1720. ; http://php.net/assert.callback# t$ z& @& v1 e- G
  1721. ;assert.callback = 0
    7 G0 X* C7 V! ^

  1722. 7 n# T) _1 K0 C6 \( G
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ; O' u' n4 K8 X
  1724. ; error_reporting(0) around the eval().
    4 U$ Q' l' M* E: r6 L% \
  1725. ; http://php.net/assert.quiet-eval
    . S; O; e  k* x8 @& Z
  1726. ;assert.quiet_eval = 00 s' A( F1 m- P; o, m( W3 P

  1727. * q6 C+ D3 @2 i
  1728. [COM]+ F6 b6 e. ^& P% h2 c2 E) G
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( R7 v$ h/ C9 ~' C
  1730. ; http://php.net/com.typelib-file
    : h) W$ i2 o0 _0 v4 i( o8 O  y8 `4 I3 P4 P
  1731. ;com.typelib_file =
    * w8 n8 u2 S" A: L0 P# G

  1732. ) R2 g8 V' T" _+ j
  1733. ; allow Distributed-COM calls. h% c: V, s) x6 }) |( N+ w' Q
  1734. ; http://php.net/com.allow-dcom; B9 ^! r5 U+ G% r- |0 r
  1735. ;com.allow_dcom = true
    3 \7 _. Z  e6 W( d, v
  1736. . ^: r1 \: l$ `3 W( i
  1737. ; autoregister constants of a components typlib on com_load()  l9 Y) m5 U7 x. {& j9 z
  1738. ; http://php.net/com.autoregister-typelib8 W( C* o) r6 u1 N0 O
  1739. ;com.autoregister_typelib = true9 z2 d" u) `! B" D3 [
  1740. 8 E  a1 t$ e4 u. g' A8 H0 k
  1741. ; register constants casesensitive
    ; D8 W4 D7 b8 r
  1742. ; http://php.net/com.autoregister-casesensitive
    ' V% }4 X$ y+ C* ^6 G4 y" S8 t% z
  1743. ;com.autoregister_casesensitive = false( K- K6 I: Q0 z3 J0 s0 j
  1744. , h5 f  A" m2 _% h1 k
  1745. ; show warnings on duplicate constant registrations
    ' \& f* n* {8 g* t" h. v( ^' h7 b
  1746. ; http://php.net/com.autoregister-verbose
    4 `7 t9 \# z8 {. `& y
  1747. ;com.autoregister_verbose = true
    * q  O, W4 {" s1 A) d. r

  1748. ; Q0 C- d$ f0 G- I1 X# l/ `
  1749. ; The default character set code-page to use when passing strings to and from COM objects.. a/ o) s  C  r* f8 r( W, ~
  1750. ; Default: system ANSI code page) Z+ ?6 l! [. G  I
  1751. ;com.code_page=6 k5 g0 `2 E& ]" z* _# o$ `  @

  1752. / n5 k5 Y. ~+ ?( q' o8 C* y0 k* B
  1753. [mbstring]
    2 w2 w* f3 e8 B: c, p2 a: d5 v/ J
  1754. ; language for internal character representation.
    6 ?8 F7 e& N/ K) y- s
  1755. ; This affects mb_send_mail() and mbstrig.detect_order., |+ f6 M4 u! `; L: g
  1756. ; http://php.net/mbstring.language- Z# g" S5 O* c; Q. |8 k  x8 z) @! s
  1757. ;mbstring.language = Japanese
    / ?; p6 W: N- A  `1 q
  1758. ! r1 M! g1 o7 w( C; f3 `( K3 B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.7 Y0 k. M6 @+ S8 x" h* T9 J
  1760. ; internal/script encoding./ s1 K' G1 z* ?/ Y# D, @8 Q* Q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); G3 j/ T9 u$ I1 I
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    9 L! t0 Z' b5 O8 c9 }+ r& I) m
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; G1 {, t0 l$ T
  1764. ;mbstring.internal_encoding =
    0 O5 n  K. p( a2 h/ O1 o2 C2 F

  1765. . T, W) {. I6 P6 j& k
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.( |4 w4 u, ]0 m# E
  1767. ; http input encoding.
    9 m1 q1 s$ E7 E, b& g- ~
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.* k. d* ^% v5 Z$ Y- F
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    1 L) U; k! [, n$ Z- V( n
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. N' N( s" e7 O, E4 d% b. V1 \# c* P8 n
  1771. ; http://php.net/mbstring.http-input
    4 ~. P% m4 o+ F4 M. m1 o1 Q
  1772. ;mbstring.http_input =
    4 e, H' z% f/ r
  1773. / p2 J' y9 D6 u% A% @6 ~# Z& u
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 b9 v" {" @$ v+ n! Z( I: ?! X$ |/ C
  1775. ; http output encoding.# B( T* ^. O0 b( Q+ R+ l3 I
  1776. ; mb_output_handler must be registered as output buffer to function.
    4 [$ m: S1 B* {# |$ c
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    2 a( ?: v7 }4 i: L2 }
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 i2 `' w; s. {% y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set) S2 _& M( I6 X1 {
  1780. ; otherwise output encoding conversion cannot be performed.
    4 |0 n3 _0 C0 X) w) T& |; i# ^
  1781. ; http://php.net/mbstring.http-output
    / V, I: X2 d! L3 n4 r! r
  1782. ;mbstring.http_output =% p% R! ^$ ]% D& o7 l0 W8 X

  1783. - T, ?% B/ b8 I5 |3 p  G0 l
  1784. ; enable automatic encoding translation according to$ a; n" E# X% q& \: h* `
  1785. ; mbstring.internal_encoding setting. Input chars are
    , G# y% W1 W! I/ L0 T; V- m- ]
  1786. ; converted to internal encoding by setting this to On.8 }8 U" I9 W, O5 ~
  1787. ; Note: Do _not_ use automatic encoding translation for& }; i, T; V, _& w
  1788. ;       portable libs/applications.* M! z$ X4 b5 G
  1789. ; http://php.net/mbstring.encoding-translation
    2 q: E& k4 ?6 M' i& p2 R% n3 J" K
  1790. ;mbstring.encoding_translation = Off: A( w2 C+ @, W/ k5 D

  1791. . C4 I; E' N: h; f1 w! k6 z
  1792. ; automatic encoding detection order.6 s5 O2 z* C5 d; k# L6 v
  1793. ; "auto" detect order is changed according to mbstring.language
    6 V. q! t8 r$ l7 q
  1794. ; http://php.net/mbstring.detect-order
    + d+ T& ~; @9 Z( ?( j9 O
  1795. ;mbstring.detect_order = auto
    1 T* Q8 q4 N; D% Q/ U  _; Z  e- N

  1796. 7 H7 X( z1 e3 i# g
  1797. ; substitute_character used when character cannot be converted
    8 V7 j0 }! w" h$ S7 A
  1798. ; one from another) f- [9 ]! o! u7 c1 Q
  1799. ; http://php.net/mbstring.substitute-character+ ?5 B. E' c9 ~9 j6 O+ f; ?$ b0 c( g
  1800. ;mbstring.substitute_character = none. G0 U( s* a; P0 p# E: Y  \# l4 g

  1801. 4 ]; [) E7 {  P9 o( e1 J4 ?
  1802. ; overload(replace) single byte functions by mbstring functions.
    ; z8 U, |; z8 m. t
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* r9 D5 [4 g: J( z% W! ]! W" n
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 o3 d% i/ q- z; g3 B5 [
  1805. ; For example, 7 for overload everything.- }; G  p1 I; g6 G; a5 n
  1806. ; 0: No overload  T2 U' \/ k- j* t
  1807. ; 1: Overload mail() function$ |' B# u: [3 _9 {$ c4 C
  1808. ; 2: Overload str*() functions' \# i$ W- `* w
  1809. ; 4: Overload ereg*() functions5 P) C; K) d( X3 p) @/ Z
  1810. ; http://php.net/mbstring.func-overload
    9 s' W9 ~1 `% Q# O1 z/ z# q1 N0 Q* G
  1811. ;mbstring.func_overload = 0) ]' A! d) N- ?- Q" I& ^+ {
  1812. . \; A% _$ b) {" f
  1813. ; enable strict encoding detection./ @+ D2 Z% t; H$ G- r
  1814. ; Default: Off
    6 T0 w8 s* H3 G6 C1 f% ]  _. S( J% J
  1815. ;mbstring.strict_detection = On0 W$ c; [, }4 m7 f2 |/ K
  1816. 2 {9 t: D/ E% w$ U* O6 D
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' {1 J# p6 o) y) M3 a
  1818. ; is activated.5 x. ~5 d: Y; P& N' p, O& T% u. O
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 V- F5 _' ]9 \  G
  1820. ;mbstring.http_output_conv_mimetype=. t5 X1 b' W( T' R$ P; H
  1821. % b; W8 R, G; y+ k( Z
  1822. [gd]. J9 t- C( L0 U! u
  1823. ; Tell the jpeg decode to ignore warnings and try to create# z$ p; {9 n+ s0 p
  1824. ; a gd image. The warning will then be displayed as notices
    / f8 d& l2 i; Q% o# @
  1825. ; disabled by default
    3 S6 s% o. H5 `& L- h- [  t
  1826. ; http://php.net/gd.jpeg-ignore-warning
    4 G$ K: a6 J! F' ]7 c' c- B! f
  1827. ;gd.jpeg_ignore_warning = 0
    1 ]! L: D; j/ u! |
  1828. ! X, _' \( l" f- @2 M, x+ O! s) z; X
  1829. [exif]
    ; {  z) |+ t; N6 \' p& [, L
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 Y3 D+ O' V  G
  1831. ; With mbstring support this will automatically be converted into the encoding# `( Y0 z; B. g/ _4 G" ]- p% v
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding0 m8 A0 ^6 a  W* @4 l- [0 h/ x
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & c) n5 ]( P. {8 P
  1834. ; intel byte order. A decode setting cannot be empty.5 I. c7 N% u# a+ t- N( k
  1835. ; http://php.net/exif.encode-unicode# g# T! H+ f6 E5 L: D2 q9 b7 ]
  1836. ;exif.encode_unicode = ISO-8859-15
    $ O# Q/ e# ^. x0 x. @7 q9 G

  1837. * `( d: r( G% u8 w& h+ z
  1838. ; http://php.net/exif.decode-unicode-motorola6 L; ]. w6 J8 o/ w
  1839. ;exif.decode_unicode_motorola = UCS-2BE- U% W% C! t( C: D* |, `+ N2 y

  1840. 9 C' X* Q& P5 W! H6 O/ ^
  1841. ; http://php.net/exif.decode-unicode-intel7 Q8 \1 a# Q. {2 p! n+ I1 n0 n" D
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    8 Z9 B% c: h6 j' y* X

  1843. 4 t5 d) k0 Y# J( r; n/ U0 z+ f
  1844. ; http://php.net/exif.encode-jis
    & ?% n5 q6 s$ P* C
  1845. ;exif.encode_jis =, s6 E5 y$ n# n2 ]+ c" n) ]4 g
  1846. 5 v! H6 p* J7 M
  1847. ; http://php.net/exif.decode-jis-motorola( `* }( K  ~( }  B: D8 S' q
  1848. ;exif.decode_jis_motorola = JIS7 s1 B! U/ A4 I9 q; o0 p( N
  1849. & B& J4 w8 W4 Z( |, @( Y5 d! N
  1850. ; http://php.net/exif.decode-jis-intel
    . Y" K- B! K" e5 p, R. y* W( c
  1851. ;exif.decode_jis_intel    = JIS
    * J% H# l) u! n% M. w2 H

  1852. * |) s& q4 h- I
  1853. [Tidy]
    - c2 ~) Q$ e  M3 @
  1854. ; The path to a default tidy configuration file to use when using tidy4 w/ Y2 V3 f+ I% R1 e* L! d  b
  1855. ; http://php.net/tidy.default-config/ T* o$ C' d* u- U
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 T: Z0 A8 V, Y4 c

  1857. . \- ^% }! Y! d
  1858. ; Should tidy clean and repair output automatically?& q( n1 o3 j' U' o# E
  1859. ; WARNING: Do not use this option if you are generating non-html content
    # `3 u8 H& R7 G( j3 o
  1860. ; such as dynamic images% g8 ^+ @8 a  u# K$ f2 y
  1861. ; http://php.net/tidy.clean-output
    6 J+ @9 I6 V8 M' i) H+ O: J2 `7 C
  1862. tidy.clean_output = Off
    9 h& S+ k3 r) B$ D

  1863. & E7 C, w: n: ]6 P* ~
  1864. [soap]# J: P- V' n6 U/ h+ \- x
  1865. ; Enables or disables WSDL caching feature.
    - D: W/ O) V7 R) t; V& f/ W& |  C
  1866. ; http://php.net/soap.wsdl-cache-enabled
    " C5 \/ `  M4 z1 o! a( @9 y
  1867. soap.wsdl_cache_enabled=1
    ' z# H. W" S2 b2 E) d

  1868. + P& S) y: J6 q& d: v, I5 B
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' E0 p7 ~" Q/ b. Y
  1870. ; http://php.net/soap.wsdl-cache-dir3 K% q: t. U* D: `# H/ B0 b
  1871. soap.wsdl_cache_dir="/tmp"
    , s/ b) B$ t5 r
  1872. ( W! e8 U$ ?/ m5 L, h
  1873. ; (time to live) Sets the number of second while cached file will be used- n/ g4 s1 g( p9 I1 w
  1874. ; instead of original one.0 e; V# s6 ^, O+ X0 y- i8 z. o
  1875. ; http://php.net/soap.wsdl-cache-ttl; Z9 L) V" g( u2 @% v6 a
  1876. soap.wsdl_cache_ttl=86400+ P5 P! s& G, v! E5 A  ~! h

  1877. 6 \$ c+ N6 k1 ~
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; h, n& L+ S% A7 A" K7 l
  1879. soap.wsdl_cache_limit = 5
    . H# [6 i. O  C, ~% q% X

  1880. ) R% ^/ j4 H- r% @
  1881. [sysvshm]2 k- `+ x0 W  h* r6 t
  1882. ; A default size of the shared memory segment
    3 y! D5 p! W1 v5 @( k3 c- ]
  1883. ;sysvshm.init_mem = 10000
    , ~7 `1 I. Q1 W- [

  1884. - b  ~* I0 a+ A( }+ F: x
  1885. [ldap]$ C. C! ?/ l% y& f
  1886. ; Sets the maximum number of open links or -1 for unlimited.  j4 Y" z% N6 d/ s# V: L. t
  1887. ldap.max_links = -1
    + r0 y3 E0 C4 H

  1888. " {8 \+ Z. X( R
  1889. [mcrypt]
    + }& a& v  }: Z  H, }1 W  C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 k% k! G2 i" t3 F$ u: g8 {; R
  1891. % [& l6 A+ o& W! \/ Y6 s7 j
  1892. ; Directory where to load mcrypt algorithms5 C4 p' C* `3 t4 n
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 ^2 r1 s# Q0 S& @7 [
  1894. ;mcrypt.algorithms_dir=
    * t, a. e, G0 W

  1895. 1 Y' }5 w* V9 \" a0 D/ [7 p
  1896. ; Directory where to load mcrypt modes; c) ?+ a3 {2 K1 D4 S7 d
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 K5 B$ k0 B, q! L" Y/ D
  1898. ;mcrypt.modes_dir=: ~9 S/ z/ ]( N
  1899. 4 T8 I) I6 I6 D2 ]- A
  1900. [dba]
    . g% i/ K& j( x$ r( [8 u
  1901. ;dba.default_handler=
    1 P4 p. X6 I9 v; Q
  1902. . [5 K2 M$ T( s4 z/ Q
  1903. [opcache]
    : B0 Z8 {- z3 J5 m- I
  1904. ; Determines if Zend OPCache is enabled
    4 [- U' j& Y% S: r% a5 Y8 S
  1905. ;opcache.enable=0: S! o; x: v1 u

  1906. " {0 n6 M# c- I& M
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP( _' p  g5 W( G! {! |/ T$ x
  1908. ;opcache.enable_cli=0
    5 R* Q( q8 F/ g/ b
  1909. : s+ f* |, N% g& r9 p
  1910. ; The OPcache shared memory storage size.0 }, g8 `3 o  b3 X# T& R6 N
  1911. ;opcache.memory_consumption=64
    % {3 T8 H( f0 \8 U/ n& c& ]
  1912. $ |+ t* e' x. S4 \3 `' p! F
  1913. ; The amount of memory for interned strings in Mbytes.
    1 Q* k/ W5 B4 ^$ d
  1914. ;opcache.interned_strings_buffer=4
    ) N! o% f% s* C  @% G- v

  1915. & x$ B& C$ a# d0 u
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.4 Q7 l. O; l; m% N+ d: U
  1917. ; Only numbers between 200 and 100000 are allowed.6 D1 \& y% @, w7 q; l
  1918. ;opcache.max_accelerated_files=2000* q) T. E1 C% x9 p: C

  1919. ( z5 \0 O9 J9 p
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    3 m0 x- a( L0 _
  1921. ;opcache.max_wasted_percentage=5
    / _9 f$ K% P1 p
  1922. 1 g5 w4 l8 K; \/ m
  1923. ; When this directive is enabled, the OPcache appends the current working
    " Q& \  t2 V: X9 X$ y. C2 @
  1924. ; directory to the script key, thus eliminating possible collisions between
    1 m& F3 B1 Y5 V+ C+ J* _
  1925. ; files with the same name (basename). Disabling the directive improves4 C0 V  r. ^3 g
  1926. ; performance, but may break existing applications.% ]# [; m" `8 Y- P* M( C$ {+ R
  1927. ;opcache.use_cwd=1: k1 b4 }, t: ^9 B$ s& `# {" P' O: c
  1928. 2 j: d* }, J, W# J
  1929. ; When disabled, you must reset the OPcache manually or restart the
    5 f/ a; h$ P, G" n, W- q* G6 a' m
  1930. ; webserver for changes to the filesystem to take effect.* J0 ^+ ~# h) Z3 }2 w
  1931. ;opcache.validate_timestamps=1; ~1 w  H) o2 {1 U! i0 r1 R
  1932. , F1 Z7 w, f/ `
  1933. ; How often (in seconds) to check file timestamps for changes to the shared* g( d% Q7 t  t& Y4 W  q
  1934. ; memory storage allocation. ("1" means validate once per second, but only, F" s3 @. O6 D$ ?
  1935. ; once per request. "0" means always validate)# a4 a  x% [4 o9 `2 R$ s
  1936. ;opcache.revalidate_freq=2
    - Q4 Q: b" z, Z/ H

  1937. & c1 b1 o4 O+ |
  1938. ; Enables or disables file search in include_path optimization
    5 K* n' ~3 d" W& V9 Y$ k
  1939. ;opcache.revalidate_path=0/ g/ u9 c$ g$ ]1 s0 W# j* U: M

  1940. $ j# F, L4 H% _& I$ z
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    2 F& |# d& ]8 V' G' t8 T# a
  1942. ; size of the optimized code.
    / Q) L( n4 ^) d& h  |$ m6 A, a
  1943. ;opcache.save_comments=1
    6 D& a6 t: o' m/ u7 ~

  1944. / d6 {* y7 t  I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    : ~! w$ f( X% [/ k2 \$ P% X
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ) ]3 V  t2 Y% c
  1947. ; that don't need them anyway.
    7 u1 x; i6 g" J! E) f' t+ n
  1948. ;opcache.load_comments=19 ?3 T! F: n/ |

  1949. : V: }+ W. P7 W) t1 p
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code! t1 C2 X7 _0 M8 f
  1951. ;opcache.fast_shutdown=0
    ! H9 u% G! [; o! w8 Q/ y/ k

  1952. # {2 Z  D/ r6 a' S# Q; \  C
  1953. ; Allow file existence override (file_exists, etc.) performance feature./ s  ]7 ^( S5 {5 K/ P7 J. S! ~* o
  1954. ;opcache.enable_file_override=0( e+ V/ J( q4 O2 j- g
  1955. 4 {7 `" C7 {2 ~' @9 H* z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache4 y. l$ l" y* M( d
  1957. ; passes
    . s$ V4 ]  I3 j8 M+ c: F" C
  1958. ;opcache.optimization_level=0xffffffff
    ' }: R" s. s# U: O; j7 I' j0 ]
  1959. . X& u( F( }5 \& Q
  1960. ;opcache.inherited_hack=16 w8 h; g, z9 k0 a* Y8 W5 [
  1961. ;opcache.dups_fix=0$ f3 _  O4 S: e) H4 b5 L

  1962. ; v0 Y; m$ Q8 X
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    5 B# {* M+ I8 K' X* ~
  1964. ; Each OPcache blacklist file is a text file that holds the names of files- b$ \+ ]5 H2 c2 |
  1965. ; that should not be accelerated. The file format is to add each filename
    9 @7 e4 H0 z6 u+ p7 K* {
  1966. ; to a new line. The filename may be a full path or just a file prefix
    3 Q; d% ^/ ]# [" B3 z* Q0 {- V+ o
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  }" v1 G5 M3 n$ J3 X: z6 l/ p" u
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ p. `: x7 W8 {8 t! |3 H+ J$ y
  1969. ;opcache.blacklist_filename=9 v1 H; S# |4 ?% {

  1970. ; ~% B( o9 E& J
  1971. ; Allows exclusion of large files from being cached. By default all files$ T  Z6 ~* t' U8 a* x  _1 M
  1972. ; are cached.
    $ F+ c7 O8 L3 W' _5 T
  1973. ;opcache.max_file_size=0
    4 A  E% N- U5 F; m' E

  1974. . i/ Z% R* O" W! K
  1975. ; Check the cache checksum each N requests." c4 {: L8 |- Y5 l8 T- @
  1976. ; The default value of "0" means that the checks are disabled.
    3 w! I- D- G* O. G  L, [! _4 l
  1977. ;opcache.consistency_checks=0; H: t& R' v7 v7 {1 n/ l0 e

  1978. $ y! q; M7 x1 [/ W$ u9 d
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + o2 \; _  c: k9 h. h. J0 I
  1980. ; is not being accessed.
    7 e# P. P) }1 v
  1981. ;opcache.force_restart_timeout=1802 n2 f  P; e% ~7 V- T

  1982. 6 k0 Z: f3 {; S: {3 A) L5 S
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    9 Q: ~, _; e$ `& Q; U2 L1 e  o
  1984. ;opcache.error_log=% E8 q5 f, f, Y5 [; `! q3 ^+ J

  1985. 7 k5 r5 x- Y3 Z5 ]# G
  1986. ; All OPcache errors go to the Web server log." Q0 U0 I3 O3 B* T
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 K" Z& ^8 r( W$ [" o0 ?6 @( h% V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    . y6 ]! x( W2 z, ~. f& F, \  O
  1989. ; debug messages (level 4)." s/ a" e& R& ^+ d: x# a+ N% S
  1990. ;opcache.log_verbosity_level=1& K; s/ a" g4 S, @- ~
  1991. 4 N9 U) t; e$ h8 ]# ?+ Y: c! v- j' _
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 G6 R3 X) Y2 T: Q* r6 r. r
  1993. ;opcache.preferred_memory_model=
      z  m& p6 O0 g3 L/ z: X# ^% y
  1994. ! E9 U) C6 r( d
  1995. ; Protect the shared memory from unexpected writing during script execution.
    * J& h6 w( {3 @7 t$ _. W2 ?8 W
  1996. ; Useful for internal debugging only.1 I7 R$ P% J) l4 g" N
  1997. ;opcache.protect_memory=0% [1 E2 o: v) E% Z1 l  ?& }5 a
  1998. 2 E5 @5 C5 m, `4 @
  1999. ; Validate cached file permissions.
    ) o- k2 {) v4 \" _- T
  2000. ; opcache.validate_permission=0
    ; t& p( n7 A" M: i- M
  2001. 1 o' u7 ?3 I* b' K% y
  2002. ; Prevent name collisions in chroot'ed environment.
    * i$ l6 j" V0 n- n. {9 I$ K. T& o
  2003. ; opcache.validate_root=0
    4 m" B% M; B6 B5 F5 H, N

  2004. - x0 x5 r. y# N4 S, Z- F
  2005. [curl]6 e1 o2 T7 w5 d3 _8 y- a1 U- m
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    6 V! k. _' r* G
  2007. ; absolute path.
    9 ^, P7 _( d; N2 f0 Y
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      D) _5 O- l1 [2 b' [: @4 I
  2009. 5 [9 c: L! }) O" k% w7 W
  2010. [openssl]
    5 _: a! F& \: Q  z8 P& r
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    & S/ g. @" a9 ^9 L( b# |
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should, Z. ]9 j$ q5 B
  2013. ; not specify a value for this directive as PHP will attempt to use the2 P' D& n' m5 O. j/ Z1 ?
  2014. ; OS-managed cert stores in its absence. If specified, this value may still$ X! g4 `6 y" U$ W5 K3 H3 o
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . J1 u1 G1 o3 g! J
  2016. ; option.
    4 Y+ S9 r5 E+ ^% c' g9 _# o' p$ f5 r3 C
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt  f% d; g2 w& L* Q: D

  2018. 6 S! A( s- e# A/ ^9 W1 F4 t: ]2 E
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 v* ^9 g' f) w7 k  n
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ y1 d8 D& E+ u2 p
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ; J; b, T( C- [. p
  2022. ; Most users should not specify a value for this directive as PHP will* w; P+ m* H1 [+ x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ; D0 Z' c$ ]* T6 {% E+ U" v% ?" c, T
  2024. ; this value may still be overridden on a per-stream basis via the "capath"3 \* `7 L1 s4 d) _+ x
  2025. ; SSL stream context option.( G" i& G: q5 r2 b6 v! y9 m; k5 X
  2026. ;openssl.capath=6 Q" o# e: S% m, Y7 J
  2027. 0 M4 M6 d& W( @+ W/ ^
  2028. ; Local Variables:+ g: L% x+ w  ]8 E4 A
  2029. ; tab-width: 4
    + F0 ^  ^- E/ C% Z1 S, s5 B- C/ O8 s2 X
  2030. ; End:' j8 d' r- J" v( J; |! p) ?5 b9 g

  2031. ' C) k. o; M: U* d
  2032. ;eaccelerator% j# V! f' S4 w4 j0 y0 R2 t

  2033. 7 i# m; l' ~# O& d; V
  2034. ;ionCube
    $ q* M0 p0 P4 h% F$ J# t( U* ], ]  _; T
  2035. # B1 h+ ~0 f% m. e% n: D
  2036. ;opcache
    1 M0 m$ C6 O' [$ Q3 ~6 }; B& l; x

  2037. ( L- C; `; Y! t  W/ b5 s; r# d
  2038. [Zend ZendGuard Loader]
    2 v6 A- k8 }7 {* o( {& s
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so, ^* B+ ~* ?3 D% `# P; `& r
  2040. zend_loader.enable=1
    5 E6 K. G3 Z0 J. c
  2041. zend_loader.disable_licensing=0$ M0 R  N: ~" Z* y/ I7 i6 ?+ ~/ M
  2042. zend_loader.obfuscation_level_support=3
    7 ?2 p8 X* d; A0 z( v# F# ]4 S
  2043. zend_loader.license_path=* p* d3 n% I  l0 w5 V; z

  2044. 5 {" ?3 T) f5 u( e
  2045. ;xcache
    . a) V& L5 ^! f; \, J

  2046. 5 v) |; _' [7 N9 l
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
6 J/ E3 }) i' u) u1 f# a
& @$ h; \5 Y4 R/ Q$ ]5 |" t' a& R% F) c$ d2 @2 K& k
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,6 Z2 s# O7 V$ J

* d! j1 I& R& v4 eDiscuz!程序版本选择:
. ]0 l9 l2 E  I- ^- m- \. d站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,! i! {2 I1 X9 Q9 U! Q3 @
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ D1 f" N0 `; Q3 k; L- y' [
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。/ s7 U* e: m' m8 ?; r4 {5 e) G
5 p1 t' |) T5 U
Discuz!插件模板版本选择:
& b1 ~& [8 s" a0 x很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,8 E, b3 r( j/ b) h- F
针对这个问题做个统一的普及:
( ^) L7 E4 ]3 c0 CX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ O$ u! l, H; b3 a! @
( q) _0 h9 d) C+ J+ c4 f; G所以* x( C  _; g! S  f
适合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的二级域名。8 a6 W. X+ J. `  }+ s7 `& g9 v9 k
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
* c0 a/ b6 t* K; _5 r( i* G8 S注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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