S
S
Slash2018-05-15 09:14:34
Nginx
Slash, 2018-05-15 09:14:34

How to solve "connect() to unix:/var/run/php-fpm.www-data.sock" without php-fpm?

Hello.
An entry appears in the error log:

connect() to unix:/var/run/php-fpm.www-data.sock failed (2: No such file or directory) while connecting to upstream, client

How do I login to phpMyAdmin. There is a full log of such errors...
On the Internet, you can find a solution - replacing the path in the folder: "etc/nginx/vhosts-includes/phpmyadmin-nginx.conf" with the correct one and it will work without errors. But the thing is, I have an Nginx + Apache server and don't use "php-fpm".
How can I fix this error in my case?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2018-05-15
@ky0

Obviously, you have added PHP file processing in the wrong place (at the wrong web server). This is a common symptom when mindlessly copying configs from somewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question