mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
We don't distribute OSX binaries anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329942 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
15dd578022
commit
6155859848
1 changed files with 10 additions and 16 deletions
|
@ -175,6 +175,16 @@ extension=php_mongo.dll
|
|||
website).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In most cases installing from pecl is the easiest way:
|
||||
<programlisting role="shell">
|
||||
<![CDATA[
|
||||
|
||||
$ sudo pecl install mongo
|
||||
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
<para>
|
||||
If you are using XAMPP, you may be able to compile the driver with the
|
||||
following command:
|
||||
|
@ -187,22 +197,6 @@ sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo
|
|||
</programlisting>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you are using MAMP (or XAMPP and the above command does not work),
|
||||
precompiled binaries are available from
|
||||
<link xlink:href="&url.mongodb.github.downloads;">Github</link>
|
||||
(download the latest one with "osx" in the name that matches your version of
|
||||
PHP). Extract mongo.so from the archive and add it to MAMP or XAMPP's
|
||||
extension directory. Add
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
|
||||
extension=mongo.so
|
||||
|
||||
]]>
|
||||
</programlisting>
|
||||
to the php.ini file being used and restart the server.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="mongo.installation.gentoo">
|
||||
|
|
Loading…
Reference in a new issue