Hi there, looking for general advice on doing this upgrade. I feel I'm missing some steps. I have a Moodle 3.9 server running on Ubuntu 18.04.5 LTS. I'm trying all this on a test VM first. I'm planning on upgrading our production server to 3.11 in August.
Our Moodle 3.9 is using PHP 7.2. Moodle 3.11 requires at least PHP 7.3 or 7.4. I see that Ubuntu doesn't normally offer PHP 7.3 for Ubuntu 18, but I found articles on upgrading PHP by adding another, third-party repository (ppa:ondrej/php) and obtaining PHP 7.4 from there. php -v still shows PHP 7.2 as the active version running. I know I have to run sudo a2dismod php7.2 and sudo a2enmod php7.4, and restart Apache, to enable it.
I take it before doing these steps I need to download PHP7.4 versions of the various PHP extensions Moodle requires. If I download the various extensions listed under Site Admin > Server > Environment, would I then simply switch to PHP 7.4 using the steps mentioned above, and then continue on with the standard upgrade steps? I'm a bit confused as to the order of upgrade here... The last time I did an upgrade, I had created a new VM (our current one) and so PHP 7.2 was already there by default. Hope that makes sense! Thanks in advance for any help you can provide.