Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle and PHP: Difference between revisions

From MoodleDocs
m (double word deleted)
(Add information about php81 status)
Line 14: Line 14:


MDL-70745 - '''PHP 8.0 support is being implemented for Moodle 3.11 and later releases. Hence it's still incomplete and only for development purposes'''
MDL-70745 - '''PHP 8.0 support is being implemented for Moodle 3.11 and later releases. Hence it's still incomplete and only for development purposes'''
MDL-73016 - '''PHP 8.1 support is being implemented for Moodle 4.1 and later releases. Hence it's still incomplete and only for development purposes'''
[[fr:Moodle et PHP]]
[[fr:Moodle et PHP]]

Revision as of 21:13, 26 May 2022

New PHP versions are released every year and come with important improvements and changes compared with previous versions. Moodle tries to support them as soon as possible, always matching them with our own scheduled release plans.

This page contains the current status of support for every PHP version and Moodle versions. For details, follow also the epic links below that combine all the changes that were made in Moodle to ensure PHP compatibility. (Note: you must be logged in to tracker to see issues in Epics)

MDL-50565 - PHP 7.0 can be used with Moodle 3.0.1, Moodle 3.1 and later releases. It is also the minimum supported version for Moodle 3.4. See Moodle and PHP 7.0 details for details.

MDL-55120 - PHP 7.1 can be used with Moodle 3.2 and later releases. It is also the minimum supported version for Moodle 3.7.

MDL-60279 - PHP 7.2 can be used with Moodle 3.4 and later releases. It is also the minimum supported version for Moodle 3.9.

MDL-63420 - PHP 7.3 can be used with Moodle 3.6.4, Moodle 3.7 and later releases. It is also the minimum supported version for Moodle 3.11.

MDL-66260 - PHP 7.4 can be used with Moodle 3.8.3, Moodle 3.9 and later releases.

MDL-70745 - PHP 8.0 support is being implemented for Moodle 3.11 and later releases. Hence it's still incomplete and only for development purposes

MDL-73016 - PHP 8.1 support is being implemented for Moodle 4.1 and later releases. Hence it's still incomplete and only for development purposes