The PHP team is happy to announce that version 1.11.0alpha1 of the mongodb PHP extension is now available on PECL.
This release makes the extension compatible with PHP 8.1.0RC1. This primarily adds support for the new custom object serialization mechanism introduced in PHP 7.4, which is now required with PHP 8.1 phasing out Serializable. Extensions classes that support serialization now implement
__unserialize() methods to support the new format, in addition to retaining support for the old format (i.e. Serializable interface).
This release upgrades our libbson and libmongoc dependencies to 1.19.0.
A complete list of resolved issues in this release may be found at: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12484&version=32025
You can either download and install the source manually, or you can install the extension with:
pecl install mongodb-1.11.0alpha1
or update with:
pecl upgrade mongodb-1.11.0alpha1
Windows binaries are available on PECL: