-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Composer can't find Mongo extension #780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You need the mongodb extension, not the mongo extension. |
First of all, thanks for the help, much appreciated. For anyone figuring out, I solved this by uninstalling the repo version of the PHP extension and then installing via PECL, just like this:
Don't forget to add it to your php.ini file. Thanks again for the help and have a good day! |
sudo pecl install mongo already deprecated. |
Hello, /opt/lampp/bin/httpd: relocation error: /opt/lampp/lib/php/extensions/no-debug-non-zts-20121212/mongodb.so: symbol SSL_library_init, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference I appreciate your help. |
I'm with the same problem @xindykatalina, did you managed to work this out? |
When installing mongo db using (I'm using nginx) don't forget to run sudo /etc/init.d/php7.0-fpm restart |
Hi there,
I have trouble when getting this package to work. When executing
composer require jenssegers/mongodb
, I get the following error:I can't manage to troubleshoot this since both
php -i | grep mongo
andcomposer show --platform
also seems to recognise the extension is active.Has anyone experienced similar issues?
Thanks in advance.
BTW I'm using Fedora 23, PHP 5.6 and Apache 2.4.18
The text was updated successfully, but these errors were encountered: