Configure php and mongodb databases on Windows

Source: Internet
Author: User
: This article describes how to configure php and mongodb databases on Windows. if you are interested in the PHP Tutorial, refer to it. For PHP distributions of different thread security and VC versions, pre-compiled binary files can be obtained from PECL. Decompress the package and put php_cmd.dll in the PHP extension directory ("ext" by default ").

Add the following content to the php. ini file:

extension=php_mongo.dll

Note: add additional dependent DLL for Windows users

To make this extension take effect, DLLThe file must be located in the PATH indicated by PATH in Windows. In my system, I did this:

Add the php installation directory to the system Path, as shown in:


Although you can copy the DLL file from the PHP folder to the Windows directory, we do not recommend that you do this. This extension requires the following files in the PATH: Libsasl. dll


Restart the Apache service. Test whether the configuration is successful.

            

Successful configuration on my computer is shown in:



Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

The above describes how to configure php and mongodb databases on Windows, including some content. I hope my friends who are interested in PHP tutorials can help me.

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.