Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for symfony/icu v1.2.2 -> satisfiable by symfony/icu[ v1.2.2]. - symfony/icu v1.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system. Problem 2 - symfony/icu v1.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system. - symfony/symfony v2.4.10 requires symfony/icu ~1.0 -> satisfiable by symfon y/icu[v1.2.2]. - Installation request for symfony/symfony v2.4.10 -> satisfiable by symfony /symfony[v2.4.10]. To enable extensions, verify that they are enabled in those .ini files: - C:\php5\php-5.5.30-nts-Win32-VC11-x64\php.ini You can also run `php --ini` inside terminal to see which files are used by PH P in CLI mode.
错误信息如上: 今天跑了一个github上的基于Symfony的项目,安装依赖的时候遇到的错误信息:
(下载的项目当然要先安装依赖了)
解决办法: 进入php的安装目录找到php.ini这个配置文件:
找到这个一行“;extension=php_intl.dll” 然后去掉前面的分号 “extension=php_intl.dll” 保存就好了;
如下:
extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_gmp.dll extension=php_intl.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll extension=php_mbstring.dll --去掉这一行前面的分号就ok了! ;extension=php_exif.dll ; Must be after mbstring as it depends on it ;extension=php_mysql.dll
https://www.orocrm.com/forums/topic/php-intl-extension-not-available-issue参考人家的解决
的
时间: 2024-10-10 23:16:43