|OS type and version||Debian Linux 10|
Socket fails to be created:
— in error log:
2022/05/16 23:59:07 [crit] 9457#9457: *1 connect() to unix:/var/php-nginx/165273053211384.sock/socket failed (2: No such file or directory) while connecting to upstream, client: 18.104.22.168, server: base.nginxweb.top, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/php-nginx/165273053211384.sock/socket:”, host: “base.nginxweb.top”
if I instead switch to the fpm settings, it creates the same port number as the last site, which conflicts, so I have to manually edit it in both the nginx config AND the /etc/php/7.4/fpm/pool.d/numbered file] listen = localhost:8001
This happens on recent sites. Older sites I have on same server work fine.
I should add: i have multiple versions of php, but i set 7.4 as the default. i checked that the configs have the correct version.