How Windows Phpstudy extends MongoDB

Source: Internet
Author: User
Tags phpinfo

Phpstudy How to extend MongoDB default| tags: phpstudy mongodb php|2017-9-9 10:17

Phpstudy Extended MongoDB

Front-mounted work installation PHPstudy ,mongodb

Runphpstudy

View Phpinfo

Click the other Options menu-View Phpinfo

Should be the third from top down

Click to go to view in browser

Observe the following 3 parameters, PHP version, ts/nts,vc6/vc9/... Three rules (be sure to match one)

Go to Https://pecl.php.net/package/mongo/1.6.12/windows

Download the corresponding MongoDB package

Unzip to find the corresponding dll file inside

Copy, paste into the corresponding Ext folder

Please note your path, above is my path

Then openphp-init

Phpsstudy Other Options menu-open configuration file-->php-init

Add in Insideextension=php_mongo.dll

Save, and exit

At this point phpstudy may appear warning Phpstudy:startup

This time.

Find libeay32.dll , libsasl.dll and ssleay32.dll these 3 files

The third file is at the end of the folder.

Copy these 3 files tophpstudy\PHPTutorial\Apache\bin

At this point, if ' apache\bin not inside, these 3 files, will be directly successful

/**************************************/
If you are prompted to overwrite, be sure to do not overwrite
This is important, or it might be an error.
Do this step must pay attention to, to slow
/*************************************/

When you are finished, proceed to the next

Open Phpstudy again and click Restart

After you view the phpinfo in the browser again, refresh the page if the phpinfo is not reopened

When this display appears, it represents the expansion of MongoDB to complete.

How Windows Phpstudy extends MongoDB

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.