intl and icu configuration

心不动则不痛 提交于 2019-12-02 05:41:45
Nicolai Fröhlich

Symfony 2.3 requires the intl extension to be version >= 4.0 ( a version greater than 4.4 at best ) because of it's dependency to the symfony/intl component.

Composer will download different versions of symfony/intl and lock these in your composer.lock depending on your development ICU version.

This means if you develop on a system with ICU greater than 4.4 you won't be able to install on a server with ICU < 4.4.

Please read the documentation chapter ICU and Deployment Problems.

Update your intl extension as suggested in my answer here:

sudo aptitude install php5-intl 

... or add

"require: {
    "symfony/icu": "1.0.*"
}

to your composer.json.

For me worked installing symfony/intl

"symfony/intl": "2.5.5",

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