Technical requirements
Moodle is a PHP Application, which is backed by a relational database.
Five database types are supported, and several versions of PHP.
PHP
Moodle 4.0 supports the following PHP versions:
- 7.3
- 7.4
- 8.0
The following PHP extensions are required (most of which are installed and enabled by default in most PHP installations):
iconv
mbstring
curl
openssl
ctype
zip
zlib
simplexml
spl
pcre
dom
xml
xmlreader
intl
json
hash
fileinfo
Relational Database
The following relational database servers are supported. The relevant PHP extension will also be required.
- MariaDB (version 10.2.29 or higher) with the MySQLi PHP Extension
- MySQL (version 5.7 or higher) with the MySQLi PHP Extension
- Postgresql (version 10 or higher) with the pgsql PHP Extension
- Microsoft SQL Server (version 14.0 or higher) with the
SQLSRV
PHP Extension - Oracle (version 11.2 or higher) with the OCI8 PHP Extension