Comments (4)
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.
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.
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.
Ah thx .. I'll have a look!
from docker.
Related Issues (20)
- logging HOT 2
- Cron job with k3s acting funny HOT 2
- Error: GNU Multiple Precision PHP module required but not installed. HOT 3
- E_WARNING: session_write_close() with Redis HOT 2
- How to check cron jobs? HOT 1
- db.env variables are incorrect HOT 2
- ImagickException: Unable to set the image format HOT 6
- Link in README.md is broken HOT 1
- Wrong sitename and description on Friendica Directory https://dir.friendica.social/ HOT 1
- Healthcheck HOT 3
- Can't turn off STARTTLS for msmtp
- Lots of CORS errors when using the insecure image HOT 4
- Help on running Friendica on Kubernetes HOT 2
- Issues with HTTPS HOT 9
- FRIENDICA_UPGRADE cannot be false on rc image HOT 2
- Reduce PHP error_reporting scope in container HOT 8
- Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 444 HOT 1
- PHP Module IntlChar is missing HOT 8
- Improve documentation on attaching MySQL database HOT 1
- 2024.03-rc image is missing HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.