eversun
eversun

Reputation: 63

difference between mongodb.so and mongo.so

I noticed that the Mongodb driver installation doc shows different extension name for Mongodb driver:

extension=mongo.so; another one shows extension=mongodb.so -- what's the difference?

http://php.net/manual/en/mongodb.installation.manual.php

Upvotes: 3

Views: 2439

Answers (1)

Eborbob
Eborbob

Reputation: 1975

mongo.so is the filename for the deprecated Mongo PHP extension, mongodb.so is the filename for the newer Mongodb PHP extension.

Be wary of any guides referencing the extension without the db bit - they are likely referring to the deprecated extension and could well be incorrect.

Upvotes: 4

Related Questions