Reputation: 1380
I installed XAMPP-Win32-5.6.11-0-VC11. In phpinfo() I can see that :
PHP Version : 5.6.11
PHP Extension Build : API20131226,TS,VC11
Apache Version : Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11
I downloaded PHP mongo drivers from here : Drivers
The zip files I have downloaded are :
php_mongo-1.6.4.zip
php_mongo-1.6.5.zip
php_mongo-1.6.6.zip
php_mongo-1.6.7.zip
php_mongo-1.6.8.zip
I tried :
php_mongo-1..-5.6-vc11.dll
php_mongo-1..-5.6-vc11-x86_64.dll
These 2 dll files but none of them worked. In phpinfo() I can't see the mongo extension. If I try to use nts(Not Thread Safe) files I get php5.dll not found error when I restart Apache server.
Can someone help me with this please?
Upvotes: 1
Views: 2373
Reputation: 1380
Ok I finnaly solved the problem. When I had this problem I was using the xampp I dowloaded and it was the latest version.(xampp-win32-5.6.11-0-VC11-installer.exe) but I tried and older version(xampp-win32-5.5.27-0-VC11-installer.exe) and after going through same steps it all worked out. Now I can see mongo in my phpinfo() screen.
Upvotes: 1
Reputation: 3322
Okay 1.6.10 is out. Check PECL.
http://pecl.php.net/package/mongo
And try this:
http://windows.php.net/downloads/pecl/releases/mongo/1.6.10/php_mongo-1.6.10-5.6-ts-vc11-x86.zip
Upvotes: 1