PHP 8.2 on Fedora 36

dnf install https://rpms.remirepo.net/fedora/remi-release-36.rpm

yum install php82-php-fpm

yum install php82-php

yum install php82-php-mysqlnd

cd /etc/opt/remi/php82/

Check:

ls -l /var/opt/remi/php82/run/php-fpm/www.sock

Edit:

vi /etc/opt/remi/php82/php-fpm.d/www.conf

change:

user = nginx
group = nginx

listen.owner = nginx
listen.group = nginx
listen.mode = 0660

run

service php82-php-fpm start

service php82-php-fpm stop service php82-php-fpm start service php82-php-fpm restart

php-fpm.d/www.conf

 permissions issue?

chown nginx /var/opt/remi/php82/run/php-fpm/www.sock

see also /lib/systemd/system/php82-php-fpm.service