Diễn đàn Nhật Bản - diendannhatban.info
NHÀ PHÁT TRIỂN - DEVELOPERS - 技術開発 => FRAMEWORK - SDK => CakePHP => Tác giả chủ đề:: admin trong Thứ bảy, 16/01/2016, 03:35:02 pm
-
Update composer trên MacOS thì báo lỗi như sau
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "./composer.phar self-update" to get the latest version.
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
- cakephp/cakephp 3.2.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.2.0-RC1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.0-beta2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.0-beta requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.0-RC1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.1.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.8 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.15 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.14 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.13 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.12 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.11 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.10 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-beta3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-beta2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-beta1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-alpha2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-alpha1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-RC2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0-RC1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.0.13 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- Installation request for cakephp/cakephp ~3.0 -> satisfiable by cakephp/cakephp[3.0.0, 3.0.0-RC1, 3.0.0-RC2, 3.0.0-alpha1, 3.0.0-alpha2, 3.0.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.1, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.
-
Cài đặt php56-intl trên MacOS X như sau
sudo chown -R $(whoami):admin /usr/local
brew update
brew install homebrew/php/php56-intl
*Tham khảo hướng dẫn cài đặt brew trên Mac
http://diendannhatban.info/index.php?topic=2172.0