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

LDAP not working on php-worker and laravel-horizon #2956

Closed
aadityamundhalia opened this issue Apr 22, 2021 · 1 comment
Closed

LDAP not working on php-worker and laravel-horizon #2956

aadityamundhalia opened this issue Apr 22, 2021 · 1 comment

Comments

@aadityamundhalia
Copy link

When ladp package is installed on laravel like directorytree/ldaprecord-laravel, it throws error on supervisor run.

Replicate:
run php -i on the container and there is no LDAP installed in it.

Workaround:
Go to file laradock/laravel-horizon/Dockerfile
add:
###########################################################################

LDAP

###########################################################################

RUN apk --update --no-cache add php7-ldap libldap php-ldap openldap-clients openldap openldap-back-mdb
RUN apk add ldb-dev libldap openldap-dev
RUN docker-php-ext-install ldap

Then rebuild the container and it will sort it till devs resolve this issue.

@aadityamundhalia
Copy link
Author

Thanks, Just pulled the repo works like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants