sonataIntlBundle的问题-我无法通过composer安装 [英] Issue with sonataIntlBundle - I can`t install with composer

查看:85
本文介绍了sonataIntlBundle的问题-我无法通过composer安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

composer的输出(在composer.phar更新之后)

Output from composer (after composer.phar update)

问题1
-sonata-project / intl-bundle 2.2的安装请求。* @ dev ->由sonata-project / intl-bundle [2.2.x-dev]可以满足。
-sonata-project / intl-bundle 2.2.x-dev需要ext-intl *->系统中缺少所请求的PHP扩展intl。
问题2
-sonata-project / intl-bundle 2.2.x-dev需要ext-intl *->系统中缺少所请求的PHP扩展intl。
-symfony / framework-standard-edition 2.3.x-dev需要sonata-project / intl-bundle 2.2.*@dev-> sonata-project / intl-bundle [2.2.x-dev]可满足。
-symfony / framework-standard-edition 2.3.x-dev的安装请求-> symfony / framework-standard-edition [2.3.x-dev]可满足。

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].

我的composer.json:

My composer.json:

http:// pastebin .com / 5RcERC6T

我的phpinfo():

My phpinfo():

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

还有/etc/php5/cgi/php.ini:

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

...
[intl]
intl。 default_locale = pl_utf8
;当某些错误
时,此指令允许您产生PHP错误。发生在intl函数中。该值是产生的错误级别。
;默认值为0,不会产生任何错误。
intl.error_level = E_WARNING
...

... [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?

推荐答案

如果您使用的是WAMP或MAMP服务器,请检查扩展名是否已设置在两个php.ini中。

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

这篇关于sonataIntlBundle的问题-我无法通过composer安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆