|
@@ -1,6 +1,6 @@
|
|
# EXTRAS
|
|
# EXTRAS
|
|
## LDAP
|
|
## LDAP
|
|
-To enable the ldap php extension, put [Dockerfile](Dockerfile) in ./build and run
|
|
|
|
|
|
+To enable the ldap php extension, put [Dockerfile](Dockerfile) in ./build/ and run
|
|
`docker compose build` with following extra line in `docker-compose.yml`:
|
|
`docker compose build` with following extra line in `docker-compose.yml`:
|
|
```
|
|
```
|
|
services:
|
|
services:
|
|
@@ -16,3 +16,17 @@ EXTRAS folder contains a sample config.ini. To make use of it put it in the ./da
|
|
|
|
|
|
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());"'
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+## Custom php configuration
|
|
|
|
+To add you custom php configuration, put [config.ini](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
|
|
|
|
+
|
|
|
|
+```
|