Skip to content

Commit ec7d2da

Browse files
authored
Update installation instructions for MacOS (#4525)
* Add note about pkgconf and openssl being required * Mention shivammathur/extensions tap containing the latest version
1 parent 40e4bf8 commit ec7d2da

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

reference/mongodb/configure.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,27 @@ extension=mongodb.so
100100
using the <link linkend="install.pecl">pecl</link> command provided by the
101101
Homebrew PHP installation.
102102
</para>
103+
<para>
104+
Alternatively, the
105+
<link xlink:href="https://github.com/shivammathur/homebrew-extensions">shivammathur/extensions tap</link>
106+
provides formulae for individual PHP extensions. For example, to install the
107+
extension for PHP 8.4, run:
108+
<programlisting role="shell">
109+
<![CDATA[
110+
$ brew install shivammathur/extensions/[email protected]
111+
]]>
112+
</programlisting>
113+
Please note that only the latest extension version is available in brew.
114+
</para>
115+
<note>
116+
<title>Install required dependencies</title>
117+
<para>
118+
To ensure that SSL support can be configured correctly, make sure that the
119+
<literal>openssl</literal> and <literal>pkgconf</literal> formulae are
120+
installed. If either of these packages are missing, the extension will be
121+
compiled with Secure Transport, which can lead to compatibility issues.
122+
</para>
123+
</note>
103124
</section>
104125

105126
<section xml:id="mongodb.installation.windows">

0 commit comments

Comments
 (0)