現在cakePHP3の環境設定をしていて必要なライブラリ類をプロジェクトにインストールしようとしています。
参考サイト:http://libro.tuyano.com/index3?id=4536004&page=3
ちなみに前回の続きになります。
https://teratail.com/questions/29119
無事パスの通った場所にcomposerのバイナリファイルをコピーすることでどこからでもcomposerコマンドは実行できるようになったのですが、新たな問題が発生しました。
「プロジェクト名」直下の「composer.json」のあるディレクトリで
「composer install」を実行したのですが、次のようなエラーが発生してしまいました。
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 - cakephp/cakephp 3.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - Installation request for cakephp/cakephp 3.2.3 -> satisfiable by cakephp/cakephp[3.2.3].
これのエラーを解決するためhttp://hiroki-tkg.com/?p=1539も参考にし、「PHP extension intl」をインストールしようとしたのですがうまくいきません。
具体的に言うと
「sudo port install php55-intl」
までできたのです。ほぼ最後までできたのですが、
「プロジェクト名」直下の「composer.json」のあるディレクトリで
「composer install」を実行すると、上記のようなエラーが発生してしまいます。
どなたかわかる方がいらっしゃればアドバイスいただきたいです。
回答1件
あなたの回答
tips
プレビュー