Answer the question
In order to leave comments, you need to log in
How to allow SOCK_RAW generation for php-fpm?
Kind!
I can not in any way allow the creation of SOCK_RAW for nginx + php-fpm in an LXC container.
There is a simple monitoring software ( www.phpservermonitor.org/) that can also monitor the availability of servers by icmp ping. To do this, at the time of the poll, SOCK_RAW is created in php.
But when creating a socket, php-fpm throws an error:
FastCGI sent in stderr: "PHP message: PHP Warning: socket_create():
Unable to create socket [1]: Operation not permitted
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