Answer the question
In order to leave comments, you need to log in
Why doesn't PHP7.0-FPM work?
Hello! For some reason, php7.0-fpm is not running on the Debian 8 Jessie server. A 503 Service Unavailable error occurs.
In the logs I see this:
[Tue Dec 06 11:04:38.773138 2016] [proxy:error] [pid 1586] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.0-fpm.sock (*) failed
[Tue Dec 06 11:04:38.773250 2016] [proxy_fcgi:error] [pid 1586] [client 127.0.0.1:49379] AH01079: failed to make connection to backend: httpd-UDS
listen = 127.0.0.1:70
<FilesMatch ".+\.ph(p[3457]?|t|tml)$">
SetHandler "proxy:unix:/run/php/php7.0-fpm.sock|fcgi://localhost"
</FilesMatch>
Answer the question
In order to leave comments, you need to log in
FCGI: attempt to connect to Unix domain socket /run/php/php7.0-fpm.sock
<FilesMatch ".+\.ph(p[3457]?|t|tml)$">
SetHandler "proxy:fcgi://127.0.0.1:70"
</FilesMatch>
Хотя в /etc/php/7.0/fpm/pool.d/www.conf прописываю, чтобы прослушивался не сокет, а порт:А в конфиге nginx для виртуального хоста прописали его же?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question