I am using Windows OS (64-bit) and running XAMPP(PHP 5.4.7). I tried installing the PHP MongoDB Driver but it is not reflecting on the phpinfo() page.
I followed the same steps as listed:
- I downloaded php_mongo-1.3.2RC1.zip (latest one) from https://github.com/mongodb/mongo-php-driver/downloads
- I extracted the folder and copied the
php_mongo-1.3.1-5.4-vc9.dllfile and pasted inC://XAMPP/php/ext/.
My PHP extension build says API20100525,TS,VC9 - I opened php.ini file and i inserted
;extension=php_mongo-1.3.1-5.4-vc9.dllat the last line.
I then looked at the phpinfo() page as well as I tried the
echo extension_loaded("mongo") ? "loaded\n" : "not loaded\n";
It says it is not loaded.
Try removing the ; from the beginning of
;extension=php_mongo-1.3.1-5.4-vc9.dllin your php.ini