Install PHP intl extension on MacOS

Nishant Sethi picture Nishant Sethi · Feb 7, 2017 · Viewed 23.6k times · Source

I am facing some issues in the installation of Cakephp. I hope any one had faced the same issue.

The error

- cakephp/cakephp 3.3.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.

As per the error message, I removed ; from php.ini file but still getting the same error.

I have Mac 10.12 Sierra, Xampp 5.6.28-1 version and PHP 5.6.24 version.

Answer

Kilian Batzner picture Kilian Batzner · Oct 29, 2017
  1. Install the php5-intl extension brew install php56-intl
  2. If you get No available formula for php56-intl do brew tap homebrew/homebrew-php
  3. Restart Apache sudo apachectl restart