How-to Install the MongoDB PHP 5 Module on Mac Mavericks 10.9 OS X Easy Guide

July 22nd, 2014 by Duchateaux

Installing MongoDB PHP Driver on Mac OS X



The Linux Tutorial Shows You Step-by-Step How-to Install and Enable the MongoDB PHP 5 Module for Mac Mavericks 10.9 OS X.

The MongoDB Driver permit You to designing a web application, such as a blog, a guestbook, or even a business-card database with PHP!

Insall MongoDB PHP Module on Mac Mavericks 10.9 OS X - Featured
  1. How-to Getting-Started with MongoDB on Mac OS X:

    MogoDB Installation for Mac

  2. Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    Installing MongoDB PHP Module on Mac Mavericks 10.9 OS X - Open Terminal
  3. How-to Install/Enable Pear/Pecl Command on Mac OS X:

    PHP PEAR+PECL for Mac OS X
  4. Installing the PHP Module by PECL:

    sudo pecl install mongo
  5. Enabling the MongoDB PHP Module:

    sudo nano /etc/php5/apache2/php.ini

    Append in the Extensions Section:

    extension=mongo.so

    Ctrl+x to Save & Exit from the nano Editor :)

  6. sudo nano /Library/WebServer/Documents/info.php

    Append:

    <?php phpinfo(); ?>

    Restart the Apache Web Server and point your Browser to:

    http://localhost/info.php

    Check for:
    Insall MongoDB PHP Module on Mac Mavericks 10.9 OS X - Featured

Share on Tumblr

Tags: , , , , , , , , , , , , ,


Comments are disabled