ICU version compatibility Symfony 3.1

2019-01-27 16:46发布

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?

3条回答
淡お忘
2楼-- · 2019-01-27 17:06

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
查看更多
看我几分像从前
3楼-- · 2019-01-27 17:19

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
查看更多
欢心
4楼-- · 2019-01-27 17:23

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

查看更多
登录 后发表回答