Upgrade 3.6.1+ to 3.10.3+ -> Default exception handler: Table "badge_alignment" already exists Debug: can not rename table

Re: Upgrade 3.6.1+ to 3.10.3+ -> Default exception handler: Table "badge_alignment" already exists Debug: can not rename table

by Alter Ego -
Number of replies: 0
In referring to this post:
https://moodle.org/mod/forum/discuss.php?d=407222

I have determined that the version of php that apache was using was the "old" version (7.0)

Create /var/www/html/phpinfo.php with the following:
<?php
  phpinfo();
?>

Browse to the server: www.myserver.com/phpinfo.php
The browser showed php v7.0 being used.

Ran the following commands to disable the old version and enable the new version:
# a2dismod php7.0
# a2enmod php7.4
# systemctl restart apache2

Refreshing the browser, the correct (7.4) version of php was displayed.

Deleted /var/www/html/phpinfo.php

My Moodle site is up again.