Could you try adding extension=mongo.soin : /etc/php5/conf.d/mongodb.ini
?
Le jeudi 15 novembre 2012 21:04:15 UTC+1, RP a écrit :
I know this error has come up a lot from incorrect installations, but I feel as if I've been pretty diligent and I just can't get past it.-Running PHP 5.3.5-1ubuntu7.3 with Suhosin-Patch (cli)-Installed Mongo PHP driver using pecl (sudo pecl install mongo) without error-Ran php --ini to be sure I had correct location of php.ini file-Added extension=mongo.so to the active php.ini file-Restarted Apache-Ran php --ri mongo (MongoDB Support = enabled)Everything seems like it should be working, but the error persists. Another thing to note in case of relevance: mongod is not installed on this server, just the PHP driver, dbs are not on localhost but on separate server.Any help is much appreciated.
RP
I had the same problem but the answer of Christophe Hurpeau solved!
In my case I check where is the config.d/ folder with php --iniConfiguration File (php.ini) Path: /etc/php5/cliLoaded Configuration File: /etc/php5/cli/php.iniScan for additional .ini files in: /etc/php5/cli/conf.dThen, create the mongodb.ini with the content "extension=mongo.so"$ sudo vi /etc/php5/cli/conf.d/mongodb.iniThanks
On Friday, November 16, 2012 11:05:02 AM UTC-6, Christophe Hurpeau wrote:
Could you try adding extension=mongo.so
in : /etc/php5/conf.d/mongodb.ini
?
Le jeudi 15 novembre 2012 21:04:15 UTC+1, RP a écrit :