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
解决办法是数据库密码设置为空,即不要设置密码