Skip to content

Instantly share code, notes, and snippets.

@Ademking
Created February 6, 2019 19:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ademking/cbb0ce2aaddb0ee8354abfc8d4bcf790 to your computer and use it in GitHub Desktop.
Save Ademking/cbb0ce2aaddb0ee8354abfc8d4bcf790 to your computer and use it in GitHub Desktop.
Add mongodb driver for XAMPP - Windows
  1. Start XAMPP apache

  2. Open localhost

  3. Find your PHP version ? Architecture ? Thread Safety ?

  4. Open PECL

  5. Select driver version - PHP version - Thread Safety ...

  6. Unzip downloaded mongo driver version and copy .dll file to C:\xampp\php\ext

  7. add the following line in "php.ini"

extension=php_mongodb.dll

  1. Restart XAMPP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment