相當新的Symfony的,我想要得到的CMF的工作,但我使用作曲家安裝Symfony2的CMF作曲家發出
當在終端上運行的代碼,我得到這個
安裝它有問題警告:鎖定文件未及時更新composer.json中的最新更改。您可能會獲得過時的依賴關係。運行更新以更新它們。 您的要求不能被解析到一個安裝包集合。
問題1
- symfony/icu的安裝請求1.2.x-dev - > symfony/icu [1.2.x-dev]可以滿足要求。
- symfony中/ ICU的1.2.x-dev的要求LIB-ICU> = 4.4 - >請求鏈接庫ICU安裝了錯誤的版本或者是從 您的系統缺失,確保有擴展提供它。問題2
- symfony中/ ICU的1.2.x-dev的要求LIB-ICU> = 4.4 - >請求鏈接庫ICU有錯誤的版本安裝或從 缺少您的系統,確保有擴展提供它。
- 的symfony/symfony的2.3.x版本-dev的需要的symfony/ICU〜1.0 - >由的symfony /令人滿意的ICU [1.2.x的-dev的]。 - 爲symfony1.2/symfony的2.3.x版本-dev的安裝請求 - >可滿足通過的symfony/symfony的[2.3.x版本-dev的]。
按照要求我composer.json看起來像這樣...
{
"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",
"knplabs/knp-paginator-bundle": "2.3.*@dev" },
"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"
}
}
}
我已經運行
composer.phar update
並沒有錯誤,但其他問題是一個有點神祕,以我
任何幫助,將不勝感激...
你能告訴我們你的'composer.json'的內容? – Touki