
Sobald ich php8.1-fpm.conf aktiviere, wechseln alle meine Websites von php7.4-fpm zu php8.1-fpm. Alle meine vhost-Dateien haben FPM-Handler zu den <VirtualHost *:80>
Blöcken hinzugefügt wie
<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>
für jedes php-fpm verwende ich 7.4 und 8.1. Ich suche nach Hinweisen, um herauszufinden, wo mein Konfigurationsfehler liegen könnte. Ich habe die erforderlichen Module aktiviert.diese Dokumentation.