<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installing the MongoDB PHP Driver on macOS with Homebrew (deprecated)</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongodb.installation.pecl.html">Installing the MongoDB PHP Driver with PECL</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongodb.installation.windows.html">Installing the MongoDB PHP Driver on Windows</a></div> <div class="up"><a href="mongodb.installation.html">Installation</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mongodb.installation.homebrew" class="section"> <h2 class="title">Installing the MongoDB PHP Driver on macOS with Homebrew (deprecated)</h2> <p class="para"> <a href="https://brew.sh/2018/01/19/homebrew-1.5.0/" class="link external">» Homebrew 1.5.0</a> deprecated the <a href="https://github.com/Homebrew/homebrew-php" class="link external">» Homebrew/php tap</a> and removed formulae for PHP extensions. Going forward, macOS users should install the driver with <a href="mongodb.installation.pecl.html" class="link">PECL</a>. Community forks of the <a href="https://github.com/Homebrew/homebrew-php" class="link external">» Homebrew/php tap</a> may still contain formale for installing the driver on various PHP versions. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongodb.installation.pecl.html">Installing the MongoDB PHP Driver with PECL</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongodb.installation.windows.html">Installing the MongoDB PHP Driver on Windows</a></div> <div class="up"><a href="mongodb.installation.html">Installation</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>