I am trying to run MongoDB with PHP. I have XAMPP 1.7.7 installed on my machine (Windows XP - 32 bit).
The PHP version is 5.3.8 and Apache version is 2.2.21. I installed the PHP MongoDB drivers as was given on their instructions page. I have the php_mongo.dll from this zip - mongo-1.1.4-php5.3vc9ts ( because i see that Thread Safety is enabled).
However, i always keep getting the message - 'Fatal error: Class 'Mongo' not found' for this code snippet-
$mongo = new Mongo();
$db = $mongo->database_name;
Does anyone know the solution to this ?
Thanks in advance.