Hi there,
I am having a heck of a time trying to get php-fpm to work to load wordpress sites. I'm using Centos 7 with pro CWP.
The wordpress sites work with Apache but when I change default webserver template to "php fpm" the sites give a 502 error.
The error log shows this
2022/11/29 23:21:31 [crit] 6613#6613: *435 connect() to unix:/opt/alt/php-fpm81/usr/var/sockets/bobbers.sock failed (2: No such file or directory) while connecting to upstream, client: 2604:3d09:138a:2a00:d1ba:98b4:3a:5a7b, server: website.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/alt/php-fpm81/usr/var/sockets/bobbers.sock:", host: "website.com", referrer: "https://server.mainsite.com:2083/"
When I goto the folder to check "/opt/alt/php-fpm81/usr/var/sockets/" the only socket is cwpsvc.sock
The folders are 755 and file 640 with root / root permissions.
I have tried, changing versions, rebuilding server, creating new user (to see if sockets would be made), and disabling mod security and csf temporality.
I would like to get nginx to work, any help is appreciated.