You should have mongodb installed and running on standart port. mamp instaled. Turn off MAMP (if it's running) Download sources from https://github.com/mongodb/mongo-php-driver to /Users/your_username/Temp/ Just do like written here in Installation section: https://github.com/mongodb/mongo-php-driver phpize ./configure make sudo make after that you will have mongo.so and mongo.la somewhere in /Users/your_username/Temp/mongodb-mongo-php-driver-622828c/modules/ Then copy mongo.so and mongo.la to your MAMP (path should be smth like this): /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/ Edit your php.ini, it will be somwhere here: /Applications/MAMP/bin/php/php5.3.6/conf). Add this line to it's extension section: extension=mongo.so Turn on MAMP Check phpinfo at http://localhost/MAMP/ (search for 'mongo') Go to rockmongo http://localhost/rockmongo Thanks to: http://www.joyceleong.com/log/mongodb-with-mamp-on-os-x/ https://github.com/mongodb/mongo-php-driver
2012-10-15
Install rockmongo in MAMP in mac os X
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий