To install:
phpize
./configure
make
sudo make install
Then add
extension=mongo.so
to your php.ini file.
- Download the latest zip file from https://s3.amazonaws.com/drivers.mongodb.org/php/index.html
- Extract the zip file
- Copy the DLL file that matches your PHP on Windows installation
- Add
extension=php_mongo-x.y.z-5.n-vc…dll
to your php.ini file
See the PHP manual.
For issues with, questions about, or feedback for the PHP driver, please look into our support channels. Please do not email any of the PHP driver developers directly with issues or questions—you're more likely to get an answer on the mongodb-user list on Google Groups.
Think you have found a bug? Want to see a new feature in the driver? Please open a case in our issue management tool, JIRA:
- Create an account and login (https://jira.mongodb.org).
- Navigate to the PHP project.
- Click Create Issue - Please provide as much information as possible about the issue type and how to reproduce it.
Bug reports in JIRA for all driver projects, as well as for the MongoDB server project, are public. Please do not add private information to bug reports.
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.
The tests are not available as part of the PECL package, but they are available on Github.
See CONTRIBUTING.md for how to run and create new tests.
Jon Moss
- Came up with the idea and implemented
MongoCursor
implementingIterator
Pierre-Alain Joye
- Helped build the Windows extension and has provided the VC6 builds
Cesar Rodas
- Created the
MongoCursor::info
method - Implemented GridFS read streaming
William Volkman
- Made connection code check & handle error status
Derick Rethans
- Implemented
MongoInt32
,MongoInt64
and related php.ini options.
Taneli Leppä
- Provided a patch for PHP-706 to swap out select() for poll().