larvel5 + mongoDB无法正常工作

时间:2016-06-22 02:26:16

标签: mongodb laravel laravel-5 php-5.5 jenssegers-mongodb

我通过此link

尝试使用mongoDB配置larval5

我像这样发信息

D:\wamp\www\lfirst>composer require jenssegers/mongodb
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Using version ^3.0 for jenssegers/mongodb
./composer.json has been updated
> php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
- Installation request for mongodb/mongodb (locked at 1.0.2) -> satisfiable by mongodb/mongodb[1.0.2].

   To enable extensions, verify that they are enabled in those .ini files:
- D:\wamp\bin\php\php5.5.12\php.ini
   You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

  Installation failed, reverting ./composer.json to its original content.

 D:\wamp\www\lfirst>php --ini
 Configuration File (php.ini) Path: C:\Windows
 Loaded Configuration File:         D:\wamp\bin\php\php5.5.12\php.ini
 Scan for additional .ini files in: (none)
 Additional .ini files parsed:      (none)

***注意*我使用的是Window服务器,对于使用mongoDB的其他项目,但它只是处理但只有larval的问题。

0 个答案:

没有答案