有关Symfony / icu的问题

时间:2015-05-06 21:41:21

标签: php symfony symfony-2.3

我是Symfony的新人。我从我的客户那里得到了一个以前开发过的项目。我试图在我的localhost中安装。在这方面我得到了以下错误

Fatal error: Class 'FOS\UserBundle\FOSUserBundle' not found in D:\php\htdocs\my_project\app\AppKernel.php on line 22

然后我尝试更新friendsofsymfony /user-bundle并获得以下结果

D:\php\htdocs\my_project>php D:\php\php\composer.phar update friendsofsymfony /user-bundle 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

symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.

symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.

symfony/icu v1.2.0 requires lib-icu >=4.4 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.

Installation request for symfony/icu == 1.2.0.0 -> satisfiable by symfony/ icu[v1.2.0]. 

然后我阅读了这篇文章(Problems with lib-icu dependency when installing Symfony 2.3.x via Composer)并尝试按照说明更新Symfony/icu并获得以下结果

D:\php\htdocs\my_project>php D:\php\php\composer.phar update symfony/icu
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing symfony/icu (v1.0.1)
  - Installing symfony/icu (v1.1.2)
    Downloading: 100%

  - Updating knplabs/doctrine-behaviors dev-master (c78fbb4 => ea0f040)
    The package has modified files:
    D ihadis/app/Resources/assets/plugins/bootstrap/fonts/glyphicons-halflings-r
egular.eot?
    Discard changes [y,n,v,s,?]? n



  [RuntimeException]
  Update aborted



update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock]
 [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-
progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
 [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [p
ackagesN]

如何更新Symfony/icufriendsofsymfony/user-bundle ??有人能在这方面给我解决方案吗?

0 个答案:

没有答案