« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for libmongoc (0.001 sec.)
Connection handling and persistence | PHP 8.3 13778
Connection handling and persistence 注意 : On Unix platforms, the extension is sensitive to scripts that use the fork() system call without also calling exec(). Users are advised not to re-use MongoDB\Driver\Manager instances in a forked ch ... ess. Connection and topology persistence (PHP version since 1.2.0) All versions of the extension since 1.2.0 persist the » libmongoc client object in the PHP worker process, which allows it to re-use database connections, authentication states, and topolo ... reated from its arguments (i.e. URI string and array options). The extension will attempt to find a previously persisted » libmongoc client object for that hash. If an existing client cannot be found for the hash, a new client will be created and persiste ... Command ( 'test' , new MongoDB\Driver\Command ([ 'ping' => 1 ])); } ?> The first two Manager objects will share the same » libmongoc client since their constructor arguments are identical. The third and fourth objects will each use their own client. In to ...
https://man.mtool.work/php/8.3/mongodb.connection-handling.html
要件 | PHP 8.3 10718
要件 As of version 1.21.0, the extension requires PHP 8.1 or higher. Previous versions of the extension allow compatibility with older PHP versions. The extension requires » libbson and » libmongoc , and will use bundled versions of both li ... s by default. System libraries may also be used, as discussed in the manual installation documentation. The extension, via libmongoc, optionally depends on a TLS library (e.g. OpenSSL) and will use it if available. If the build process fails to find a TLS ...
https://man.mtool.work/php/8.3/mongodb.requirements.html
インストール手順 | PHP 8.3 9286
インストール手順 Installing the MongoDB PHP Extension with PIE 警告 PECL は非推奨です。 PHP Installer for Extensions ( PIE ) は PECL を置き換えるものです。 拡張モジュールのインストールには PIE を使うことを推奨します。 詳しい情報は、 » https ... odb-developer-flags="no"' mongodb By default, installing the extension via PECL will use bundled versions of » libbson , » libmongoc , and » libmongocrypt and attempt to automatically configure them. 注意 : If the build process fails to find an SSL librar ... ments (e.g. CLI, web) may use separate php.ini files. By default, the extension will use bundled versions of » libbson , » libmongoc , and » libmongocrypt and attempt to configure them automatically. If these libraries are already installed as system libr ... s an option to configure . For a complete list of configure options, run configure --help . When using bundled versions of libmongoc and libmongocrypt, the extension will also attempt to select an SSL library according to the --with-mongodb-ssl configure ...
https://man.mtool.work/php/8.3/mongodb.installation.html
The MongoDB\Driver\Monitoring\TopologyOpeningEvent class | PHP 8.3 8737
The MongoDB\Driver\Monitoring\TopologyOpeningEvent class (mongodb >=1.13.0) はじめに The MongoDB\Driver\Monitoring\TopologyOpeningEvent class encapsulates information about an opened topology. 注意 : Due to the driver's connection handling ... and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted » libmongoc client. クラス概要 final class MongoDB\Driver\Monitoring\TopologyOpeningEvent { /* プロパティ */ public readonly MongoDB\B ...
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-topologyopeningev...
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening — Notification method... 8560
MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening (mongodb >=1.13.0) MongoDB\Driver\Monitoring\SDAMSubscriber::topologyOpening — Notification method for opening the topology 説明 abstract public function MongoDB\Driver\Monitoring\SD ... andling and persistence behavior, this event may not be observed if a MongoDB\Driver\Manager uses a previously persisted » libmongoc client. パラメータ event ( MongoDB\Driver\Monitoring\TopologyOpeningEvent ) An event object encapsulating information abou ...
https://man.mtool.work/php/8.3/mongodb-driver-monitoring-sdamsubscriber.topology...
Architecture Overview | PHP 8.3 8560
Architecture Overview This article explains how all the different components of the PHP driver fit together, from base system libraries, through the extension, and to the PHP libraries on top. At the top of this stack sits a » PHP library , ... PHP extension, which is distributed through » PECL . The extension forms the glue between PHP and our system libraries ( » libmongoc , » libbson , and » libmongocrypt ). Its public API provides only the most essential functionality: Connection management ...
https://man.mtool.work/php/8.3/mongodb.overview.html
実行時設定 | PHP 8.3 8384
実行時設定 php.ini の設定により動作が変化します。 mongodb 設定オプション 名前 デフォルト 変更可能 変更履歴 mongodb.debug "" INI_ALL 以下に設定ディレクティブに関する 簡単な説明を示します。 mongodb.debug string This option can be used to enab ... le or disable trace-level debug logging in the extension (and libmongoc). Specify an empty string, "0" , "off" , "no" , or "false" to disable logging. Specify "stderr" or "stdout" to log to stde ...
https://man.mtool.work/php/8.3/mongodb.configuration.html
The MongoDB\Driver\Exception\RuntimeException class | PHP 8.3 8030
The MongoDB\Driver\Exception\RuntimeException class (mongodb >= 1.0.0) はじめに Thrown when the driver encounters a runtime error (e.g. internal error from » libmongoc ). クラス概要 class MongoDB\Driver\Exception\RuntimeException extends Ru ...
https://man.mtool.work/php/8.3/class.mongodb-driver-exception-runtimeexception.h...
The MongoDB\Driver\Monitoring\LogSubscriber interface | PHP 8.3 8030
The MongoDB\Driver\Monitoring\LogSubscriber interface (mongodb >=1.17.0) はじめに Classes implementing this interface may be registered as a subscriber and receive log messages from the extension. This is similar to stream-based debug loggi ... VEL_CRITICAL Critical log level. An error condition with slightly less severity. This constant exists for consistency with libmongoc; however, the extension is unlikely to use it in practice. MongoDB\Driver\Monitoring\LogSubscriber::LEVEL_WARNING Warning ...
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-logsubscriber.htm...
MongoDB\Driver\Manager::startSession — Start a new client session for use with ... 7853
MongoDB\Driver\Manager::startSession (mongodb >=1.4.0) MongoDB\Driver\Manager::startSession — Start a new client session for use with this client 説明 final public function MongoDB\Driver\Manager::startSession ( ? array $options = null ): M ... apshot" options are both true . Throws MongoDB\Driver\Exception\RuntimeException if the session could not be created (e.g. libmongoc does not support crypto). 変更履歴 バージョン 説明 PECL mongodb 1.11.0 The "snapshot" option was added. PECL mongodb 1.6.0 ...
https://man.mtool.work/php/8.3/mongodb-driver-manager.startsession.html
PREV 1 2 NEXT