Install doctrine-mongodb-admin-bundle::error:To enable extensions, verify that they are enabled in your .ini files:
Install doctrine-mongodb-admin-bundle::error:To enable extensions, verify that they are enabled in your .ini files:
我正在使用 Symfony 3.4 Flex 和 sonata-admin-bundle": "^3.33" & "php": "^7.0.8"...我想安装 doctrine-mongodb -管理员-bundle.when我运行
php composer.phar require sonata-project/doctrine-mongodb-admin-bundle 3.*@dev
我有这个错误
Your requirements could not be resolved to an installable set of packages.
Problem 1
- sonata-project/doctrine-mongodb-admin-bundle 3.1.0 requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- sonata-project/doctrine-mongodb-admin-bundle 3.1.1 requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- sonata-project/doctrine-mongodb-admin-bundle 3.x-dev requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- doctrine/mongodb-odm 1.2.0 requires doctrine/mongodb ^1.6.1 -> satisfiable by doctrine/mongodb[1.6.1].
- doctrine/mongodb-odm 1.2.1 requires doctrine/mongodb ^1.6.1 -> satisfiable by doctrine/mongodb[1.6.1].
- doctrine/mongodb-odm 1.1.0 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.1 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.2 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.3 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.4 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.5 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.6 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.7 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.0 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.1 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.2 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.3 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.4 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.5 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.6 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.7 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.8 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb 1.6.1 requires ext-mongo ^1.6.7 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.6.0 requires ext-mongo ^1.6.7 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.5.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.4.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.3.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.2 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.1 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.0 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- sonata-project/doctrine-mongodb-admin-bundle 3.0.0 requires php ^5.3 -> your PHP version (7.0.10) does not satisfy that requirement.
- Installation request for sonata-project/doctrine-mongodb-admin-bundle 3.*@dev -> satisfiable by sonata-project/doctrine-mongodb-admin-bundle[3.0.0, 3.1.0, 3.1.1, 3.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- C:\wamp64\bin\php\php7.0.10\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.
I'm going to install media-bundle.To install the media-bundle, i must
follow the dependencies.before install media-bundle i must have
installed doctrine-mongodb-admin-bundle tutorial
I understood this correctly.I have already doctrine-orm-admin.If
i want to install media-bundle i have to install
doctrine-mongodb-admin-bundle too
您缺少 mongo 的 php 扩展,请尝试安装 https://github.com/alcaeus/mongo-php-adapter,它应该可以工作。
您仍然需要安装 mongo 扩展程序。
我正在使用 Symfony 3.4 Flex 和 sonata-admin-bundle": "^3.33" & "php": "^7.0.8"...我想安装 doctrine-mongodb -管理员-bundle.when我运行
php composer.phar require sonata-project/doctrine-mongodb-admin-bundle 3.*@dev
我有这个错误
Your requirements could not be resolved to an installable set of packages.
Problem 1
- sonata-project/doctrine-mongodb-admin-bundle 3.1.0 requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- sonata-project/doctrine-mongodb-admin-bundle 3.1.1 requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- sonata-project/doctrine-mongodb-admin-bundle 3.x-dev requires doctrine/mongodb-odm ^1.0 -> satisfiable by doctrine/mongodb-odm[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1].
- doctrine/mongodb-odm 1.2.0 requires doctrine/mongodb ^1.6.1 -> satisfiable by doctrine/mongodb[1.6.1].
- doctrine/mongodb-odm 1.2.1 requires doctrine/mongodb ^1.6.1 -> satisfiable by doctrine/mongodb[1.6.1].
- doctrine/mongodb-odm 1.1.0 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.1 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.2 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.3 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.4 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.5 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.6 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.1.7 requires doctrine/mongodb ~1.3 -> satisfiable by doctrine/mongodb[1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.0 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.1 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.2 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.3 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.4 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.5 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.6 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.7 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb-odm 1.0.8 requires doctrine/mongodb ~1.2 -> satisfiable by doctrine/mongodb[1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1].
- doctrine/mongodb 1.6.1 requires ext-mongo ^1.6.7 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.6.0 requires ext-mongo ^1.6.7 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.5.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.4.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.3.0 requires ext-mongo ^1.5 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.2 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.1 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- doctrine/mongodb 1.2.0 requires ext-mongo ^1.2.12 -> the requested PHP extension mongo is missing from your system.
- sonata-project/doctrine-mongodb-admin-bundle 3.0.0 requires php ^5.3 -> your PHP version (7.0.10) does not satisfy that requirement.
- Installation request for sonata-project/doctrine-mongodb-admin-bundle 3.*@dev -> satisfiable by sonata-project/doctrine-mongodb-admin-bundle[3.0.0, 3.1.0, 3.1.1, 3.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- C:\wamp64\bin\php\php7.0.10\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.
I'm going to install media-bundle.To install the media-bundle, i must follow the dependencies.before install media-bundle i must have installed doctrine-mongodb-admin-bundle tutorial
I understood this correctly.I have already doctrine-orm-admin.If i want to install media-bundle i have to install doctrine-mongodb-admin-bundle too
您缺少 mongo 的 php 扩展,请尝试安装 https://github.com/alcaeus/mongo-php-adapter,它应该可以工作。
您仍然需要安装 mongo 扩展程序。