moodle在xampp环境下的安装以及使用

moodle 安装:

安装xampp环境,并在其管理界面(127.0.0.1或者http://localhost打开)中的phpmyadmin新建一个名为moodle的数据库并且设计其字符格式为uft—8bin。

随后将moodle文件夹解压并放到xampp/htdocs目录下。

打开http://localhost/moodle链接,即进入安装界面。

安装注意:数据库建议名称设计为root,端口为3306

错误以及其处理:

1、

Fatal error: Maximum execution time of 30 seconds exceeded inC:\wamp\www\Moodle\moodle\lib\filelib.php on line1068

链接超时了,没办法,Moodle网页中给出的答案如下:

PHP scripts are killed after a certain amount of time. This isdone so that a bad script (with an infinite loop, say) doesn't windup running forever.

Maybe your mail connection is slow, causing the script to take along time to run? Just a guess there.

There's a parameter named max_execution_time in php.ini that youcan set to a higher value if necessary. It gives the number ofseconds the script is allowed to run.

If you set it to a higher value, you'll need to restart theApache server before the change takes effect.

即修改PHP中php:ini文件下的max_execution_time 为120,顺利通过。

2、

Warning: mysqli::close()[mysqli.close]:Couldn't fetch mysqli inC:\wamp\www\Moodle\moodle\lib\dml\mysqli_native_moodle_database.phpon line 336

解决办法是数据库密码设置为空,即不要设置密码


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值