Giter Site home page Giter Site logo

Comments (4)

nupplaphil avatar nupplaphil commented on June 11, 2024 2

You don't have to add the dependency by your own. I think it's tiny enough to add it to the base image.

So I added them -> see #84

from docker.

victort avatar victort commented on June 11, 2024

actually, it looks like it might be libldap2-dev that's missing, because

root@4a678cd31a50:/var/www/html# docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/

fails during configure on

configure: error: Cannot find ldap.h

but succeeds when libldap2-dev is present. I'm still trying to work out if it's both the php7.3-ldap and libldap2-dev packages are required, or just the latter. stay tuned.

from docker.

victort avatar victort commented on June 11, 2024

so, I get ldap to appear among the PHP extensions in phpinfo() now, with the following in my Dockerfile (which is really just wrapping friendica/server with my (among other things) /var/www/html/config/addon.config.php so i can LDAP),

## First fix available sources
RUN rm -rf /etc/apt/preferences.d/*

## compensate for missing php stuff
RUN apt-get update ; apt-get install --no-install-recommends -y libldap2-dev
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/; docker-php-ext-install ldap

...I'm not sure if i still have to empty out /etc/apt/preferences.d for libldap2-dev to be visible to the package manager, I guess I'll test that next.

from docker.

nupplaphil avatar nupplaphil commented on June 11, 2024

Ah thx .. I'll have a look!

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.