個別の fpm ハンドラーを追加した後、仮想ホストが同じバージョンの php-fpm を使用する原因は何でしょうか?

個別の fpm ハンドラーを追加した後、仮想ホストが同じバージョンの php-fpm を使用する原因は何でしょうか?

php8.1-fpm.confを有効にすると、すべてのサイトがphp7.4-fpmからphp8.1-fpmに切り替わります。すべてのvhostファイルには、<VirtualHost *:80>次のようなブロックにfpmハンドラが追加されています。

<VirtualHost *:80>
  ServerAdmin [email protected]
  ServerName www.somesite.info
  # Only if there will be a temporary subdomain:
  DocumentRoot /srv/www/somesite.info/web/
  ErrorLog /srv/www/somesite.info/logs/error.log
  CustomLog /srv/www/somesite.info/logs/access.log combined
  RewriteEngine on
  RewriteCond %{SERVER_NAME} =www.somesite.info
  RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
  <FilesMatch \.php$>
    SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"
  </FilesMatch>
</VirtualHost>

# Handle all other domains/subdomains
<VirtualHost *:80>
  ServerName somesite.info
  Redirect 301 / http://www.somesite.info/
  RewriteEngine on
  RewriteCond %{SERVER_NAME} =somesite.info
  RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

各php-fpmには7.4と8.1を使用しています。設定エラーの原因を突き止めるための手がかりを探しています。必要なモジュールはそれぞれ有効にしています。このドキュメント

関連情報