PHP Versions Supported by Moodle
Updated last month
Depending on the version of Moodle you want to install, below we detail the PHP version supported by each one:
Moodle 3.4 and Moodle 3.5 support PHP 7.0 to 7.2
Moodle 3.6 supports PHP 7.0
Moodle 3.7 supports PHP 7.1
Moodle 3.9 supports PHP 7.2 to 7.4
Moodle 3.11 and 4.0 support PHP 7.3 to 8.0
Moodle 4.1 (LTS) supports PHP 7.4 to 8.1
Moodle 4.2 supports PHP 8.0 to 8.2
Moodle 4.3 supports PHP 8.0 to 8.2
Moodle 4.4 supports PHP 8.1 to 8.3
We always recommend choosing the newest PHP version supported by our Moodle installation to benefit from improved performance, efficiency, and resource usage.
You can find more details, as well as the required PHP extensions, in the official Moodle documentation.
Was this helpful?
Was this helpful?