Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

300
Views
¿Cómo habilitar la extensión de sockets en php-fpm?

Quiero habilitar los "sockets" en PHP-fpm, ¿cómo puedo hacer eso?

Como en XAMPP: archivo php.ini

 `extension=sockets`

Tengo docker donde tengo instalado el servidor Nginx y PHP-fpm. Ahora quiero habilitar la extensión de sockets que tengo en el servidor XAMPP como se muestra arriba en las comillas.

Quiere lograr:

Quiero lograr una comunicación de socket típica como Cliente y Servidor sobre los sockets.

¿Cómo puedo hacer eso?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

En Dockerfile debe habilitar la extensión; agregue esta línea:

 RUN docker-php-ext-install sockets
over 4 years ago · Santiago Trujillo Report

0

También puede usar install-php-extensions para instalar y habilitar la extensión de PHP de sockets (así como un montón de otras extensiones de PHP):

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

Más detalles en https://github.com/mlocati/docker-php-extension-installer

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!