mongo连接php驱动,mongo-php-driver

MongoDB PHP Driver

7dd39875b9a1a4a530b935b7a0d96e16.png

gbd3t99ucib5n8sf?svg=true

badge.svg?branch=master

This extension is developed atop the

libmongoc and

libbson libraries. It provides a minimal

API for core driver functionality: commands, queries, writes, connection

management, and BSON serialization.

Userland PHP libraries that depend on this extension may provide higher level

APIs, such as query builders, individual command helper methods, and GridFS.

Application developers should consider using this extension in conjunction with

the MongoDB PHP library, which

implements the same higher level APIs found in MongoDB drivers for other

languages (as well as the

legacy PHP driver).

Documentation

Installation

To build and install the driver:

$ pecl install mongodb

$ echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

Additional installation instructions may be found in the

PHP.net documentation.

This extension is intended to be used alongside the

MongoDB PHP Library, which is

distributed as the

mongodb/mongodb package for

for Composer.

Reporting Issues

Issues pertaining to the extension should be reported in the

PHPC

project in MongoDB's JIRA. Library-related issues should be reported in the

PHPLIB

project.

For general questions and support requests, please use one of MongoDB's

Technical Support channels.

Security Vulnerabilities

If you've identified a security vulnerability in a driver or any other MongoDB

project, please report it according to the instructions in

Create a Vulnerability Report.

Development

Development is tracked in the

PHPC project in MongoDB's

JIRA. Documentation for contributing to this project may be found in

CONTRIBUTING.md.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值