How to install MongoDB's PHP extension in the MAMP suite

Source: Internet
Author: User
Tags install mongodb
In addition, the current MAMP version of PHP is only 5.2.17 and 5.4.4, and the official version of mongo 5.4 is not found. so file. Currently, the PHP version in MAMP is only 5.2.17 and 5.4.4. The compiled version of mongo 5.4 is not found on the official website. so file

Reply content:

In addition, the PHP version in the current MAMP is only 5.2.17 and 5.4.4, And the compiled 5.4 mongo. so file is not found officially.

Hmm !~ I 've been tossing redis before. My practice is to google it, And then I understand it. Because MAMP removes the PHP include header file, it is impossible to directly phpize it, go to the PHP official website to download the source code of the corresponding version, put it in the php Directory of mamp, and then execute phpize to succeed. No need to ask for help, no need to find a ready-made so, haha ~, For your convenience, I Google an article on redis extension installation. How do you perform step-to-step installation?

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

Pecl of mongo: 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.