Toastie 8a98720997 streamlined structure and added links 2 months ago
..
Dockerfile 32c1c9d315 added ldap php extension 2 months ago
README.md 8a98720997 streamlined structure and added links 2 months ago
custom.ini 9dd92ed8ec added custom php config 2 months 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