MongoClient not found in WAMP

后端 未结 1 1427
感动是毒
感动是毒 2021-01-22 09:08

I have been trying to run MongoDB on WAMP all day and It shows the error: Fatal Error: MongoClient class not found. I have a windows 64 bit, Wamp 32 bit ( after trying and faili

相关标签:
1条回答
  • 2021-01-22 10:07

    To fix the php_intl.dll error do the following using the wmapmanager menus

    wampmanager -> Apache -> Version -> and click on the 2.4.9 version number
    

    This will cause wampmanager to rebuild all the SYMLINKS in the \wamp\bin\apache\apache2.4.9\bin folder.

    As to the mongo error, are you sure you are editing the correct php.ini file.

    Again use the wampmanager menu system to edit the correct php.ini file

    wampmanager -> PHP -> php.ini
    

    I expect the extension was not added to this file so add

    extension=php_mongo.dll
    

    like you did to the PHP CLI version of the ini file.

    0 讨论(0)
提交回复
热议问题