gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 00:24:37 26 4
gpt4 key购买 nike

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

Loading composer repositories with package information Installing dependencies from lock file Your requirements could not be resolved to an installable set of packages.

问题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 目录复制到 Appache 目录,并且它有效。

PHP 目录:

WAMP\bin\php\php5.5.12

Appache目录:

WAMP\bin\apache\apache2.4.9

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

extension=ext/php_intl.dll

关于php - Symfony2 中的系统 (SonataAdminBundle) 缺少请求的 PHP 扩展 intl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17698434/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com