From eb5b77374a301d54cc8481c8562e5d4b224ddc7b Mon Sep 17 00:00:00 2001 From: bertalanV Date: Wed, 21 Oct 2020 10:33:19 +0200 Subject: [PATCH 1/2] change php installation section --- DOCUMENTATION/content/documentation/index.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index cecfa396..b5ec0f50 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -206,11 +206,14 @@ More [options](https://docs.docker.com/compose/reference/logs/) ## Install PHP Extensions -Before installing PHP extensions, you have to decide first whether you need `FPM` or `CLI`, because each of them has it's own different container, if you need it for both, you have to edit both containers. +You can set extensions to install in the .env file's corresponding section (`PHP_FPM`, `WORKSPACE`, `PHP_WORKER`), +just change the `false` to `true` at the desired extension's line. +After this you have to rebuild the container with the `--no-cache` option. + +```bash +docker build --no-cache {container-name} +``` -The PHP-FPM extensions should be installed in `php-fpm/Dockerfile-XX`. *(replace XX with your default PHP version number)*. -
-The PHP-CLI extensions should be installed in `workspace/Dockerfile`. @@ -220,6 +223,7 @@ The PHP-CLI extensions should be installed in `workspace/Dockerfile`.
## Change the (PHP-FPM) Version + By default the latest stable PHP version is configured to run. >The PHP-FPM is responsible for serving your application code, you don't have to change the PHP-CLI version if you are planning to run your application on different PHP-FPM version. From f5e5566424eac5ae625860e028aaff33656501a0 Mon Sep 17 00:00:00 2001 From: bertalanV Date: Wed, 21 Oct 2020 10:36:55 +0200 Subject: [PATCH 2/2] add empty line --- DOCUMENTATION/content/documentation/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index b5ec0f50..dfdd3577 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -196,6 +196,7 @@ More [options](https://docs.docker.com/compose/reference/logs/)
+ @@ -221,6 +222,7 @@ docker build --no-cache {container-name}
+ ## Change the (PHP-FPM) Version