Enable LDAP in PHP?

Even a description of how to install php-ldap into the docker container would be helpful. I did the basics…ssh-ed in, apt-get install php-ldap, but that didn’t do the trick. If there was a brief description of either how to modify the docker-compose (I’m assuming) template for a site, or how to add modules to an existing site, that would be great!