PLEASE tell me that you took a full backup of Moodle first? The chances of doing an Ubuntu update and Moodle surviving are remote.
In this case, it looks as though PHP has ceased to be installed. I would always advise taking a backup of Moodle, installing a clean (newer) version of Ubuntu and then restoring Moodle.
In this case, it looks as though PHP has ceased to be installed. I would always advise taking a backup of Moodle, installing a clean (newer) version of Ubuntu and then restoring Moodle.