note 125332 added to mongodb.installation.manual
| From: | (anisur2805@gmail.com) | Date: | Fri, 04 Sep 2020 20:00:36 +0000 |
| Subject: | note 125332 added to mongodb.installation.manual | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215076@lists.php.net to get a copy of this message | ||
After installing mongodb, in terminal there are couple of error ex.
PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried:
C:\xampp\php\ext\mongodb.so (The specified module could not be found.),
C:\xampp\php\ext\php_mongodb.so.dll (The specified module could not be found.)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried:
C:\xampp\php\ext\mongodb.so (The specified module could not be found.),
C:\xampp\php\ext\php_mongodb.so.dll (The specified module could not be found.)) in Unknown on line 0
https://prnt.sc/ubr5mq
Solution:
1. If you include mongodb extension in php.ini file first remove that
2. Goto your php path inside Xampp and create an file called mongodb.ini and pest this below line,
see ss - https://prnt.sc/ubr7ii
code extension=mongodb.so
This solution works in windows 10, php 7.4 version
----
Server IP: 45.112.84.4
Probable Submitter: 103.51.167.36 (proxied: 37.111.248.189)
----
Manual Page -- http://php.net/manual/en/mongodb.installation.manual.php
Edit -- https://master.php.net/note/edit/125332
Del: integrated -- https://master.php.net/note/delete/125332/integrated
Del: useless -- https://master.php.net/note/delete/125332/useless
Del: bad code -- https://master.php.net/note/delete/125332/bad+code
Del: spam -- https://master.php.net/note/delete/125332/spam
Del: non-english -- https://master.php.net/note/delete/125332/non-english
Del: in docs -- https://master.php.net/note/delete/125332/in+docs
Del: other reasons-- https://master.php.net/note/delete/125332
Reject -- https://master.php.net/note/reject/125332
Search -- https://master.php.net/manage/user-notes.php