My (Symfony) application currently crashes, throwing the error:
("The Symfony\Component\Intl\Collator\Collator::__construct() method's argument $locale value 'fr' behavior is not implemented. Only the locale "en" is supported. Please install the "intl" extension for full localization capabilities.")
I actually didn't have intl
installed, so I did
sudo apt-get install php5-intl
That also got libicu52
dependency in the process
My application still complains with the same error
I restarted my web server (NginX with php-fpm) manually (even if apt-get does it already).
How can I find the origin of the issue ?
try this if original solution does not work for you: By default, symfony2 is able to manage the "en" extension but to get other language, you have to install the php-intl extension.
The easiest option is to install it with the composer, because it expose global variable for you ... etc
All of this is explained here symfony/components/intl.
For the composer extension installation it's symfony/components/using_components.
So after eading this, you need to execute :
DO NOT FORGET TO RESTART YOUR APACHE2 SERVER (sudo service apache2 restart)
source: https://stackoverflow.com/questions/25723804/a-php-platform-install-ask-me-intl-extension-but-it-seems-already-installed