Toastie 8a98720997 streamlined structure and added links | vor 2 Jahren | |
---|---|---|
.. | ||
Dockerfile | vor 2 Jahren | |
README.md | vor 2 Jahren | |
custom.ini | vor 2 Jahren |
To enable the LDAP php extension
run docker compose build
with Dockerfile in ./build/ add following extra line in docker-compose.yml:
services:
wordpress:
build: ./build/
To list installed php externsions, run:
docker exec -it <container_name> sh -c 'php -r "print_r(get_loaded_extensions());"'
ldapsearch
from the Debian package ldap-utils can be used to run queries for testing, e.g.:
ldapsearch -x -H 'ldap://ldap.example.com' -b 'cn=users,dc=example,dc=com' 'cn=johndoe'
To add you custom php configuration, put config.ini in ./conf/ and
add following extra line in docker-compose.yml
:
services:
wordpress:
volumes:
- ./conf/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro