-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
Trying to enable LDAP by uncommenting the sample line in config.yaml results in a failing build #1947
Comments
I'm unable to recreate that problem. I was wondering if you were using php 7.2 and installing php7.3-ldap, but that also worked fine for me. You can experiment with this and maybe see more info with:
|
I can confirm this issue by trying to install php-ldap, also php-imap with standard configuration. EDIT: I tried to remove php-imap module from a project and leave php7.2-ldap, since we are using php 7.2 and the error message seems to disappear. |
I was able to recreate this by going back to v1.11.0, and the problem is that the upgrade of php7.3-ldap actually upgrades way too much stuff, including php-fpm, and there's a config change to www.conf, so you get
Because DEBIAN_FRONTEND is noninteractive, it's a plain failure. I'm not entirely sure there's a good workaround for this. But as @Z0zol3 points out, you can probably do php7.2-ldap just fine if you're using php7.2. It does look like changing to Thanks for pointing raising this bug. It would happen in the future at various times when a ddev release and its associated images got a little bit old compared to the upstream packages, or major config changes in the upstream Debian packages, as happened here. I'll do a PR to try to make this work more generally. |
Thanks so much for the issue, #1951 should fix it, at least in this situation. And of course for your short-term situation,
|
BTW, the reason I was initially unable to recreate was that I was using a newer ddev, which used a more recent image, which didn't have the upstream php7.3 churn. |
No worries, thanks for all the extra detail and ideas! Wouldn't be a bad thing for me to be testing against 7.3 locally regardless. : D |
Describe the bug
I was trying to add the PHP LDAP extension to an environment to test the LDAP module for Drupal 8. I found through this queue that there was an example in config.yaml showing how to get that extension, but simply uncommenting that line produces the following error on build:
To Reproduce
Steps to reproduce the behavior:
Version and configuration information (please complete the following information):
The text was updated successfully, but these errors were encountered: