Answer the question
In order to leave comments, you need to log in
PHP scripts are not executed. How to fix 502 nginx bad gateway error?
Why is php-fpm.sock not being created in /var/run/php-fpm/ ?
Log var/log/nginx/error.log
[ 2017-02-24 21:06:52.6165 13657/7f7eb1fba7c0 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 13657
2017/02/24 21:07: 04 [crit] 13684#13684: *1 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: xx.xx .xx.xx, server: xn----7sb4afhojdd8iq.xn--p1ai, request: "POST /handler_promotion.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/ php-fpm.sock:", host: "xn----7sb4afhojdd8iqa.xn--p1ai", referrer: " xn----7sb4afhojdd8iqa.xn--p1ai "
2017/02/24 21:07:23 [crit] 13684#13684: *8 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: xx.xx.xx.xx, server: xn----7sb4afhojdd8iq.xn--p1ai, request: "POST /handler_promotion.php HTTP/1.1", upstream: "fastcgi://unix: /var/run/php-fpm/php-fpm.sock:", host: "xn----7sb4afhojdd8iqa.xn--p1ai", referrer: " xn----7sb4afhojdd8iqa.xn--p1ai "
[email protected] ubuntu-1404-trusty-64-minimal:/$
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