ICU version compatibility Symfony 3.1

安稳与你 提交于 2019-11-28 07:14: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?


回答1:


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




回答2:


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



回答3:


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


来源:https://stackoverflow.com/questions/39377132/icu-version-compatibility-symfony-3-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!