|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76177 Can't install MongoDb on macOS using Homebrew
Submitted: 2018-04-02 08:45 UTC Modified: 2019-01-01 22:12 UTC
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: 421034509 at qq dot com Assigned: girgias (profile)
Status: Closed Package: mongodb (PECL)
PHP Version: Irrelevant OS: macOS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: 421034509 at qq dot com
New email:
PHP Version: OS:


 [2018-04-02 08:45 UTC] 421034509 at qq dot com
From manual page:
we can't 'brew install php71-mongodb' if we want install the driver for PHP 7.1

if you run that commond you will get an error:
Error: No available formula with the name "homebrew/php/php71-mongodb".

That is because homebrew/php/php71-mongodb was deleted from homebrew/php in commit 3adb72d1:Deprecate tap.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-04-03 13:41 UTC] okanck at gmail dot com
Hi there,

I have solved the issue with the instructions below:

brew tap kyslik/php
brew install phpxx-mongo

I hope this helps for you too.
 [2018-04-13 18:01 UTC] Brett dot Santore at gmail dot com
This is a homebrew related issue anyway.
 [2018-04-19 23:05 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2018-04-19 23:05 UTC]
> This is a homebrew related issue anyway.

 [2018-04-20 00:50 UTC]
-Status: Not a bug +Status: Open -Assigned To: cmb +Assigned To:
 [2018-04-20 00:50 UTC]
If homebrew-php isn't available anymore then the docs do need to be updated to say something else. But kyslik/php isn't exactly an official source, and there are hundreds of forks of homebrew-php...
 [2019-01-01 22:12 UTC]
-Summary: we can't install php71-mongodb using this commond +Summary: Can't install MongoDb on macOS using Homebrew -Status: Open +Status: Closed -PHP Version: 7.1Git-2018-04-02 (Git) +PHP Version: Irrelevant -Assigned To: +Assigned To: girgias
 [2019-01-01 22:12 UTC]
Doc seems fixed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 13:01:28 2024 UTC