php driver mongodb , never loaded -
i have installed mongodb, wamp server , have added collection in mongodb
i downloaded php_mongo-1.6.8.zip s3 -> ok
there many files in zip file, 1 one need? (window 10 64 bit)
i found php.ini
location phpinfo()
in c:\wamp\bin\apache\apache2.4.9\bin\php.ini
, inserted string in extension=php_mongo.dll
. in c:/wamp/bin/php/php5.5.12/ext/ copy (for test) php_mongo-1.6.8-5.6-vc11.dll (renamed in php_mongo.dll).
i can restart apache without errors , call mongo.php in host
echo extension_loaded("mongo") ? "mongo loaded\n" : "mongo not loaded\n"; echo "<br>"; echo extension_loaded("mysql") ? " mysql loaded\n" : " mysql not loaded\n";
this print:
mongo not loaded
mysql loaded
why isn't mongo driver loading?
the problem api compile version. version 1.4.5 mongodb driver work fine.
the correct driver window 10 64 bit , wamp64bit php_mongo-1.4.5-5.5-vc11-x86_64.dll
Comments
Post a Comment