Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP7 enable sockets #181

Closed
ghost opened this issue Jan 20, 2016 · 8 comments
Closed

PHP7 enable sockets #181

ghost opened this issue Jan 20, 2016 · 8 comments

Comments

@ghost
Copy link

ghost commented Jan 20, 2016

Hi ,

I would like to enable sockets on PHP to use mongofill with Yii2

https://github.com/mongofill/mongofill

But there's no documentation and no easy way to do it :(

Can you help me plz ?

Thx

@tianon
Copy link
Member

tianon commented Jan 20, 2016

Something simple like this should do the trick:

FROM php:7
RUN docker-php-ext-install sockets

Combine that with automated builds (https://docs.docker.com/docker-hub/builds/) and repository links (https://docs.docker.com/docker-hub/builds/#repository-links) and it's reasonably easy to have an up-to-date image built FROM this one with the sockets extension installed.

@ghost
Copy link
Author

ghost commented Jan 20, 2016

It works like a charm !

Thx

@ve3

This comment has been minimized.

@nataaliam

This comment has been minimized.

@matriphe

This comment has been minimized.

@matriphe

This comment has been minimized.

@carestad

This comment has been minimized.

@yosifkit
Copy link
Member

For those have compilation issues with sockets see #1245 and php/php-src#7978

@docker-library docker-library locked as resolved and limited conversation to collaborators Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants