Symfony2 中的系统 (SonataAdminBundle) 缺少请求的 PHP 扩展 intl

2023-12-19

我尝试安装沙箱,但从作曲家那里收到以下错误:

加载包含包信息的 Composer 存储库 来自锁定文件的依赖项 您的要求无法解析为 一组可安装的软件包。

问题1

- Installation request for sonata-project/intl-bundle 2.1.0 -> satisfiable by sonata-project/intl-bundle 2.1.0.`

- sonata-project/intl-bundle 2.1.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.`

问题2

- sonata-project/intl-bundle 2.1.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.`

- sonata-project/news-bundle 2.1.x-dev requires sonata-project/intl-bundle 2.1.* -> satisfiable by sonata-project/intl-bundle 2.1.0.
- Installation request for sonata-project/news-bundle 2.1.

我在安装新的 Magento 2.0 时遇到了同样的问题,经过不同的尝试和尝试,我设法通过以下步骤解决它:

我全部复制了icu*将文件从 php 目录复制到 Apache 目录,并且成功了。

PHP目录:

WAMP\bin\php\php5.5.12

阿帕奇目录:

WAMP\bin\apache\apache2.4.9

确保取消注释 php.ini 文件中的以下行:

扩展名=ext/php_intl.dll

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Symfony2 中的系统 (SonataAdminBundle) 缺少请求的 PHP 扩展 intl 的相关文章

随机推荐