How to install MongoDB PHP extensions in the Mamp suite

Source: Internet
Author: User
Tags install mongodb
And now the PHP version in Mamp is only 5.2.17 and 5.4.42 versions, the official did not find the compiled 5.4 of the mongo.so file

Reply content:

And now the PHP version in Mamp is only 5.2.17 and 5.4.42 versions, the official did not find the compiled 5.4 of the mongo.so file

Hmm, huh! ~ Just before I toss over redis, my practice is Google a bit, and then I understand, because Mamp removed the PHP include header file, so direct phpize is not, to PHP official download the corresponding version of the source code, and then put in mamp PHP directory, Then execute phpize can succeed, no need, no need to find ready so, hehe ~, in order to facilitate you, I Google a redis extension of the installation, you step to step of the photo do try?

Http://blog.yorkgu.me/2011/10/18/comp ...

MONGO's Pecl:http://pecl.php.net/package/mongo

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.