Advise users to install PHP via Homebrew

Remove reference to deprecated formulae and simply remind users to use the correct PECL binary.

https://jira.mongodb.org/browse/PHPC-1298


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346076 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2018-11-26 22:45:23 +00:00
parent add41695ca
commit 752a9c9992

View file

@ -23,9 +23,9 @@ $ sudo pecl install mongodb
</para>
<para>
If your system has multiple version of PHP installed (e.g. macOS default
<emphasis>and</emphasis> <link xlink:href="&url.xampp;">XAMPP</link>), note
that each version of PHP has its own <link linkend="install.pecl">pecl</link>
If your system has multiple version of PHP installed (e.g. macOS default,
Homebrew, <link xlink:href="&url.xampp;">XAMPP</link>), note that that each
version of PHP has its own <link linkend="install.pecl">pecl</link>
command and &php.ini; file.
</para>
@ -58,16 +58,18 @@ extension=mongodb.so
</section>
<section xml:id="mongodb.installation.homebrew">
<title>Installing the MongoDB PHP Driver on macOS with Homebrew (deprecated)</title>
<title>Installing the MongoDB PHP Driver on macOS with Homebrew</title>
<para>
<link xlink:href="https://brew.sh/2018/01/19/homebrew-1.5.0/">Homebrew 1.5.0</link>
deprecated the <link xlink:href="&url.mac.homebrew;">Homebrew/php tap</link>
and removed formulae for PHP extensions. Going forward, macOS users should
install the driver with
<link linkend="mongodb.installation.pecl">PECL</link>. Community forks of the
<link xlink:href="&url.mac.homebrew;">Homebrew/php tap</link> may still
contain formale for installing the driver on various PHP versions.
and removed formulae for individual PHP extensions. Going forward, macOS
users are advised to install the
<link xlink:href="https://formulae.brew.sh/formula/php">php</link> formula
and follow the standard
<link linkend="mongodb.installation.pecl">PECL installation instructions</link>
using the <link linkend="install.pecl">pecl</link> command provided by the
Homebrew PHP installation.
</para>
</section>