Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ICU version compatibility Symfony 3.1

I have a problem installing symfony 3.1 in php7, nginx and ubuntu 16.04, i have this error:

intl ICU version installed on your system is outdated (55.1) and does not match the ICU data bundled with Symfony (57.1) To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.

How can i solve this issue? can i change symfony and use IC 55.1 instead of ICU 57.1?

like image 332
Andres Avatar asked Sep 07 '16 18:09

Andres


3 Answers

I presume you get this when you run:

php bin/symfony_requirements

This is just a warning and you can safely ignore the message. I've response to similar questions on this. See this URL for more details:

https://github.com/symfony/symfony/issues/15007

like image 51
Alvin Bunk Avatar answered Nov 02 '22 03:11

Alvin Bunk


To install ICU 57.1 run:

curl -sS -o /tmp/icu.tar.gz -L http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz && tar -zxf /tmp/icu.tar.gz -C /tmp && cd /tmp/icu/source && ./configure --prefix=/usr/local && make && make install
like image 42
user7590309 Avatar answered Nov 02 '22 03:11

user7590309


run

curl -sS -o /tmp/icu.tar.gz -L http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-src.tgz && tar -zxf /tmp/icu.tar.gz -C /tmp && cd /tmp/icu/source && ./configure --prefix=/usr/local && make && sudo make install

than run

sudo pecl install intl
like image 28
pedram shabani Avatar answered Nov 02 '22 01:11

pedram shabani