array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'mongodb.installation.homebrew.php', 1 => 'Installing the MongoDB PHP Driver on macOS with Homebrew', ), 'up' => array ( 0 => 'mongodb.installation.php', 1 => 'Installazione', ), 'prev' => array ( 0 => 'mongodb.installation.pecl.php', 1 => 'Installing the MongoDB PHP Driver with PECL', ), 'next' => array ( 0 => 'mongodb.installation.windows.php', 1 => 'Installing the MongoDB PHP Driver on Windows', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/configure.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Installing the MongoDB PHP Driver on macOS with Homebrew

» Homebrew 1.5.0 deprecated the » Homebrew/php tap and removed formulae for individual PHP extensions. Going forward, macOS users are advised to install the » php formula and follow the standard PECL installation instructions using the pecl command provided by the Homebrew PHP installation.