From cd1b0ff8766d59173f9a801d9f155fbee1cd0f34 Mon Sep 17 00:00:00 2001 From: wglambert Date: Thu, 23 Jul 2020 13:36:01 -0700 Subject: [PATCH 1/2] Update content.md --- wordpress/content.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wordpress/content.md b/wordpress/content.md index b8f05a8ee..6e429a866 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -80,3 +80,9 @@ Mount the volume containing your themes or plugins to the proper directory; and See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/). When running WP-CLI via the `cli` variants of this image, it is important to note that they're based on Alpine, and have a default `USER` of Alpine's `www-data`, whose UID is `82` (compared to the Debian-based WordPress variants whose default effective UID is `33`), so when running `%%IMAGE%%:cli` against an existing Debian-based WordPress install, something like `--user 33:33` is likely going to be necessary (possibly also something like `-e HOME=/tmp` depending on the `wp` command invoked and whether it tries to use `~/.wp-cli`). See [docker-library/wordpress#256](https://github.com/docker-library/wordpress/issues/256) for more discussion around this. + +## Configuring PHP directives + +See [the "Configuration" section of the `php` image documentation](https://hub.docker.com/_/php/). + +Additionally you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory. From 10fb044b059c5522f0bf9af43994c6c12cc4aec5 Mon Sep 17 00:00:00 2001 From: wglambert Date: Fri, 24 Jul 2020 13:28:12 -0700 Subject: [PATCH 2/2] Update wordpress/content.md Co-authored-by: Tianon Gravi --- wordpress/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress/content.md b/wordpress/content.md index 6e429a866..fc519ab84 100644 --- a/wordpress/content.md +++ b/wordpress/content.md @@ -85,4 +85,4 @@ When running WP-CLI via the `cli` variants of this image, it is important to not See [the "Configuration" section of the `php` image documentation](https://hub.docker.com/_/php/). -Additionally you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory. +For example, to adjust common `php.ini` flags like `upload_max_filesize`, you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory.