Help us understand the problem. What is going on with this article?

CakePHPインストール時に「the requested PHP extension intl is missing from your system.」が発生

composerを使ってcakephp3をインストールしようとしたら、表題の様なエラーが発生したため、対処方法をメモ。

原因

「phpの拡張の「intl」がインストールされていないよ」的な感じ。

対処方法

下記のコマンドを実行して必要な拡張機能をインストール

$ sudo yum --enablerepo=remi,remi-php7.2 update
$ sudo yum --enablerepo=remi,remi-php7.2 install php72-php-intl

上記のコマンドを実行後、改めてCakePHPをインストール

CakePHPインストール

$ composer create-project --prefer-dist cakephp/app samplecake

結果

やっとCakePHPのインストールが成功しました。

Laravelのインストールが正常にできても、CakePHPのインストール時には上記のようなエラーが発生する時があるようです。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away