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.

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

更多相关文章

  1. log4php将不同级别的日志打印到不同的日志文件中
  2. PHP - 在外部服务器上读取文件?
  3. 仅在LARAVEL或AJAX中提交表单时,无需用户身份验证即可将文件上载
  4. PHP ZipArchive 实现压缩解压Zip文件
  5. ajax php bomt头 utf-8带来的奇怪问题。。返回值false 判断也是f
  6. 编译php时遇到的错误
  7. 纯php文件不加结束标记的好处
  8. 大文件从指定行开始读取
  9. MySQL错误1046:未选择数据库

随机推荐

  1. mvp过渡到mvvm(Android(安卓)架构组件)
  2. android音乐播放器实现
  3. 打开SDK Manager检查Android SDK下载和更
  4. 2010.12.10(3)——— android MapView 以
  5. Android 任务共用性Affinity
  6. Android 自定义 Dialog 大小 位置 样式
  7. android项目案例6- 基于Android studio的
  8. android 地图
  9. Android进阶(十八)AndroidAPP开发问题汇
  10. Android动画效果