mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix links to libmongoc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341773 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ef5f4c4230
commit
0a74d16a98
3 changed files with 10 additions and 10 deletions
|
@ -143,7 +143,7 @@
|
|||
|
||||
<para>
|
||||
All versions of the driver since 1.2.0 persist the
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> client object in
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> client object in
|
||||
the PHP worker process, which allows it to re-use database connections,
|
||||
authentication states, <emphasis>and</emphasis> topology information across
|
||||
multiple requests.
|
||||
|
@ -153,7 +153,7 @@
|
|||
When <methodname>MongoDB\Driver\Manager::__construct</methodname> is
|
||||
invoked, a hash is created from its arguments (i.e. URI string and array
|
||||
options). The driver will attempt to find a previously persisted
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> client object for
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> client object for
|
||||
that hash. If an existing client cannot be found for the hash, a new client
|
||||
will be created (and persisted for future use).
|
||||
</para>
|
||||
|
@ -192,7 +192,7 @@ foreach ($managers as $manager) {
|
|||
|
||||
<para>
|
||||
The first two Manager objects will share the same
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> client since
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> client since
|
||||
their constructor arguments are identical. The third and fourth objects will
|
||||
each use their own client. In total, three clients will be created and the
|
||||
PHP worker executing this script will open two connections to
|
||||
|
@ -218,7 +218,7 @@ foreach ($managers as $manager) {
|
|||
<para>
|
||||
Versions of the PHP driver before 1.2.0 utilize PHP's Streams API for
|
||||
database connections, using an API within
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> to designate
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> to designate
|
||||
custom handlers for socket communication; however, a new libmongoc client is
|
||||
created for each <classname>MongoDB\Driver\Manager</classname>. As a result,
|
||||
the driver persists individual database connections but not authentication
|
||||
|
@ -257,7 +257,7 @@ foreach ($managers as $manager) {
|
|||
<para>
|
||||
Versions of the HHVM driver before 1.2.0 do not persist sockets,
|
||||
authentication state, or topology information. Socket communication uses
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> entirely.
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> entirely.
|
||||
</para>
|
||||
</section>
|
||||
</article>
|
||||
|
|
|
@ -26,8 +26,8 @@ $ sudo pecl install mongodb
|
|||
<simpara>
|
||||
Installing the driver via PECL will use bundled versions of
|
||||
<link xlink:href="&url.mongodb.libbson;">libbson</link> and
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> and rely on PHP to
|
||||
find OpenSSL (i.e. <literal>PHP_SETUP_OPENSSL</literal>). If the build
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> and rely on PHP
|
||||
to find OpenSSL (i.e. <literal>PHP_SETUP_OPENSSL</literal>). If the build
|
||||
process fails to find OpenSSL, check that the OpenSSL development package
|
||||
(e.g. <literal>libssl-dev</literal>) and
|
||||
<link xlink:href="&url.mongodb.wiki.pkg-config;">pkg-config</link> are both
|
||||
|
@ -117,8 +117,8 @@ $ sudo make install
|
|||
<simpara>
|
||||
By default, the driver will use bundled versions of
|
||||
<link xlink:href="&url.mongodb.libbson;">libbson</link> and
|
||||
<link xlink:href="&url.mongodb.libbson;">libmongoc</link> and rely on PHP to
|
||||
find OpenSSL (i.e. <literal>PHP_SETUP_OPENSSL</literal>). If the build
|
||||
<link xlink:href="&url.mongodb.libmongoc;">libmongoc</link> and rely on PHP
|
||||
to find OpenSSL (i.e. <literal>PHP_SETUP_OPENSSL</literal>). If the build
|
||||
process fails to find OpenSSL, check that the OpenSSL development package
|
||||
(e.g. <literal>libssl-dev</literal>) and
|
||||
<link xlink:href="&url.mongodb.wiki.pkg-config;">pkg-config</link> are both
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</para>
|
||||
<para>
|
||||
The driver requires <link xlink:href="&url.mongodb.libbson;">libbson</link>
|
||||
and <link xlink:href="&url.mongodb.libbson;">libmongoc</link>, and will use
|
||||
and <link xlink:href="&url.mongodb.libmongoc;">libmongoc</link>, and will use
|
||||
bundled versions of both libraries by default.
|
||||
</para>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue