Did you restart the web server?
I am on PHP 5.6.12, and have the latest version of the Mongo php driver. However, even after doing the pecl install and adding the extension=mongo.so line to my php.ini file, php will not load the mongo module.What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/836c90cb-96de-439b-85dc-bf94a8136aeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Did you restart the web server?
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAEbsasQeBLe0Gb8k-ZbNVwrjZO4cy41N%2BLGNpPkJvA%3DYGcBKaw%40mail.gmail.com.
Another thing to check, if you are using mongo-php with fpm or fcgi sapi, on nginx etc, you have to restart the php server process, not the webserver, on apache with mod_php restarting the web server is suffient.
$php - m | grep mongo
Should tell you if the ini is setup ok as it should list mongo as a loaded module.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CACypnJU8cJ7wHJgp0U4LCudSzfHKoazN7%2BbVkd_px%2B1Cd7TrVQ%40mail.gmail.com.