on-internet
← Community

docker install and enable php extension

Stack Overflow ·

I trying to use Docker for my Symfony3 project I got it running but I get this error: The LDAP PHP extension is not enabled. It does sound right as I am using Ldap extension for my project. I have tried installing the Ldap extension using Dockerfile for my php image which seems to install it but still gives me this error. Q1) How do I install required php extensions to my php image. Q2) Once extension installed how do i enable it. docker-compose.yml: web: image: nginx:latest ports: - "80:80" volumes: - ./site.conf:/etc/nginx/conf.d/site.conf project files volumes_from: - php links: - php php:

Comments

Sign in or sign up to comment and upvote.

No comments yet.