Moodle is NOT compatible with PHP 8.2.
Please see the release notes, https://moodledev.io/general/releases/4.1
"PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x and 8.1.x are supported too"
Please see the release notes, https://moodledev.io/general/releases/4.1
"PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x and 8.1.x are supported too"
I was going to install Moodle 4.1 in php81-fpm environment, and next switch into php82-fpm. But now I think that it carries unwanted risks. I stay with php81.
Regards.
Regards.
Moodle 4.1, php8.1-fpm and Nginx is the combination started testing for the summer. It feels "fluid" (responsive) if you look away from some graphical changes which are not liked by the routined teachers. One can argue about it. But MDL-71909 is a real road block (for me).
I have the latest versions of Moodle and PHP 8.2 and everything worked perfectly until I wanted to install the Moodle Adaptable free theme. Is that because these two are not compatible - newest version of Moodle and PHP 8.2?
I managed to solve the problem. I actually didn't pay attention to what veriosn of moodle theme I chose along with the _Moodle version. So simple actually. Of course, PHP version is also very important. I posted this in case someone needs it.
Having now been over this in several threads.
Moodle 4.2 (the latest) is NOT compatible with PHP 8.2. This isn't because nobody bothered to test it; it's because there are known outstanding issues. Moodle will be compatible just not yet.
Worse... that's core Moodle. Optional plugins *should* be compatible with the same range of server software as the core Moodle versions they claim compatibility with. However, to check all that is a big ask and may not always be the case.
If you choose to use 8.2 despite this then you are very much on your own.
Moodle 4.2 (the latest) is NOT compatible with PHP 8.2. This isn't because nobody bothered to test it; it's because there are known outstanding issues. Moodle will be compatible just not yet.
Worse... that's core Moodle. Optional plugins *should* be compatible with the same range of server software as the core Moodle versions they claim compatibility with. However, to check all that is a big ask and may not always be the case.
If you choose to use 8.2 despite this then you are very much on your own.