#1108623 nginx-common: default site available might refer to php-fpm7.4 but bookworm installs 8.2

#1108623#5
Date:
2025-07-01 17:26:19 UTC
From:
To:
Dear Maintainer,

after installing nginx and php-fpm, if user uncomments default site available he refers to
php-fpm7.4 which is not installed as bookworm provides 8.2.

It would be nice to update the reference to the actual version available or to the generic
symlink provided by the package. Guess this applies also to future releases.

Thank you
Tomaso Tosolini

#1108623#10
Date:
2025-07-01 17:43:01 UTC
From:
To:
Le mar. 1 juil. 2025 à 19:29, Tomaso Tosolini <tomaso.tosolini@gmail.com> a
écrit :

Indeed,
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
should be
fastcgi_pass unix:/run/php/php-fpm.sock;

because of
srw-rw----  1 www-data www-data    0  1 juil. 19:41 php8.4-fpm.sock
lrwxrwxrwx  1 root     root       30  1 juil. 19:41 php-fpm.sock ->
/etc/alternatives/php-fpm.sock

Thanks