我有PHP版本7,Windows 10 Pro OS,并且已经将extension=php_intl.dll
注入了php.ini中,而未添加注释。 (它甚至根本没有;extension=php_intl.dll
)
通过composer安装会显示以下错误:
您的要求无法解决为一组可安装的软件包。
问题1
- cakephp/cakephp 3.6.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.8 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.10 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/cakephp 3.6.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
- Installation request for cakephp/cakephp 3.6.* -> satisfiable by cakephp/cakephp[3.6.0, 3.6.1, 3.6.10, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 3.6.6, 3.6.7, 3.6.8, 3.6.9].
答案 0 :(得分:0)
在您的php.ini
文件中,取消注释以下行
;extension=php_intl.dll