windows env:
os:windows 10
soft: XAMPP for Windows 5.6.15 php version:5.6.15 Architecture:x86 Thread Safety:enabled
driver-download:http://pan.baidu.com/s/1slKJktf
1.copy the php_mongodb.dll file to *\php\ext
2.php.ini add extension=php_mongo.dll
3.restart the service
4.phpinfo(),to show:
mongodb
mongodb support | enabled |
---|---|
mongodb version | 1.1.4 |
mongodb stability | stable |
libmongoc version | 1.1.2 |
libbson version | 1.1.3 |
Directive | Local Value | Master Value |
---|---|---|
mongodb.debug | no value | no value |
5.success.