T
T
Twelfth Doctor2016-12-06 12:32:17
PHP
Twelfth Doctor, 2016-12-06 12:32:17

Why is the PHP-FPM socket missing?

Hello! For some reason, installing PHP7.0-FPM causes a 503 Service Unavailable error on all sites.
In the Apache error logs I see:

[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

As my ISP told me, the errors indicate no socket from PHP7. How to fix this error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2016-12-06
@MaxDukov

edit config /etc/php/7.0/fpm/pool.d/www.conf
listen = /run/php/php7.0-fpm.sock

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question