Getting error while setting up mongodb with php 7.0.27

By | October 30, 2018

I am trying to setup mongodb with php i am getting error as defined below

Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_mongo

db.dll’ – %1 is not a valid Win32 application.

here are the steps what i haev done

  1. I have downloaded the dll file from here
  2. pasted in C:\xampp\php\ext and added
  3. added php_mongodb.dll in php.ini

is there any step i am missing please let me know, i am trying from past 2 hours.


Leave a Reply

Your email address will not be published. Required fields are marked *