Troubleshooting “mongo not found” and “php_mongo.dll is not a win32 application” errors

前端 未结 3 1409
一个人的身影
一个人的身影 2021-01-25 17:01

I have been trying to install mongo for over 6 hours now and still have not gotten it to work. I am going to make this very detailed so that hopefully someone will help me get

3条回答
  •  盖世英雄少女心
    2021-01-25 17:44

    PHP driver for Mongo DB is not currently working for 64bit wamp (you can keep your OS 64bit). Basically what you need to do:

    1. install 32 bit WAMP

    2. add PHP mongo driver "php_mongo-1.3.2RC1-5.4-vc9.dll", ts(thread safe) to php ext foldr download: https://s3.amazonaws.com/drivers.mongodb.org/php/index.html

    3. rename "extension=php_mongo.dll" to "php_mongo.dll" and add extension=php_mongo.dll to php.ini in your server

提交回复
热议问题