S
S
savchenko912018-04-11 10:14:30
PHP
savchenko91, 2018-04-11 10:14:30

Why does php compile without fpm files even though I set the flags?

I've been like June for half a year, so I'm dumb.
Installed Linux Solus.
There is a site, it plows on two peha and nginx.
In the nginx config, I need to write the path to php5.6-fpm.sock and to php7.1-fpm.sock, and I also need fpm.service to be in systemctl.
When compiling, I set the flags \--with-fpm-systemd\ --enable-sockets, I don’t know exactly what they do, but I see the familiar words socket and systemd, after compiling I don’t see files with the PID SOCK SERVICE extension, but I would really like to.
The reason is obviously that I don’t know how nginx works in conjunction with fpm, maybe I don’t need these files and can I somehow write the path to php-cgi in the nginx configs? Or did I blurt out garbage now? Or can I create files myself that php does not generate? But .SOCK files are sort of binary aren't they?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanovskiy, 2018-04-11
@savchenko91

Did you run php-fpm yourself?
These files contain a pointer to the connection socket to the corresponding php-fpm listener

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question