简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM