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

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

How to log into phpMyAdmin. These errors, the full log...
On the Internet you can find solution to change the path in the folder: "etc/nginx/vhosts-includes/phpmyadmin-nginx.conf" for correct working without errors. But the fact that I have a server with Nginx + Apache and not use the "php-fpm".

How can I fix this error in my case?
Thank you.
June 5th 19 at 21:54
1 answer
June 5th 19 at 21:56
Obviously, you are in the wrong place (not the web server) added handling of PHP files. This is a common symptom of mindless copying configs from elsewhere.
Yeah, nothing copied, Just put Nginx in ISP manager and updated the phpMyAdmin.

// Obviously, you are in the wrong place (not the web server) added handling of PHP files.
Where is it written? - elinor.Lyn commented on June 5th 19 at 21:59
where you want the web server knocked on PHP. Since you have the control panel, it turns out, the situation becomes even more confusing.

In General, take the config of the Apache, the config of nginx and clean all the excess, leaving PHP in any one place. - Greyson.Erdm commented on June 5th 19 at 22:02

Find more questions by tags Nginx