Question
How to solve this error "connect() to unix:/var/run/php5-fpm.sock failed"
i get this error continuously “connect() to unix:/var/run/php5-fpm.sock failed ”.
i tried many possibility but this is not solved.
Please help in urgently to solve this.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hi guys..
I was getting same error on my server and the server was shutting down many many times along the day..
I solved this upgrading the PHP version. PHP 5x to PHP 7.0.
Server configuring:
Ubuntu 14.04
Nginx
PHP 5x -> to PHP 7.0
I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04
Wish this help you too!