Wamp installation increases MongoDB expansion and installation

Source: Internet
Author: User
Tags phpinfo

Installation Environment:

Windows 7 64bit

PHP 5.5.12

Confirm Environment Parameters:

1. View compiler in Phpinfo ()

2. Check the thread safety in phpinfo () to see if threads are safe

After confirming these two parameters, it is helpful to select the extension file for MongoDB.

Installation steps:

Now it's time to start downloading the corresponding version of MongoDB!

1. Website download file Address: http://windows.php.net/downloads/pecl/releases/mongo/

2. Select the 1.6.10, and select the corresponding version according to the environment, to download; 3. Copy the Php_mongo.dll file from the compressed file to the extension file ext of the local PHP and add the new extension code to the php.ini file under Apache:
Extension=php_mongo.dll;
Note: The extension filename is consistent with the name of the extension file added in the second step; Wamp Add the configured php.ini file in the Apache directory, other environments are built according to the actual situation. 4. Due to the need to rely on Libsasl.dll file for MongoDB expansion, see the PHP User manual for additional methods:

5. The file directory is configured in the root directory of the PHP installation file as follows:

5. Restart the WAMP server and search for MongoDB in Phpinfo () to see the following information:

Wamp installation increases MongoDB expansion and installation

Related Article

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.