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

297
Views
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 answers
Answer question

0

In Dockerfile you must enable extension - add this line:

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

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 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!