Intl扩展名php_intl.dll,带有wamp

Intl扩展名php_intl.dll,带有wamp

问题描述:

我想使用Moodle,但是在安装过程中出现错误:

I want to use Moodle, but I get an error during the installation process:

php_extension-> intl->应该被安装并启用以达到最佳效果.

php_extension->intl->should be installed and enabled for best results.

Intl扩展用于改善国际化支持,例如支持区域设置的排序.

Intl extension is used to improve internationalization support, such as locale aware sorting.

当我单击链接时,出现上面的错误消息:http://docs.moodle.org/24/en/admin/environment/php_extension/intl

When I click on the link, I get the error message above: http://docs.moodle.org/24/en/admin/environment/php_extension/intl

我点击了该链接,但仍然遇到相同的错误.如果有人有任何想法,请帮帮我.

I followed that link, but I still get the same error. If anyone has any ideas, please help me out.

几天前我遇到了同样的问题.

I had the same problem a few days ago.

您必须复制所有文件(所有文件均以icu*开头):

You have to copy all the files (all files starts with icu*):

icudt.dll
icudt46.dll
icuin.dll
icuin46.dll
icuio.dll
icuio46.dll
icule.dll
icule46.dll
iculx.dll
iculx46.dll
icutest.dll
icutest46.dll
icutu.dll
icutu46.dll
icuuc.dll
icuuc46.dll

发件人:

<wamp_installation_path>/bin/php/php5.4.3/

收件人:

<wamp_installation_path>/bin/apache/apache2.2.22/bin/

并且您还需要在php.ini文件中启用intl(取消注释此行):

And you also need to enable intl in php.ini file (uncomment this line):

;extension=php_intl.dll

然后重新启动服务器.它应该可以正常工作.

And restart the server. It should works fine.

当然,您需要用自己的文件夹名称替换.

Of course, you need to replace the folder names with your own.