Docs Menu
Docs Home
/ / /
PHP Library Manual

Compatibility

On this page

  • MongoDB Compatibility
  • Compatibility Table Legend
  • Language Compatibility
  • How to Get Help

The following compatibility table specifies the recommended version or versions of the MongoDB PHP Library and extension that you can use with a specific version of MongoDB.

The first column lists the version of the library and extension.

Important

MongoDB ensures compatibility between the MongoDB Server and the drivers for three years after the server version's end of life (EOL) date. To learn more about the MongoDB release and EOL dates, see MongoDB Software Lifecycle Schedules.

Icon
Explanation
All features are supported.
The Driver version will work with the MongoDB version, but not all new MongoDB features are supported.
No mark
The Driver version is not tested with the MongoDB version.
PHP Driver Versions
MongoDB 8.0
MongoDB 7.0
MongoDB 6.0
MongoDB 5.0
MongoDB 4.4
MongoDB 4.2
MongoDB 4.0
MongoDB 3.6
ext + lib 1.20
ext + lib 1.16 to 1.19
ext + lib 1.15

For more information on how to read the compatibility tables, see our guide on MongoDB Compatibility Tables.

The following compatibility table specifies the recommended version or versions of the MongoDB PHP Library and extension that you can use with a specific version of PHP.

The first column lists the version of the library and extension.

PHP Driver Versions
PHP 8.4
PHP 8.3
PHP 8.2
PHP 8.1
PHP 8.0
PHP 7.4
PHP 7.3
ext + lib 1.20
ext + lib 1.17 to 1.19
ext + lib 1.16
ext + lib 1.15

For more information on how to read the compatibility tables, see our guide on MongoDB Compatibility Tables.

If you have questions about compatibility, visit the following resources for further guidance:

Back

BSON