System Windows7
Integrated environment XAMPP 1.8.3
Php-mongo.dll http://pecl.php.net/package/mongo/1.6.0RC2/windows Select the corresponding version download
Put Php-mongo.dll into the PHP ext folder to modify the php.ini.
But there was a problem with the PHP warning:php startup:in Unknown on line 0 when installing MongoDB extensions
Version no problem PHP version is 5.5.11 and Php-mongo.dll version is the same
There's no problem with Extension_dir in php.ini.
And in Cmd, php-m found that the extension has been
Later found that PHP support for MongoDB to rely on 3 dynamic link libraries: Libeay32.dll, Libsasl.dll and Ssleay32.dll, but Libsasl.dll can not find (this part of Baidu search)
Workaround:
Copy php from Libsasl.dll to apache/bin path to restart Apache
Problem solving
Windows install MongoDB extension appears PHP warning:php startup:in Unknown on line 0