File: ini.xml

package info (click to toggle)
php-doc 20140201-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 74,084 kB
  • ctags: 4,040
  • sloc: xml: 998,137; php: 20,812; cpp: 500; sh: 177; makefile: 63; awk: 28
file content (232 lines) | stat: -rwxr-xr-x 7,853 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 330296 $ -->

<section xml:id="mysqlnd-ms.configuration" xmlns="http://docbook.org/ns/docbook">
 &reftitle.runtime;
 &extension.runtime;
 <para>
  <table>
   <title>Mysqlnd_ms &ConfigureOptions;</title>
   <tgroup cols="4">
    <thead>
     <row>
      <entry>&Name;</entry>
      <entry>&Default;</entry>
      <entry>&Changeable;</entry>
      <entry>&Changelog;</entry>
     </row>
    </thead>
    <tbody xml:id="mysqlnd-ms.configuration.list">
     <row>
      <entry><link linkend="ini.mysqlnd-ms.enable">mysqlnd_ms.enable</link></entry>
      <entry>0</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.force-config-usage">mysqlnd_ms.force_config_usage</link></entry>
      <entry>0</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.ini-file">mysqlnd_ms.ini_file</link></entry>
      <entry>""</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.config-file">mysqlnd_ms.config_file</link></entry>
      <entry>""</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.collect-statistics">mysqlnd_ms.collect_statistics</link></entry>
      <entry>0</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.multi-master">mysqlnd_ms.multi_master</link></entry>
      <entry>0</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysqlnd-ms.disable-rw-split">mysqlnd_ms.disable_rw_split</link></entry>
      <entry>0</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry><!-- leave empty, this will be filled by an automatic script --></entry>
     </row>
    </tbody>
   </tgroup>
  </table>
 </para>

 &ini.descriptions.title;

 <para>
  <variablelist>

   <varlistentry xml:id="ini.mysqlnd-ms.enable">
    <term>
     <parameter>mysqlnd_ms.enable</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Enables or disables the plugin. If disabled, the extension will not plug
      into
      <link linkend="book.mysqlnd">mysqlnd</link> to proxy internal
      <link linkend="book.mysqlnd">mysqlnd</link> C API calls.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.force-config-usage">
    <term>
     <parameter>mysqlnd_ms.force_config_usage</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      If enabled, the plugin checks if the host (server) parameters value of any
      MySQL connection attempt, matches a section name from the plugin configuration
      file. If not, the connection attempt is blocked.
     </para>
     <para>
      This setting is not only useful to restrict PHP to certain servers but also
      to debug configuration file problems. The configuration file validity is checked
      at two different stages. The first check is performed when PHP begins to
      handle a web request. At this point the plugin reads and decodes the configuration
      file. Errors thrown at this early stage in an extensions life cycle may not be
      shown properly to the user. Thus, the plugin buffers the errors, if any, and
      additionally displays them when establishing a connection to MySQL.
      By default a buffered startup error will emit an error of type
      <literal>E_WARNING</literal>.  If <literal>force_config_usage</literal> is set,
      the error type used is <literal>E_RECOVERABLE_ERROR</literal>.
     </para>
     <para>
      Please, see also <link linkend="mysqlnd-ms.plugin-ini-json.debug_config">configuration
      file debugging notes</link>.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.ini-file">
    <term>
     <parameter>mysqlnd_ms.ini_file</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      Plugin specific configuration file. This setting has been
      renamed to <literal>mysqlnd_ms.config_file</literal> in version 1.4.0.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.config-file">
    <term>
     <parameter>mysqlnd_ms.config_file</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      Plugin specific configuration file. This setting superseeds
      <literal>mysqlnd_ms.ini_file</literal> since 1.4.0.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.collect-statistics">
    <term>
     <parameter>mysqlnd_ms.collect_statistics</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Enables or disables the collection of statistics. The collection of
      statistics is disabled by default for performance reasons.
      Statistics are returned by the function
      <function>mysqlnd_ms_get_stats</function>.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.multi-master">
    <term>
     <parameter>mysqlnd_ms.multi_master</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Enables or disables support of MySQL multi master replication setups.
      Please, see also <link linkend="mysqlnd-ms.supportedclusters">supported clusters</link>.
     </para>
    </listitem>
   </varlistentry>

   <varlistentry xml:id="ini.mysqlnd-ms.disable-rw-split">
    <term>
     <parameter>mysqlnd_ms.disable_rw_split</parameter>
     <type>integer</type>
    </term>
    <listitem>
     <para>
      Enables or disables built-in read write splitting.
     </para>
     <para>
      Controls whether load balancing and lazy connection functionality can
      be used independently of read write splitting. If read write splitting
      is disabled, only servers from the master list will be used for
      statement execution. All configured slave servers will be ignored.
     </para>
     <para>
      The SQL hint <literal>MYSQLND_MS_USE_SLAVE</literal> will not be recognized.
      If found, the statement will be redirected to a master.
     </para>
     <para>
      Disabling read write splitting impacts the return value of
      <function>mysqlnd_ms_query_is_select</function>.
      The function will no longer propose query execution on slave servers.
     </para>
     <note>
      <title>Multiple master servers</title>
      <para>
       Setting <literal>mysqlnd_ms.multi_master=1</literal> allows the plugin
       to use multiple master servers, instead of only the first master server
       of the master list.
      </para>
      <para>
       Please, see also <link linkend="mysqlnd-ms.supportedclusters">supported clusters</link>.
      </para>
     </note>
    </listitem>
   </varlistentry>

  </variablelist>
 </para>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->