带有wamp的intl扩展名php_intl.dll
I want to use Moodle, but I get an error during the installation process:
我想使用Moodle,但在安装过程中出错:
php_extension->intl->should be installed and enabled for best results.
应安装并启用php_extension-> intl->以获得最佳结果。
Intl extension is used to improve internationalization support, such as locale aware sorting.
Intl扩展用于改进国际化支持,例如区域设置感知排序。
When I click on the link, I get the error message above: http://docs.moodle.org/24/en/admin/environment/php_extension/intl
当我点击链接时,我收到上面的错误消息: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.
我跟着那个链接,但我仍然得到同样的错误。如果有人有任何想法,请帮助我。
4 个解决方案
#1
52
I had the same problem a few days ago.
几天前我遇到了同样的问题。
You have to copy all the files (all files starts with icu*
):
您必须复制所有文件(所有文件以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
From:
<wamp_installation_path>/bin/php/php5.4.3/
To:
<wamp_installation_path>/bin/apache/apache2.2.22/bin/
And you also need to enable intl in php.ini file (uncomment this line):
您还需要在php.ini文件中启用intl(取消注释此行):
;extension=php_intl.dll
And restart the server. It should works fine.
然后重启服务器。它应该工作正常。
Of course, you need to replace the folder names with your own.
当然,您需要用自己的文件名替换文件夹名称。
更多相关文章
- log4php将不同级别的日志打印到不同的日志文件中
- PHP - 在外部服务器上读取文件?
- 仅在LARAVEL或AJAX中提交表单时,无需用户身份验证即可将文件上载
- PHP ZipArchive 实现压缩解压Zip文件
- ajax php bomt头 utf-8带来的奇怪问题。。返回值false 判断也是f
- 编译php时遇到的错误
- 纯php文件不加结束标记的好处
- 大文件从指定行开始读取
- MySQL错误1046:未选择数据库