I have been having trouble with getting MongoDB and php working together:
( ! ) Fatal error: Class 'Mongo' not found in C:\wamp\www\mongoDBTest\index.php on line 6
Here are my details:
- system: Windows NT LAPBTN1894 6.1 build 7600 (Windows 7 Enterprise Edition) AMD64
- Architecture: x64
- Apache/PHP: Apache/2.4.4 (Win64) PHP/5.4.12 thread safe
- Compiler: MSVC9 (Visual C++ 2008)
- MongoDB: 2.4.5
MongoDB works fine on it's own and I have created the data/db folder.
I have tried adding php_mongo.dll to my php ext folder using the file "php_mongo-1.3.1-5.4-vc9-x86_64.dll" and then renaming it and adding the relevent extension in the php.ini file.
I also know about this site and not found anything useful http://www.php.net/manual/en/mongo.installation.php#mongo.installation.windows