Answer the question
In order to leave comments, you need to log in
Why can't Nginx see php5-fpm.sock?
Hello!
I installed Nginx+PHP-FPM on a clean system, initially wrote in default.conf nginx'a: fastcgi_pass 127.0.0.1:9000
and PHP worked fine, but my goal was to make nginx work through fastcgi_pass unix:/var/run/php5-fpm.sock
, specifying this parameter, nginx'a error.log displays following:
2016/07/18 18:40:28 [crit] 10505#10505: *54 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question