问题
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