引用文章自
http://docs.moodle.org/en/Environment#Moodle_version_1.9
Moodle version 1.6
MySQL
version 4.1.12 or later for sites that are exclusively Latin-1, 4.1.16
if you have other languages, or PostgreSQL 7.4.x or later
PHP version 4.3.0 or later is required ( but don't use versions 5.0.0 to 5.0.6 which were buggy )
The php_extension iconv is recommended to be installed/enabled
The php_extension mbstring is recommended to be installed/enabled
Moodle version 1.8
MySQL version 4.1.16 or later is required, or PostgreSQL 7.4.x or later
PHP version 4.3.0 or later is required ( but don't use versions 5.0.0 to 5.0.6 which were buggy )
Unicode is required
The php_extension curl is recommended to be installed/enabled
The php_extension iconv is recommended to be installed/enabled
The php_extension mbstring is recommended to be installed/enabled
The php_extension openssl is recommended to be installed/enabled
The php_extension tokenizer is recommended to be installed/enabled
Moodle version 1.9
MySQL version 4.1.16 or later is required, or PostgreSQL 8.0 or later
Moodle version 2.0PHP version 5.2.0 or later is required