Toastie 8a98720997 streamlined structure and added links 1 year ago
..
Dockerfile 32c1c9d315 added ldap php extension 1 year ago
README.md 8a98720997 streamlined structure and added links 1 year ago
custom.ini 9dd92ed8ec added custom php config 1 year ago

README.md

EXTRAS

LDAP

Enable

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/
Verify

To list installed php externsions, run:

docker exec -it <container_name> sh -c 'php -r "print_r(get_loaded_extensions());"'
Debug

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'

Custom php configuration

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