1.2.3
The PHP team is happy to announce that version 1.2.3 of our new mongodb PHP extension is now available on PECL.
Release Highlights
On Windows platforms, the system CA store is now opened with a read-only flag. This resolves an issue for some Windows users where the driver was unable to properly verify the server's SSL certificate due to operating system permissions.
This release improves error reporting when the required JSON extension is missing. This should avoid the cryptic "undefined symbol" errors that users on some platforms (e.g. Debian, Red Hat) were encountering since the 1.2.0 release.
Several bug fixes for BSON encoding and decoding have been implemented, which enhance the driver's compliance with the BSON corpus specification test suite. Of note, PHPC-883 changes how BSON arrays types are decoded by disregarding each element's string keys and appending the elements to a PHP array in sequence. This ensure that the driver produces a packed PHP array (i.e. keys start at 0
and continue in sequence without gaps). Most users should not be affected by this change, as well-formed BSON uses sequential, numeric strings for such string keys.
Lastly, phpinfo()
output has been improved and will now show details about the SSL and SASL libraries in use.
This release upgrades our libbson and libmongoc dependencies to 1.5.3.
A complete list of resolved issues in this release may be found at:
https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12484&version=17830
Documentation
Documentation is available on PHP.net:
http://php.net/set.mongodb
Feedback
We would appreciate any feedback you might have on the project:
https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12484&issuetype=6
Installation
You can either download and install the source manually, or you can install the extension with:
pecl install mongodb
or update with:
pecl upgrade mongodb
Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb