cakephp3のインストール
Version確認
PCはWindows10です。
$ php -vPHP 5.6.21 (cli) (built: Apr 27 2016 20:13:54)
$ composer --versionComposer version 1.3.0 2016-12-24 00:47:03composerでcakephp3のプロジェクト作成
$ composer create-project --prefer-dist cakephp/app hogeエラーがでた。
Problem 1 - cakephp/cakephp 3.3.9 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.8 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.7 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.6 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.5 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.4 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.2 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.11 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.10 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.1 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.0-beta3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.0-beta2 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.0-beta requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.0-RC1 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.3.0 requires ext-intl * -> the requested PHP extension intl is missing from your system. - Installation request for cakephp/cakephp 3.3.* -> satisfiable by cakephp/cakephp[3.3.0, 3.3.0-RC1, 3.3.0-beta, 3.3.0-beta2, 3.3.0-beta3, 3.3.1, 3.3.10, 3.3.11, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9].
To enable extensions, verify that they are enabled in your .ini files: - D:\xampp\php\php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.intlがないといけないらしい。 php.iniの下記のコメントを外す。
;extension=php_intl.dllインストール。
$ composer install設定ファイルをコピー&編集
$ cp config/app.default.php config/app.phpデータベース設定とSECURITY_SALTを修正する。