php - Error While installing FOSREST Bundle Symfony2 -


i trying install "fosrest" bundle create restful web services ionic framework can run services in symfony2.3.7 run on ionic framework angular.js etc.but getting following error.

doctrine/mongodb 1.0.3 requires ext-mongo >=1.2.12,<1.5-dev -> requested php extension mongo has wrong version (1.6.6) installed.

my composer.json following:

{ "name": "symfony/framework-standard-edition", "license": "mit", "type": "project", "description": "the \"symfony standard edition\" distribution", "autoload": {     "psr-0": {         "": "src/"     } }, "require": {     "php": ">=5.3.3",     "symfony/symfony": "2.3.*",     "doctrine/orm": ">=2.2.3,<2.4-dev",     "doctrine/doctrine-bundle": "1.2.*",     "twig/extensions": "1.0.*",     "symfony/assetic-bundle": "2.3.*",     "symfony/swiftmailer-bundle": "2.3.*",     "symfony/monolog-bundle": "2.3.*",     "sensio/distribution-bundle": "2.3.*",     "sensio/framework-extra-bundle": "2.3.*",     "sensio/generator-bundle": "2.3.*",     "incenteev/composer-parameter-handler": "~2.0",     "doctrine/mongodb-odm": "1.0.*@dev",     "doctrine/mongodb-odm-bundle": "3.0.*@dev",     "ismaambrosi/generator-bundle": "dev-master",     "egeloen/ckeditor-bundle": "~2.0",     "bicpi/html-converter-bundle": "1.0.*",     "symfony/expression-language": "^2.6",     "knplabs/knp-snappy-bundle": "~1.2" }, "scripts": {     "post-install-cmd": [         "incenteev\\parameterhandler\\scripthandler::buildparameters",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::buildbootstrap",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::clearcache",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::installassets",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::installrequirementsfile"     ],     "post-update-cmd": [         "incenteev\\parameterhandler\\scripthandler::buildparameters",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::buildbootstrap",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::clearcache",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::installassets",         "sensio\\bundle\\distributionbundle\\composer\\scripthandler::installrequirementsfile"     ] }, "config": {     "bin-dir": "bin" }, "minimum-stability": "stable", "extra": {     "symfony-app-dir": "app",     "symfony-web-dir": "web",     "incenteev-parameters": {         "file": "app/config/parameters.yml"     },     "branch-alias": {         "dev-master": "2.3-dev"     } } } 

i running command on command line:

$ composer require friendsofsymfony/rest-bundle @stable 

i have tried change "minimum-stability": "stable", "dev" still not working.

what missing or should resolve error?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -