Issue with sonataIntlBundle - I can`t install with composer

风流意气都作罢 提交于 2019-12-11 06:09:11

问题


Output from composer (after composer.phar update)

Problem 1 - Installation request for sonata-project/intl-bundle 2.2.*@dev -> satisfiable by sonata-project/intl-bundle[2.2.x-dev]. - sonata-project/intl-bundle 2.2.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system. Problem 2 - sonata-project/intl-bundle 2.2.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system. - symfony/framework-standard-edition 2.3.x-dev requires sonata-project/intl-bundle 2.2.*@dev -> satisfiable by sonata-project/intl-bundle[2.2.x-dev]. - Installation request for symfony/framework-standard-edition 2.3.x-dev -> satisfiable by symfony/framework-standard-edition[2.3.x-dev].

My composer.json:

http://pastebin.com/5RcERC6T

My phpinfo():

http://imageshack.us/f/109/ijoa.png/

And also /etc/php5/cgi/php.ini:

... [intl] intl.default_locale = pl_utf8 ; This directive allows you to produce PHP errors when some error ; happens within intl functions. The value is the level of the error produced. ; Default is 0, which does not produce any errors. intl.error_level = E_WARNING ...

Is there something else I can do?


回答1:


If you are on a WAMP or MAMP server, please check that your extension is set in the two php.ini.



来源:https://stackoverflow.com/questions/18463300/issue-with-sonataintlbundle-i-cant-install-with-composer

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