0
0

More than 3 years have passed since last update.

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

Posted at

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のインストール時には上記のようなエラーが発生する時があるようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0