-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Composer can't find mongodb extension #797
Comments
Have the same problem but on Ubuntu (Homestead). At searching... |
|
Or another thing - pecl installing mongodb.so (if we talking about *nix OSes) but putting to mongo.ini: |
I've been banging my head all day and night today over this issue, thank you for the fix @Denys-Bushulyak! |
@Denys-Bushulyak. Thank you, I did try your solution in a test project & it appears to work on Windows! As far as what I was working on before, I ended up installing the mongodb-php driver and jenssegers/mongodb inside of my vagrant machine & this worked great for my earlier project. Getting things set up inside of the vagrant box should have been more obvious to me before, but I'm quite new to Laravel. |
Thank you all: @Siphion01 and @supaheckafresh. It's pleasure for me to be helpful. |
@Denys-Bushulyak thanks, I was going through the xhgui install and having issues with mongo deps. That save my day. |
@Denys-Bushulyak I'm running into MAMP but composer update no work and show the same error .... any help me please |
@Criscros, try to look:
|
i can see where is ini file @Denys-Bushulyak |
Sorry, I said wrong way. it 's your host spec. We need MAMP. |
thx |
I just needed to install the php driver for mongo
|
This worked for me...
|
Hi, |
I already install the adapter and it connects well using homebrew on my OSX El Capitan.. But when i install it using composer require jenssegers/mongodb, it throws the error like the first post on this thread.. So i use Denys-Bushulyak method and it works on the installation..my question is..is anyone working around with the complete instalation on OSX?if one doesn't use the package requirements..is it working too? |
Ok after searching me and my coleague manage to figure some of the process and successfully install it on the el-capitan.. At first we need to compile manually and install dependencies(such as autoconf) even the openssl as well(relink and all) .. it works well now. These link also helps greately for anyone having trouble on updating and symlink openssl |
@Denys-Bushulyak can you please help me resolve my issue. here is the detail. Installed mongo via |
When installing mongo db using (I'm using nginx) don't forget to run sudo /etc/init.d/php7.0-fpm restart |
@Denys-Bushulyak Thank you :) |
@Denys-Bushulyak Thank you very much! it worked fine! |
Try installing the mongodb extension using homebrew. $ brew tap homebrew/php Then link it to your php.ini extension='/usr/local/opt/php56-mongodb/mongodb.so' |
I'm using php 5.6, so it helped me sudo apt-get install -y php-pear php5.6-dev sudo sh -c "echo 'extension=mongo.so' > /etc/php/5.6/mods-available/mongo.ini" sudo service apache2 restart |
Try
|
i've, but it didn't solve my problem |
I executed following commands in order (ubuntu 16.04) (php 7.2)
|
what I did in fedora was |
Make sure mongodb version/type is correct
|
Hi, every idea will be tested here...
|
this is worked for me |
try this |
This is worked for me
After installation, you may be seen this
then you need to Thanks @stea4lth |
Cool! @Denys-Bushulyak |
for windows https://pecl.php.net/package/mongodb download the DLL and place it in xampp/php/ext folder and open php.ini and add extension=php_mongodb.dll |
thanks ! |
composer update --ignore-platform-reqs |
Thank so much it work for me |
This doesn't work on Laravel 7 |
@medaharrat Maybe check out the compatibility of laravel & jenssegers versions https://github.com/jenssegers/laravel-mongodb#laravel-version-compatibility |
Use alpha release v4 |
Hi - I'm running into essentially the same error as in issue #780 when executing
composer require jenssegers/mongodb
:I'm running Windows 10 and PHP 7. I installed the mongodb extension (php_mongodb.dll in PHP ext/ folder), and I've updated php.ini with
extension=php_mongodb.dll
. Not sure what I've missed. If anyone can help me with this, I'd greatly appreciate it. Thanks.The text was updated successfully, but these errors were encountered: