Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

304
Visualizações
How to enable sockets extension in php-fpm?

I want to enable the "sockets" in PHP-fpm how can I do that?

As in XAMPP: file php.ini

 `extension=sockets`

I have docker where I have installed the Nginx server and PHP-fpm. Now I want to enable the sockets extension as I have in the XAMPP server as above in the quotes.

Want to achieve:

I want to achieve a typical socket communication like Client and Server over the sockets.

How can I do that?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

In Dockerfile you must enable extension - add this line:

RUN docker-php-ext-install sockets
over 4 years ago · Santiago Trujillo Relatório

0

You can also use install-php-extensions in order to install and enable the sockets PHP extension (as well as a ton of other PHP extensions):

COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN install-php-extensions sockets

More details on https://github.com/mlocati/docker-php-extension-installer

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda