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