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

Question about PHP extensions in Debian packages #733

Closed
mstenta opened this issue Oct 21, 2016 · 1 comment
Closed

Question about PHP extensions in Debian packages #733

mstenta opened this issue Oct 21, 2016 · 1 comment

Comments

@mstenta
Copy link

mstenta commented Oct 21, 2016

I have a Dockerfile that inherits from these images. I would like to install the GEOS extension (), which is available in Debian via the php5-geos package.

I have installed that package via apt-get, but it seems that PHP cannot find the library. Upon reading the documentation for these images, it sounds like I might have to build from source?

Specifically: https://github.com/docker-library/docs/tree/master/php#other-extensions

Is it possible to use the official Debian php5-geos package? Or do I need to build the library from source?

If I search for the geos.so library file, I find it is installed in /usr/lib/php5/20131226/geos.so, but it appears that PHP in this image is looking for it in /usr/local/lib/php/extensions/no-debug-non-zts-20131226.

Any advice or info would be appreciated!

@daghack
Copy link
Contributor

daghack commented Apr 3, 2017

This is pretty well documented in the existing documentation, you've got to build the library from source, though there are helpful tools in the image to facilitate this. :)

@daghack daghack closed this as completed Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants