Upgrading PHP only

Upgrading PHP only

by Tim Widdup -
Number of replies: 2

Hi, does anyone know if it would cause any issues to upgrade PHP to the latest version if we're running Moodle 3.11 with Apache version 2.4.48?  We're currently on PHP version 7.4.20

Thanks.

Average of ratings: Useful (1)
In reply to Tim Widdup

Re: Upgrading PHP only

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

Do you mean to PHP 7.4.27? That should be fine.

If you mean to PHP 8.0 or 8.1 then Moodle 3.11 supports PHP 7.3 or 7.4 only. A search of these forums will show issues with PHP 8.0 or 8.1 (example 1, example 2). Support for these versions can be tracked by watching MDL-70745 and MDL-73424 respectively.

This table of which Moodle versions work with which PHP versions may be useful.

Average of ratings: Useful (1)
In reply to Leon Stringer

Re: Upgrading PHP only

by Tim Widdup -
Hi Leon,

ok, thanks for letting me know. So, effectively we're stuck with PHP 7.4.x until Moodle itself is compatible with 8.x?