dqed19166 2016-04-06 07:08
浏览 70
已采纳

MongoDB驱动PHP与PHP的Mongo驱动程序的PHP交互

I am currently using the MongoDB driver for PHP:

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

However I would also like to be able to use the legacy driver (Mongo for PHP) for compatibility purposes:

http://php.net/manual/en/book.mongo.php

Is there any way that I could use both at the same time in the same PHP script?

  • 写回答

1条回答 默认 最新

  • duanji9264 2016-04-06 07:37
    关注

    The only possibility is to use a wrapper, you can find some thing here PHP MongoDB Frameworks

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?