mongo-php-driver: MongoDB driver not working for OSX High Sierra
## $php -i
mongodb
MongoDB support => enabled
MongoDB extension version => 1.5.0-dev
MongoDB extension stability => devel
libbson bundled version => 1.9.4
libmongoc bundled version => 1.9.4
libmongoc SSL => enabled
libmongoc SSL library => Secure Transport
libmongoc crypto => enabled
libmongoc crypto library => Common Crypto
libmongoc crypto system profile => disabled
libmongoc SASL => enabled
libmongoc compression => enabled
libmongoc compression snappy => disabled
libmongoc compression zlib => enabled
But mongodb is not show in phpinfo.
php 7.1.16, mongodb driver 1.4.3
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (6 by maintainers)
@erwinsetiawan: See @derickr’s reply in https://github.com/mongodb/mongo-php-driver/issues/883#issuecomment-406298524.
@abinhho: We’ve had users report installation issues with XAMPP and MAMP alike. The common thread appears to be people confusing their PHP environments (e.g.
pecl
command,php.ini
files) and mixing up CLI and web SAPIs for the same PHP installation (commonpecl
command, but separate INI files).