-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:PHP Version 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1
Laravel 4.2 (PHP MVC Framework)
MongoDB 3.4
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We are using following software in our web app Like...
Laravel 4.2 (PHP framework)
MongoDB(3.4)
PHP Version 5.6 (Ubuntu 14 LTS)
So after updated MongoDB version from 2.6 to 3.4 some API closed.(Coordinate search)
So we found need to upgrade php driver from mongodb site ! (Reference link : http://php.net/manual/en/mongodb.installation.php)
-Necessary changes made in following file
-php.ini (/etc/php5/cli/php.ini) -phpini (/etc/php5/apache2/php.ini) -mongo.ini (/etc/php5/mods-available/mongo.ini)
Changes are in only one line this: extension=mongo.so TO extension=mongodb.so
But following error still coming.. [Mon Jan 23 16:38:58.714244 2017] [:error] [pid 5612] [client 127.0.0.1:60816] PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class MongoException does not exist' in /var/www/projectfolder/vendor/laravel/framework/src/Illuminate/Exception/Handler.php:310\nStack trace:\n#0
Any one can help ?
Thanks in advance