Browse Source

streamlined structure and added links

Toastie 1 year ago
parent
commit
8a98720997
1 changed files with 13 additions and 9 deletions
  1. 13 9
      EXTRAS/README.md

+ 13 - 9
EXTRAS/README.md

@@ -1,22 +1,26 @@
 # EXTRAS
 # EXTRAS
 ## LDAP
 ## LDAP
-To enable the ldap php extension, put [Dockerfile](Dockerfile) in ./build/ and run 
-`docker compose build` with following extra line in `docker-compose.yml`:
+##### Enable
+To enable the [LDAP php extension](https://www.php.net/manual/en/intro.ldap.php)
+run `docker compose build` with [Dockerfile](Dockerfile) in ./build/ add following extra line in docker-compose.yml:
+
 ```
 ```
 services:
 services:
   wordpress:
   wordpress:
     build: ./build/
     build: ./build/
 ```
 ```
 
 
-`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'
-#### Additional php settings
-EXTRAS folder contains a sample config.ini. To make use of it put it in the ./data/conf folder and add following line in `docker-compose.yml`:
-```
-
+##### Verify
 To list installed php externsions, run: 
 To list installed php externsions, run: 
+```
 docker exec -it <container_name> sh -c 'php -r "print_r(get_loaded_extensions());"'
 docker exec -it <container_name> sh -c 'php -r "print_r(get_loaded_extensions());"'
+```
 
 
+##### Debug
+`ldapsearch` from the Debian package [ldap-utils](https://packages.debian.org/search?keywords=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'
+```
 
 
 
 
 
 
@@ -29,4 +33,4 @@ services:
     volumes:
     volumes:
       - ./conf/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro
       - ./conf/custom.ini:/usr/local/etc/php/conf.d/custom.ini:ro
 
 
-```
+```