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?
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.