We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Mongo & Phalcon 3

Hello all!

I three days try to connect Phalcon 3 to MongoDB, does it work?

have on server nginx 1.10.1 + php7.0-fpm + mongodb 1.1.9. and installs adapter thru pecl. Install Incubator, but have error Call to undefined method Phalcon\Db\Adapter\MongoDB\Client::selectDB()

Can someone shows configs?

We all should make MongoDB support available ASAP in Zephir source / next Phalcon update.



3.4k

selectDatabase is works! Thank you very much!