今天在初始化Symfony2時
在Terminal下
$php composer.phar instal
卻出現一串錯誤
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/icu v1.2.0 -> satisfiable by symfony/icu[v1.2.0].
- 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.
Problem 2
- 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/symfony v2.3.4 requires symfony/icu ~1.0 -> satisfiable by symfony/icu[v1.2.0].
- Installation request for symfony/symfony v2.3.4 -> satisfiable by symfony/symfony[v2.3.4].
最後弄很久
選擇怒關ICU功能
$php composer.phar require symfony/icu ~1.0
之後就正常了