2017-05-16 5 views
0

OS X Sierra 10.12.5を使って作曲者とcakephp 3.4.2プロジェクトを作成しようとしています。OSX Composer Cakephp 3.4.2セットアップの問題

私はエラーを取得:I run brew install php56-intl 私が取得するときしかし

Updating dependencies (including require-dev) 

Your requirements could not be resolved to an installable set of packages. 

    Problem 1 
    - cakephp/cakephp 3.4.6 requires ext-intl * -> the requested PHP extension intl is missing from your system. 
    - cakephp/cakephp 3.4.5 requires ext-intl * -> the requested PHP extension intl is missing from your system. 
    - cakephp/cakephp 3.4.4 requires ext-intl * -> the requested PHP extension intl is missing from your system. 
    - cakephp/cakephp 3.4.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. 
    - cakephp/cakephp 3.4.2 requires lib-icu >=4.8 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. 
    - cakephp/cakephp 3.4.1 requires lib-icu >=4.8 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it. 
    - cakephp/cakephp 3.4.0 requires lib-icu >=4.8 -> 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 cakephp/cakephp 3.4.* -> satisfiable by cakephp/cakephp[3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6]. 

を:

Error: /usr/local/Cellar is not writable. You should change the 
ownership and permissions of /usr/local/Cellar back to your 
user account: 
    sudo chown -R $(whoami) /usr/local/Cellar 
Warning: homebrew/php/php56-intl-5.6.30_7 already installed 

私は "通常の" ユーザーアカウントを使用しているので、sudoersファイルでこれを持っているし、別の管理者を持っていませんその管理者アカウントを使用してhome-brewとphp56 intlをインストールしました。

+0

https://codingexplained.com/dev-ops/mac/installing-php-intl-extension-os-x-mavericks これはあなたを助けるかもしれません! –

答えて

0

私はちょうど..このお試しください同じ問題を解決:あなたのserver/binディレクトリに

  • コピーPHPのディレクトリからすべてのファイルをicu*.dll
  • php.iniを編集し、カンマ(;)を削除します。extension=php_intl.dll
  • httpサーバーを再起動します。
  • 作曲家をもう一度実行します。

動作するはず