Problem In Installing Mongodb With Yii In Lampp On Linux

I am using ubuntu 12.04. I am trying to install mongodb with yii in LAMPP on linux.

I have installed mongodb on ubuntu with the help of install-mongodb-on-ubuntu keywords.

Sorry I am not allowed to paste links.

I have generated and copy the file in /opt/lampp/lib/php/extensions/no-debug-non-zts-20100525

I have mentioned this in the file /opt/lampp/etc/php.ini by adding line extension=""

I have checked my phpinfo.php, it shows mongo module with all details there as well as it shows PDO, pdo_mysql, pdo_pgsql & pdo_sqlite modules there too


whe I try to migrate, it shows following error

PHP Error[2]: include(PDO.php): failed to open stream: No such file or directory

That’s why I am not able to migrate mongo-database.

Please help.

If I have missed any important info, please ask.

Yii does not support MongoDb. So that’s why it fails.

Thanks for your reply

But I think yii supports mongodb. Mongo database migration can be done on yii. Here is the command for migration.

$ ./yiic migrate up

There are many links which provides help on mongodb-yii topic but I am not fortunate enough because I am not getting solution of my problem.

There is no support for MongoDb in Yii.

If you want to use the extensions which brings MongoDb support to Yii, you need to open a support topic in the Extensions forum. :)