Install Mongodb on MAC in 7 step

mongodb

mongodb

1) Installing AutoConf

curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz

2) ./configure

3) sudo make && sudo make install

4) sudo nano ~/.bash_profile

export PHP_AUTOCONF=/usr/local/bin/autoconf

5) Install the Mongo extension

the official repository

phpize
./configure
make all
sudo make install

php.ini >

extension=mongo.so

6)

sudo mkdir -p /data/db

7) sudo mongod




There are no comments

Add yours