Regardless of which domain I enter that's using php 8.1, I'm getting the same web site Any ideas how this could happen and how I can recover from it? Many thanks
Which website you see is not bound to the PHP version on the config side. This behavior is quite strange indeed. What happens if you change the PHP version of one of these site to e.g. PHP 8.0 or 8.2, does it start working then and you see the correct site? Also, do the vhost files of these sites get stored with a .err file ending in the web server sites-available folder? When you see the wrong website, this normally happens due to wrong IP / domain / SSL (port) combinations as described here: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ in chapter 2. The only possibility I see in regard to getting such behavior in PHP is that the sites might be specifically programmed to use a shared PHP cache or so, which is made to re-use the content of other sites and, therefore, delivers the content of another site if not implemented properly in the site's code.
Many thanks. Indeed it was very strange. The only weird thing I had done was to install php81-php-pecl-zip from Remi's repo today. I did a DNF HISTORY UNDO, rebooted the machine and all seems well. I hate installing things without knowing what they do internally