Tuesday, November 15, 2011

My answer to "Mongo extension is not installed"

This is my answer to a Question on Support site for LampCMS project


It's possible that extension is installed but not loaded. You need to add it to list of extensions in php.ini
like this:
extension="mongo.so"
and restart the apache (or whatever web server you using)

You may also try to load that extension dynamically, try to add this to your !inc.php - on top of file.

if(!extension_loaded('mongo'){
    dl('mongo.so');
}

No comments:

Post a Comment