Previously I was using mongo 1.4 version in PHP. But now I have upgraded to MongoDB 1.1.7. So, I am using following code to connect with mongoDB.
$mongo = new MongoClient();
But I am getting following error:
Class 'MongoClient' not found
Please suggest me to reslove this error.