Using the CakePHP docs, I am trying to install 3.0-beta2 using composer but I got this error:
cakephp/cakephp 3.0.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system
However, I know for sure that intl is installed (it shows on phpinfo). I'm using PHP 5.4.33/Apache 2.4.10.1
I faced the same problem today. You need to enable the intl PHP extension in your PHP configuration (.ini
).
Solution Xampp (Windows)
/xampp/php/php.ini
;extension=php_intl.dll
to extension=php_intl.dll
(remove the semicolon)/xampp/php/ic*.dll
files to /xampp/apache/bin
Solution Linux (thanks to Annamalai Somasundaram)
Install the php5-intl extension sudo apt-get install php5-intl
1.1. Alternatively use sudo yum install php5-intl
if you are on CentOS or Fedora.
Restart apache sudo service apache2 restart
Solution Mac/OSX (homebrew) (thanks to deizel)
brew install php56-intl
No available formula for php56-intl
follow these instructions.sudo apachectl restart
Eventually you can run composer install
to check if it's working. It will give an error if it's not.