** Description changed:

  ==== Sample code ====
  <?php
  
  $m = new MongoClient();
  
- 
  ==== ERR MSG ====
- $m = new MongoClient();
+ PHP Fatal error:  Class 'MongoClient' not found in sample.php
  
  ==== PHP Configuration  ====
- $ php --ini 
+ $ php --ini
  Configuration File (php.ini) Path: /etc/php5/cli
  Loaded Configuration File:         /etc/php5/cli/php.ini
  Scan for additional .ini files in: /etc/php5/cli/conf.d
  Additional .ini files parsed:      /etc/php5/cli/conf.d/10-pdo.ini,
  /etc/php5/cli/conf.d/mongo.ini
  
  $ php --info | grep mongo
  /etc/php5/cli/conf.d/mongo.ini
  mongo
  mongo.allow_empty_keys => 0 => 0
  mongo.allow_persistent => 1 => 1
  mongo.chunk_size => 262144 => 262144
  mongo.cmd => $ => $
  mongo.default_host => localhost => localhost
  mongo.default_port => 27017 => 27017
  mongo.is_master_interval => 60 => 60
  mongo.long_as_object => 0 => 0
  mongo.native_long => 0 => 0
  mongo.no_id => 0 => 0
  mongo.ping_interval => 5 => 5
  mongo.utf8 => 1 => 1
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: php5-mongo 1.2.12-1
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic i686
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: i386
  Date: Sun Jan  6 21:10:37 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-01-06 (0 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  MarkForUpload: True
  SourcePackage: php-mongo
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1096587

Title:
  PHP Fatal error:  Class 'MongoClient' not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mongo/+bug/1096587/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to