Debian 11 Bullseye Breaks Amazon Lightsail Secure Console. Workaround that I found related to how SSL certification was handled did not resolve problem for me. Unfortunately I didn’t write this day I ran into problem. On public machine and was doing update same. So no bookmarks to reference help topics that failed.
After several days and attempts trying to resolve problem I gave up. Restored from a Lightsail Instance updated PHP and called it a day.