reference/dba/configure.xml
a0ae28d3bc85f927c22649ebd9a590b921534b7d
...
...
@@ -7,7 +7,7 @@
7
7
configuration option you can build a dynamic loadable module to enable PHP
8
8
for basic support of dbm-style databases. You also have to add support
9
9
for at least one of the following handlers by specifying the
10
-
<option role="configure">--with-XXXX</option> configure switch to your PHP
10
+
<option role="configure">--with-XXXX</option> or <option role="configure">--enable-XXXX</option> configure switch to your PHP
11
11
configure line.
12
12
</para>
13
13
<warning>
...
...
@@ -118,10 +118,7 @@
118
118
</note>
119
119
<note>
120
120
<para>
121
-
The db4 option was added in PHP 4.3.2. In earlier versions of PHP you need to use
122
-
<option role="configure">--with-db3=DIR</option> with DIR being the
123
-
path to db4 library. It is not possible to use db versions starting
124
-
from 4.1 with PHP prior to version 4.3.0. Also, the db libraries with
121
+
The db libraries with
125
122
versions 4.1 through 4.1.24 cannot be used in any PHP version.
126
123
</para>
127
124
<para>
...
...
@@ -140,7 +137,7 @@
140
137
<option role="configure">--with-cdb[=DIR]</option>.
141
138
<note>
142
139
<para>
143
-
Since PHP 4.3.0 you can omit DIR to use the bundled cdb library
140
+
You can omit DIR to use the bundled cdb library
144
141
that adds the cdb_make handler which allows creation of cdb files
145
142
and allows to access cdb files on the network using PHP's streams.
146
143
</para>
...
...
@@ -154,10 +151,12 @@
154
151
<entry>
155
152
<para>
156
153
To enable support for flatfile add
157
-
<option role="configure">--with-flatfile</option>.
154
+
<option role="configure">--enable-flatfile</option>.
155
+
Before PHP 5.2.1 the <option role="configure">--with-flatfile</option>
156
+
had to be used instead.
158
157
<note>
159
158
<para>
160
-
This was added in PHP 4.3.0 to add compatibility with deprecated
159
+
This was added to add compatibility with deprecated
161
160
<literal>dbm</literal> extension. Use this handler only
162
161
when you cannot install one of the libraries required by the other
163
162
handlers and when you cannot use bundled cdb handler.
...
...
@@ -172,10 +171,12 @@
172
171
<entry>
173
172
<para>
174
173
To enable support for <literal>inifile</literal> add
175
-
<option role="configure">--with-inifile</option>.
174
+
<option role="configure">--enable-inifile</option>.
175
+
Before PHP 5.2.1 the <option role="configure">--with-inifile</option>
176
+
had to be used instead.
176
177
<note>
177
178
<para>
178
-
This was added in PHP 5.0.0 and allows to read and set microsoft style
179
+
This was added to allow to read and set microsoft style
179
180
<filename>.ini</filename> files (like the &php.ini; file).
180
181
</para>
181
182
</note>
...
...
@@ -196,7 +197,7 @@
196
197
</note>
197
198
<note>
198
199
<para>
199
-
This was added in PHP 5.0.0. The qdbm library can be loaded from
200
+
The qdbm library can be downloaded from
200
201
<link xlink:href="&url.qdbm;"/>.
201
202
</para>
202
203
</note>
...
...
@@ -204,17 +205,41 @@
204
205
</entry>
205
206
</row>
206
207

208
+
<row>
209
+
<entry><literal>tcadb</literal></entry>
210
+
<entry>
211
+
<para>
212
+
To enable support for Tokyo Cabinet add
213
+
<option role="configure">--with-tcadb[=DIR]</option>.
214
+
<note>
215
+
<para>
216
+
The Tokyo Cabinet library can be downloaded from
217
+
<link xlink:href="&url.tcadb;"/>.
218
+
</para>
219
+
</note>
220
+
</para>
221
+
</entry>
222
+
</row>
223
+

224
+
<row>
225
+
<entry><literal>lmdb</literal></entry>
226
+
<entry>
227
+
<para>
228
+
To enable support for the Lightning Memory-Mapped Database add
229
+
<option role="configure">--with-lmdb[=DIR]</option>.
230
+
<note>
231
+
<para>
232
+
This was added in PHP 7.2.0. The Lightning Memory-Mapped Database
233
+
library can be downloaded from <link xlink:href="&url.lmdb;"/>.
234
+
</para>
235
+
</note>
236
+
</para>
237
+
</entry>
238
+
</row>
239
+

207
240
</tbody>
208
241
</tgroup>
209
242
</table>
210
-
<note>
211
-
<para>
212
-
Up to PHP 4.3.0 you are able to add both db2 and db3 handler but only one
213
-
of them can be used internally. That means that you cannot have both file
214
-
formats. Starting with PHP 5.0.0 there is a configuration check avoid such
215
-
misconfigurations.
216
-
</para>
217
-
</note>
218
243
</para>
219
244
</section>
220
245

221
246