In order for moodle to be updated to newer versions the update of php version is inevitable. PHP8.1 will guarantee us the opportunity to update to moodle version 4.2. Note that the update must be condacted into a dev environment first. All custom plugins,themes,scripts must also be checked thorougly so we make sure that everything is working as it should.
\uD83D\uDCD8 Instructions
Instructions on how to install it on our EC2 instances. We take for granted that we already have Amazon Linux 2 installed with amazon-linux-extras.
The steps are as follows:
check what php version we currently have.
Uninstall php
sudo yum remove php* sudo yum remove /etc/php*
check that php is completely removed
whereis php php -v
Install php along with all packages that are required for moodle to operate.
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.