Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For <strong>MAMP 2.1.2</strong> and <strong>PHP 5.4.10</strong></p> <ol> <li><p><a href="https://github.com/downloads/stennie/mongo-php-driver/mongo.so" rel="nofollow noreferrer">Download MongoDB php driver .</a></p></li> <li><p>copy <strong>mongo.so</strong> to </p> <pre><code>/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/ </code></pre> <p>and using temrinal</p> <pre><code>cd /Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/ &amp;&amp; wget https://github.com/downloads/stennie/mongo-php-driver/mongo.so </code></pre></li> <li><p>open </p> <pre><code>/Applications/MAMP/bin/php/php5.4.10/conf/php.ini </code></pre> <p>Find <code>; Extensions</code></p> <p>add <code>extension=mongo.so</code></p></li> <li><p>Restart MAMP.</p></li> </ol> <hr> <p>Above steps will install MongoDB driver 1.2.10.</p> <p><strong>To install latest Mongodb driver using PECL</strong></p> <ol> <li><p>install <strong>autoconf</strong> using homebrew or Mac Ports</p> <pre><code>brew install autoconf </code></pre></li> <li><p>Download php 5.4.10 source from <a href="http://us3.php.net/get/php-5.4.10.tar.bz2/from/a/mirror" rel="nofollow noreferrer">php.net</a>.</p></li> <li><p>rename uncompressed php source folder from <strong>php-5.4.10</strong> to <strong>php</strong> and paste it in this folder</p> <pre><code>/Applications/MAMP/bin/php/php5.4.10/include/ </code></pre></li> <li><p>using the terminal open php folder and run <code>./configure</code></p> <pre><code>cd /Applications/MAMP/bin/php/php5.4.10/include/php/ &amp;&amp; ./configure </code></pre></li> <li><p>Add MAMP bin to your <code>~/.bash_profile</code></p> <pre><code>echo "export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH" &gt;&gt; ~/.bash_profile source ~/.bash_profile </code></pre></li> <li><p>install latest mongo</p> <pre><code>pecl install mongo </code></pre></li> <li><p>restart MAMP server :).</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload